Added DockWidget::isPersistentCentralDockWidget()

This commit is contained in:
Sergio Martins
2021-09-02 10:24:43 +01:00
parent f962989484
commit 77b5d1630d
4 changed files with 11 additions and 0 deletions

View File

@@ -450,6 +450,10 @@ public:
/// only implemented for QtQuick
void setMDIZ(int z);
///@brief Returns whether this dock widget is the main window persistent central widget
///This only applies when using MainWindowOption_HasCentralWidget
bool isPersistentCentralDockWidget() const;
Q_SIGNALS:
#ifdef KDDOCKWIDGETS_QTWIDGETS
///@brief signal emitted when the parent changed