14#include "kddockwidgets/docks_export.h"
15#include "kddockwidgets/KDDockWidgets.h"
23class DockWidgetViewInterface;
43 MainWindowOptions options()
const;
45 bool closeDockWidgets(
bool force =
false);
47 void clearSideBarOverlay(
bool deleteFrame =
true);
49 bool anySideBarIsVisible()
const;
63 void moveToSideBar(
const QString &dockId);
65 void restoreFromSideBar(
const QString &dockId);
66 void overlayOnSideBar(
const QString &dockId);
67 void toggleOverlayOnSideBar(
const QString &dockId);
68 void layoutParentContainerEqually(
const QString &dockId);
69 void addDockWidgetAsTab(
const QString &dockId);
The interface that MainWindow views should implement.
MainWindowViewInterface & operator=(const MainWindowViewInterface &)=delete
virtual Rect centralAreaGeometry() const =0
MainWindowViewInterface(const MainWindowViewInterface &)=delete
virtual Margins centerWidgetMargins() const =0
virtual void setContentsMargins(int left, int top, int right, int bottom)=0
virtual ~MainWindowViewInterface()
MainWindow *const m_mainWindow
The MainWindow base-class. MainWindow and MainWindowBase are only split in two so we can share some c...