12#ifndef KD_MAIN_WINDOW_QUICK_P_H
13#define KD_MAIN_WINDOW_QUICK_P_H
16#include "kddockwidgets/core/views/MainWindowViewInterface.h"
40 Q_PROPERTY(
QString uniqueName READ uniqueName CONSTANT)
41 Q_PROPERTY(
KDDockWidgets::MainWindowOptions options READ options CONSTANT)
42 Q_PROPERTY(
bool isMDI READ isMDI CONSTANT)
62 Q_INVOKABLE
bool closeDockWidgets(
bool force =
false);
64 Q_INVOKABLE
void clearSideBarOverlay(
bool deleteFrame =
true);
65 Q_INVOKABLE
void layoutEqually();
66 Q_INVOKABLE
bool anySideBarIsVisible()
const;
68 Q_INVOKABLE
void moveToSideBar(
const QString &dockId);
70 Q_INVOKABLE
void restoreFromSideBar(
const QString &dockId);
71 Q_INVOKABLE
void overlayOnSideBar(
const QString &dockId);
72 Q_INVOKABLE
void toggleOverlayOnSideBar(
const QString &dockId);
73 Q_INVOKABLE
void layoutParentContainerEqually(
const QString &dockId);
74 Q_INVOKABLE
void addDockWidgetAsTab(
const QString &dockId);
76 const QString &relativeToDockId = {},
The interface that MainWindow views should implement.
A docking area for dock widgets Named MainWindow as it's the QtWidgets/QMainWindow counterpart....
QSize maxSizeHint() const override
Reimplemented for internal purposes. .
QRect centralAreaGeometry() const override
QMargins centerWidgetMargins() const override
void setContentsMargins(int left, int top, int right, int bottom) override
QSize minSize() const override
Reimplemented for internal purposes. .