Salome HOME
Log desktop actions
[modules/shaper.git] / src / SHAPERGUI / SHAPERGUI_ToolbarsMgr.h
index 19d40013c2401ca2f44a25705e7f2bb806ccfa05..b09bf680a53e3db258bedf1aaf18da00ae38e5c5 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2017  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2023  CEA, EDF
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 //
 // You should have received a copy of the GNU Lesser General Public
 // License along with this library; if not, write to the Free Software
-// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/ or
-// email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 
 #ifndef SHAPERGUI_ToolbarsMgr_H
@@ -79,6 +78,9 @@ private slots:
   /// A slot to move a current item down in list of toolbar command
   void onDown();
 
+  /// A slot on help call
+  void onHelp();
+
 private:
   QIntList getItems(QListWidget* theWidget, int theStart) const;
 
@@ -104,6 +106,11 @@ public:
   /// Returns result of editing
   QMap<QString, QIntList> result() const { return myResult; }
 
+  /// Returns a flag of resetted toolbars structure
+  bool isReset() const {
+    return myIsReset;
+  }
+
 private slots:
   /// A slot to add a new toolbar
   void onAdd();
@@ -114,6 +121,12 @@ private slots:
   /// A slot to delete a current toolbar
   void onDelete();
 
+  /// A slot to reset toolbars
+  void onReset();
+
+  /// A slot on help call
+  void onHelp();
+
   /// A slot called on double click on item in list
   void onDoubleClick(const QModelIndex& theIdx);
 
@@ -131,6 +144,8 @@ private:
 
   QLabel* myFreeNbLbl;
   QListWidget* myToolbarsList;
+
+  bool myIsReset;
 };