Add experimental MDI support

This commit is contained in:
Sergio Martins
2021-02-09 19:25:28 +00:00
parent b995986318
commit 8dca2e346c
12 changed files with 105 additions and 11 deletions

View File

@@ -179,6 +179,10 @@ public:
/// @brief Returns whether any side bar is visible
bool anySideBarIsVisible() const;
/// @brief Returns whether this main window is using an MDI layout.
/// In other words, returns true if MainWindowOption_MDI was passed in the ctor.
bool isMDI() const;
protected:
void setUniqueName(const QString &uniqueName);
void onResized(QResizeEvent *); // Because QtQuick doesn't have resizeEvent()