X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FXGUI%2FXGUI_MainMenu.h;h=48d97459135f78be9f26e3f2b6a6d7450e10f833;hb=a3b2736968186ac435b1e05e530c40becbc82301;hp=b683fc99edbafab754a041947c2bcf25472a15b2;hpb=309c6241144204b2a2c1cf23cb68f037833fb983;p=modules%2Fshaper.git diff --git a/src/XGUI/XGUI_MainMenu.h b/src/XGUI/XGUI_MainMenu.h index b683fc99e..48d974591 100644 --- a/src/XGUI/XGUI_MainMenu.h +++ b/src/XGUI/XGUI_MainMenu.h @@ -1,8 +1,10 @@ #ifndef XGUI_MainMenu_H #define XGUI_MainMenu_H +#include "XGUI.h" #include #include +#include class XGUI_Command; class XGUI_MainWindow; @@ -15,11 +17,12 @@ class QAction; class QDockWidget; class QEvent; + /**\class XGUI_MainMenu * \ingroup GUI * \brief Class for creation of main menu (set of workbenches) */ -class XGUI_MainMenu: public QObject +class XGUI_EXPORT XGUI_MainMenu: public QObject { Q_OBJECT public: @@ -44,13 +47,14 @@ public: //! Returns list of created commands QList features() const; -protected: virtual bool eventFilter(QObject *theWatched, QEvent *theEvent); private: XGUI_MainWindow* myDesktop; QList myMenuTabs; XGUI_Workbench* myGeneralPage; + + QMap myCommandState; }; #endif