mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-12 10:33:20 +00:00
Interface mockup 15
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
|
||||
class QVBoxLayout;
|
||||
class QWidget;
|
||||
class QTabWidget;
|
||||
|
||||
namespace ifcinterface::components {
|
||||
|
||||
@@ -43,6 +44,20 @@ private:
|
||||
QVBoxLayout* footer_layout_ = nullptr;
|
||||
};
|
||||
|
||||
class TabbedDialog : public QDialog {
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit TabbedDialog(QWidget* parent = nullptr);
|
||||
|
||||
void addTab(const QString& title, QWidget* widget);
|
||||
void addFooterWidget(QWidget* widget);
|
||||
|
||||
private:
|
||||
QTabWidget* tabs_ = nullptr;
|
||||
QVBoxLayout* footer_layout_ = nullptr;
|
||||
};
|
||||
|
||||
} // namespace ifcinterface::components
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user