{
Q_OBJECT
- //! Size of menu item
- //TODO(sbh, vsv): Move to the settings
- enum ItemSize {
- Small = 20,
- Medium = 25,
- Large = 30
- };
-
public:
XGUI_MainMenu(XGUI_MainWindow *parent);
virtual ~XGUI_MainMenu();
//! Defines height of the main menu. (Number of rows * row height)
int menuHeight() const;
+ void updateFromResources();
+
private:
XGUI_MainWindow* myDesktop;
QTabWidget* myMenuTabs;
XGUI_MenuGroupPanel* myGeneralPage;
+ QList<XGUI_Workbench*> myWorkbenches;
QMap<XGUI_Command*, bool> myCommandState;
};