Salome HOME
Provide moving of lines
[modules/shaper.git] / src / XGUI / XGUI_MainWindow.h
index 17357858d7a89abc248b8113be9392368966aaf0..010f9e309530b3cb12289015b259a85908bfdcee 100644 (file)
@@ -7,8 +7,11 @@
 class XGUI_MainMenu;
 class XGUI_Viewer;
 class XGUI_ActionsMgr;
+class XGUI_ViewWindow;
 class QMdiArea;
+class QMdiSubWindow;
 class PyConsole_EnhConsole;
+class QCloseEvent;
 
 /**\class XGUI_MainWindow
  * \ingroup GUI
@@ -42,6 +45,21 @@ 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);
+
+signals:
+  void exitKeySequence();
+
+protected:
+  void closeEvent(QCloseEvent* event);
+
 private:
   XGUI_MainMenu* myMenuBar;
   XGUI_Viewer* myViewer;