#include "XGUI.h"
#include <QObject>
#include <QList>
+#include <QMap>
class XGUI_Command;
class XGUI_MainWindow;
class QDockWidget;
class QEvent;
+
/**\class XGUI_MainMenu
* \ingroup GUI
* \brief Class for creation of main menu (set of workbenches)
//! Returns list of created commands
QList<XGUI_Command*> features() const;
-protected:
virtual bool eventFilter(QObject *theWatched, QEvent *theEvent);
private:
XGUI_MainWindow* myDesktop;
QList<QDockWidget*> myMenuTabs;
XGUI_Workbench* myGeneralPage;
+
+ QMap<XGUI_Command*, bool> myCommandState;
};
#endif