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)
66 Q_INVOKABLE
bool closeDockWidgets(
bool force =
false);
68 Q_INVOKABLE
void clearSideBarOverlay(
bool deleteFrame =
true);
69 Q_INVOKABLE
void layoutEqually();
70 Q_INVOKABLE
bool anySideBarIsVisible()
const;
72 Q_INVOKABLE
void moveToSideBar(
const QString &dockId);
74 Q_INVOKABLE
void restoreFromSideBar(
const QString &dockId);
75 Q_INVOKABLE
void overlayOnSideBar(
const QString &dockId);
76 Q_INVOKABLE
void toggleOverlayOnSideBar(
const QString &dockId);
77 Q_INVOKABLE
void layoutParentContainerEqually(
const QString &dockId);
78 Q_INVOKABLE
void addDockWidgetAsTab(
const QString &dockId);
80 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. .
void setPersistentCentralView(const QString &qmlFilename)