#4221 MDI window : Move MDI handling to RiuMainWindowBase

This commit is contained in:
Magne Sjaastad committed 2019-03-29 08:26:34 +01:00
1 parent 75b0905e26
commit c4b0bf5890
5 files changed
+130 -84

No files matched your search

@@ -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;
};