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
70 QQmlEngine *engine =
nullptr);
73 ~DockWidget()
override;
78 void setGuestItem(
const QString &qmlFilename, QQmlContext *context =
nullptr);
81 Q_INVOKABLE
void setGuestItem(QQuickItem *);
84 QQuickItem *guestItem()
const;
87 QSize minSize()
const override;
90 QSize maxSizeHint()
const override;
95 QObject *actualTitleBarView()
const;
99 QQuickItem *groupVisualItem()
const;
102 Q_INVOKABLE
void onGeometryUpdated();
107 std::shared_ptr<Core::View> focusCandidate()
const override;
112 Core::DockWidgetViewInterface::open();
119 Core::DockWidgetViewInterface::raise();
124 Q_INVOKABLE
void setAsCurrentTab();
125 Q_INVOKABLE
void forceClose();
126 Q_INVOKABLE
bool isOpen()
const;
127 Q_INVOKABLE
void open();
128 Q_INVOKABLE
void show();
129 Q_INVOKABLE
void raise();
130 Q_INVOKABLE
void moveToSideBar();
144 bool event(
QEvent *e)
override;