19 #ifndef KD_DOCKWIDGET_QUICK_H
20 #define KD_DOCKWIDGET_QUICK_H
42 Q_PROPERTY(
QObject *actualTitleBar READ actualTitleBarObj NOTIFY actualTitleBarChanged)
56 LayoutSaverOptions layoutSaverOptions = LayoutSaverOptions(),
57 QQmlEngine *engine =
nullptr);
64 void setWidget(
const QString &qmlFilename);
67 void setWidget(QWidgetAdapter *widget)
override;
70 Q_INVOKABLE
void setWidget(QQuickItem *widget);
73 QSize minimumSize()
const override;
76 QSize maximumSize()
const override;
79 TitleBar *actualTitleBar()
const;
84 QObject *actualTitleBarObj()
const;
88 QQuickItem *frameVisualItem()
const;
91 Q_INVOKABLE KDDockWidgets::Frame *frame()
const;
94 Q_INVOKABLE
void onGeometryUpdated();
102 bool event(
QEvent *e)
override;