]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/XGUI/XGUI_MainMenu.h
Salome HOME
Merge branch 'master' of newgeom:newgeom.git
[modules/shaper.git] / src / XGUI / XGUI_MainMenu.h
index 718bd50a7b59197df2e47a28e31f5bb86c5a4acd..29b87063f602f1289d15ce4e23851c7e1086be77 100644 (file)
@@ -28,11 +28,11 @@ class XGUI_EXPORT XGUI_MainMenu: public QWidget
 
   //! 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);
@@ -72,6 +72,8 @@ public:
   //! Defines height of the main menu. (Number of rows * row height)
   int menuHeight() const;
 
+  void updateFromResources();
+
 private:
   XGUI_MainWindow* myDesktop;
   QTabWidget* myMenuTabs;