40 Q_PROPERTY(
QObject *tabBar READ tabBarObj CONSTANT)
42 Q_PROPERTY(
int userType READ userType CONSTANT)
44 actualTitleBarChanged)
45 Q_PROPERTY(
int currentIndex READ currentIndex NOTIFY currentDockWidgetChanged)
46 Q_PROPERTY(
bool isMDI READ isMDI NOTIFY isMDIChanged)
49 explicit
Group(Core::
Group *controller, QQuickItem *parent =
nullptr);
53 QSize minSize() const override;
56 QSize maxSizeHint() const override;
59 QQuickItem *visualItem() const override;
61 int currentIndex() const;
70 Q_INVOKABLE
void setMDISize(
QSize);
74 void removeDockWidget(Core::
DockWidget *dw) override;
75 void insertDockWidget(Core::
DockWidget *dw,
int index) override;
77 Q_INVOKABLE
void setStackLayout(QQuickItem *);
81 Q_INVOKABLE
void startMDIResize();
83 int nonContentsHeight() const override;
87 void currentDockWidgetChanged();
88 void actualTitleBarChanged();
91 void updateConstraints();
94 void init() override final;
95 Stack *stackView() const;
96 TabBar *tabBarView() const;
101 QQuickItem *m_stackLayout =
nullptr;
102 QQuickItem *m_visualItem =
nullptr;