59 Q_PROPERTY(
QString uniqueName READ uniqueName CONSTANT)
60 Q_PROPERTY(
KDDockWidgets::MainWindowOptions options READ options CONSTANT)
61 Q_PROPERTY(
bool isMDI READ isMDI CONSTANT)
62 Q_PROPERTY(
int overlayMargin READ overlayMargin WRITE setOverlayMargin NOTIFY overlayMarginChanged)
65 explicit
MainWindowBase(const
QString &uniqueName, MainWindowOptions options = MainWindowOption_HasCentralFrame,
66 WidgetType *parent =
nullptr,
Qt::WindowFlags flags =
Qt::WindowFlags());
117 MainWindowOptions options()
const;
121 DropAreaWithCentralFrame *dropArea()
const;
125 MultiSplitter *multiSplitter()
const;
129 LayoutWidget *layoutWidget()
const;
133 MDILayoutWidget *mdiLayoutWidget()
const;
164 Q_INVOKABLE
void layoutEqually();
192 Q_INVOKABLE
void clearSideBarOverlay(
bool deleteFrame =
true);
195 Q_INVOKABLE KDDockWidgets::SideBar *
206 bool anySideBarIsVisible()
const;
217 Q_INVOKABLE
bool closeDockWidgets(
bool force =
false);
224 QRect windowGeometry()
const;
227 int overlayMargin()
const;
231 void setOverlayMargin(
int margin);
234#ifdef KDDOCKWIDGETS_QTWIDGETS
241 void setUniqueName(
const QString &uniqueName);
264 friend class ::TestDocks;
266 bool deserialize(
const LayoutSaver::MainWindow &);
267 LayoutSaver::MainWindow serialize()
const;