class XGUI_MainMenu;
class XGUI_Viewer;
-class XGUI_ObjectsBrowser;
+class XGUI_ActionsMgr;
+class XGUI_ViewWindow;
class QMdiArea;
+class QMdiSubWindow;
class PyConsole_EnhConsole;
/**\class XGUI_MainWindow
return myMenuBar;
}
- //! Returns Object browser
- XGUI_ObjectsBrowser* objectBrowser() const
- {
- return myObjectBrowser;
- }
-
//! Returns MDI area
QMdiArea* mdiArea() const;
return myViewer;
}
- // Creates Dock widgets: Object broewser and Property panel
- void createDockWidgets();
- void setPropertyPannelTitle(const QString& theTitle);
-
public slots:
void showPythonConsole();
void hidePythonConsole();
- void showPropertyPanel();
- void hidePropertyPanel();
- void showObjectBrowser();
- void hideObjectBrowser();
-private:
- QDockWidget* createObjectBrowser();
- QDockWidget* createPropertyPanel();
+ void createSubWindow();
+
+private slots:
+ void cascadeWindows();
+ void onViewCreated(XGUI_ViewWindow* theWindow);
+ void onDeleteView(XGUI_ViewWindow* theWindow);
+ void activateView();
+ void onViewActivated(QMdiSubWindow* theSubWnd);
+private:
XGUI_MainMenu* myMenuBar;
- XGUI_ObjectsBrowser* myObjectBrowser;
- QDockWidget* myPropertyPanelDock;
-
XGUI_Viewer* myViewer;
PyConsole_EnhConsole* myPythonConsole;