Added DockWidgetBase::mainWindow()
This commit is contained in:
@@ -320,7 +320,6 @@ public:
|
||||
*/
|
||||
bool isMainWindow() const;
|
||||
|
||||
|
||||
/**
|
||||
* @brief Returns whether this dock widget is docked into a main window.
|
||||
*
|
||||
@@ -330,6 +329,9 @@ public:
|
||||
*/
|
||||
bool isInMainWindow() const;
|
||||
|
||||
/// @brief Returns the main window this dock widget is in. nullptr if it's not inside a main window
|
||||
MainWindowBase *mainWindow() const;
|
||||
|
||||
///@brief Returns whether This or any child of this dock widget is focused
|
||||
///Not to be confused with QWidget::hasFocus(), which just refers to 1 widget. This includes
|
||||
///variant includes children.
|
||||
|
||||
Reference in New Issue
Block a user