X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FXGUI%2FXGUI_MainWindow.h;h=010f9e309530b3cb12289015b259a85908bfdcee;hb=d6325cea33b6269c055ab12849fc835df28b05ec;hp=553aa27358cf613de2479593b1897022770034e5;hpb=d4572a0253007ff9fc263253720e37bf896f8d0d;p=modules%2Fshaper.git diff --git a/src/XGUI/XGUI_MainWindow.h b/src/XGUI/XGUI_MainWindow.h index 553aa2735..010f9e309 100644 --- a/src/XGUI/XGUI_MainWindow.h +++ b/src/XGUI/XGUI_MainWindow.h @@ -6,8 +6,12 @@ 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 @@ -41,9 +45,23 @@ 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; PyConsole_EnhConsole* myPythonConsole;