1 #ifndef DockAreaWidgetH 2 #define DockAreaWidgetH 38 QT_FORWARD_DECLARE_CLASS(QXmlStreamWriter)
39 QT_FORWARD_DECLARE_CLASS(QAbstractButton)
43 struct DockAreaWidgetPrivate;
45 class CDockContainerWidget;
46 class DockContainerWidgetPrivate;
47 class CDockAreaTitleBar;
68 void onDockWidgetFeaturesChanged();
71 void onTabCloseRequested(
int Index);
77 void reorderDockWidget(
int fromIndex,
int toIndex);
122 void hideAreaWithNoVisibleContent();
127 void updateTitleBarVisibility();
139 void markTitleBarMenuOutdated();
142 void toggleView(
bool Open);
152 HideSingleWidgetTitleBar = 0x0001,
153 DefaultFlags = 0x0000
183 virtual QSize minimumSizeHint() const
override;
188 QRect titleBarGeometry() const;
193 QRect contentAreaGeometry() const;
198 int dockWidgetsCount() const;
209 int openDockWidgetsCount() const;
225 int currentIndex() const;
236 int indexOfFirstOpenDockWidget() const;
252 void saveState(QXmlStreamWriter& Stream) const;
274 virtual
void setVisible(
bool Visible) override;
279 void setAllowedAreas(DockWidgetAreas areas);
284 DockWidgetAreas allowedAreas() const;
296 DockAreaFlags dockAreaFlags() const;
302 void setDockAreaFlags(DockAreaFlags Flags);
313 bool isCentralWidgetArea() const;
321 void setCurrentIndex(
int index);
331 void closeOtherAreas();
337 void tabBarClicked(
int index);
344 void currentChanging(
int index);
351 void currentChanged(
int index);
357 void viewToggled(
bool Open);
362 #endif // DockAreaWidgetH