Salome HOME
refs #30 - Sketch base GUI: create, draw lines
[modules/shaper.git] / src / XGUI / XGUI_MainWindow.h
index 17357858d7a89abc248b8113be9392368966aaf0..9b29ec3ea17d48f77809ee283684e1e94e2b1b76 100644 (file)
@@ -7,7 +7,9 @@
 class XGUI_MainMenu;
 class XGUI_Viewer;
 class XGUI_ActionsMgr;
+class XGUI_ViewWindow;
 class QMdiArea;
+class QMdiSubWindow;
 class PyConsole_EnhConsole;
 
 /**\class XGUI_MainWindow
@@ -42,6 +44,15 @@ public slots:
   void showPythonConsole();
   void hidePythonConsole();
 
+  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_Viewer* myViewer;