X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FXGUI%2FXGUI_MainWindow.h;h=010f9e309530b3cb12289015b259a85908bfdcee;hb=88b2abea2c66eabdb32af017fb15cc90643e7664;hp=9b29ec3ea17d48f77809ee283684e1e94e2b1b76;hpb=58ff265b6b8337f8abc841ed78923a19c0565c66;p=modules%2Fshaper.git diff --git a/src/XGUI/XGUI_MainWindow.h b/src/XGUI/XGUI_MainWindow.h index 9b29ec3ea..010f9e309 100644 --- a/src/XGUI/XGUI_MainWindow.h +++ b/src/XGUI/XGUI_MainWindow.h @@ -11,6 +11,7 @@ class XGUI_ViewWindow; class QMdiArea; class QMdiSubWindow; class PyConsole_EnhConsole; +class QCloseEvent; /**\class XGUI_MainWindow * \ingroup GUI @@ -53,6 +54,12 @@ private slots: void activateView(); void onViewActivated(QMdiSubWindow* theSubWnd); +signals: + void exitKeySequence(); + +protected: + void closeEvent(QCloseEvent* event); + private: XGUI_MainMenu* myMenuBar; XGUI_Viewer* myViewer;