mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-09 21:53:40 +00:00
Interface mockup 9
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
#include <QDockWidget>
|
||||
|
||||
class QWidget;
|
||||
class QVBoxLayout;
|
||||
|
||||
namespace ifcinterface::components {
|
||||
|
||||
@@ -32,10 +33,15 @@ class Panel : public QDockWidget {
|
||||
|
||||
public:
|
||||
explicit Panel(const QString& title,
|
||||
QWidget* content,
|
||||
QWidget* content = nullptr,
|
||||
QWidget* parent = nullptr,
|
||||
bool has_settings = false,
|
||||
bool scrollable = false);
|
||||
|
||||
void addBodyWidget(QWidget* widget);
|
||||
|
||||
private:
|
||||
QVBoxLayout* body_layout_ = nullptr;
|
||||
};
|
||||
|
||||
} // namespace ifcinterface::components
|
||||
|
||||
Reference in New Issue
Block a user