#4221 MDI window : Move MDI handling to RiuMainWindowBase

This commit is contained in:
Magne Sjaastad
2019-03-28 18:30:55 +01:00
parent 75b0905e26
commit c4b0bf5890
5 changed files with 130 additions and 84 deletions

View File

@@ -29,6 +29,9 @@ namespace caf
class PdmUiItem;
}
class QMdiArea;
//==================================================================================================
///
//==================================================================================================
@@ -55,9 +58,12 @@ public:
void setExpanded(const caf::PdmUiItem* uiItem, bool expanded = true);
void selectAsCurrentItem(const caf::PdmObject* object, bool allowActiveViewChange = true);
void enableShowFirstVisibleMdiWindowMaximized(bool enable);
protected slots:
void slotDockWidgetToggleViewActionTriggered();
void addViewerToMdiArea(QMdiArea* mdiArea, QWidget* viewer, const QPoint& subWindowPos, const QSize& subWindowSize);
protected:
caf::PdmUiTreeView* m_projectTreeView;
@@ -67,4 +73,7 @@ protected:
private:
QString registryFolderName();
private:
bool m_showFirstVisibleWindowMaximized;
};