+ XGUI_MainMenu(XGUI_MainWindow *parent);
+ virtual ~XGUI_MainMenu();
+
+ //! Creates and adds a new workbench (menu group) with the given name and returns it.
+ XGUI_Workbench* addWorkbench(const QString& theId, const QString& theText = "");
+
+ //! Returns workbench (menu group) by the given name.
+ XGUI_Workbench* findWorkbench(const QString& theId);
+
+ //! Returns General page (predefined workbench)
+ XGUI_Workbench* generalPage() const { return myGeneralPage; }