]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/SHAPERGUI/SHAPERGUI.h
Salome HOME
Issue #2734: Add "Reset" button to the dialog box
[modules/shaper.git] / src / SHAPERGUI / SHAPERGUI.h
index 9504446a24f7529f2fb36aae48d795e2369b548e..72c458d6ac72eec9d661cf373c992417f7445f0c 100644 (file)
@@ -165,6 +165,12 @@ Q_OBJECT
   /// Returns free commands which are not in toolbars in the module
   QIntList getFreeCommands() const;
 
+  /// Returns structure of default tool bars
+  QMap<QString, QIntList> defaultToolbars() const
+  { return (myDefaultToolbars.size() == 0)? myToolbars : myDefaultToolbars; }
+
+  void resetToolbars();
+
  public slots:
   /// \brief The method is redefined to connect to the study viewer before the data
   /// model is filled by opened file. This file open will flush redisplay signals for,
@@ -270,6 +276,7 @@ private slots:
   /// List of registered actions
   QIntList myActionsList;
   QMap<QString, QIntList> myToolbars;
+  QMap<QString, QIntList> myDefaultToolbars;
   bool myIsToolbarsModified;
 };