//! Size of menu item
//TODO(sbh, vsv): Move to the settings
- enum ItemSize {
- Small = 20,
- Medium = 25,
- Large = 30
- };
+ //enum ItemSize {
+ // Small = 20,
+ // Medium = 25,
+ // Large = 30
+ //};
public:
XGUI_MainMenu(XGUI_MainWindow *parent);
//! Defines height of the main menu. (Number of rows * row height)
int menuHeight() const;
+ void updateFromResources();
+
private:
XGUI_MainWindow* myDesktop;
QTabWidget* myMenuTabs;