47 Q_PROPERTY(
QObject *actualTitleBar READ actualTitleBarView NOTIFY actualTitleBarChanged)
48 Q_PROPERTY(
bool isFocused READ isFocused NOTIFY isFocusedChanged)
49 Q_PROPERTY(
bool isFloating READ isFloating WRITE setFloating NOTIFY isFloatingChanged)
50 Q_PROPERTY(
QString uniqueName READ uniqueName CONSTANT)
51 Q_PROPERTY(
QString title READ title WRITE setTitle NOTIFY titleChanged)
52 Q_PROPERTY(
QObject *guestItem READ guestItem NOTIFY guestItemChanged)
53 Q_PROPERTY(
KDDockWidgets::DockWidgetOptions options READ options WRITE setOptions NOTIFY
56 using Core::DockWidgetViewInterface::raise;
57 using Core::DockWidgetViewInterface::show;
73 QQmlEngine *engine =
nullptr);
76 ~DockWidget()
override;
81 void setGuestItem(
const QString &qmlFilename, QQmlContext *context =
nullptr);
84 Q_INVOKABLE
void setGuestItem(QQuickItem *);
87 QQuickItem *guestItem()
const;
90 QSize minSize()
const override;
93 QSize maxSizeHint()
const override;
98 QObject *actualTitleBarView()
const;
102 QQuickItem *groupVisualItem()
const;
105 Q_INVOKABLE
void onGeometryUpdated();
110 std::shared_ptr<Core::View> focusCandidate()
const override;
114 Q_INVOKABLE
void setAsCurrentTab();
115 Q_INVOKABLE
void forceClose();
116 Q_INVOKABLE
bool isOpen()
const;
117 Q_INVOKABLE
void open();
118 Q_INVOKABLE
void show();
119 Q_INVOKABLE
void raise();
120 Q_INVOKABLE
void moveToSideBar();
134 bool event(
QEvent *e)
override;