X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSHAPERGUI%2FSHAPERGUI_ToolbarsMgr.h;h=b09bf680a53e3db258bedf1aaf18da00ae38e5c5;hb=0ee639ebd71134c52665e297293ec04266e42b5b;hp=19d40013c2401ca2f44a25705e7f2bb806ccfa05;hpb=67f3d1f9daf5dbbec9b01664435e8e76ea753ddb;p=modules%2Fshaper.git diff --git a/src/SHAPERGUI/SHAPERGUI_ToolbarsMgr.h b/src/SHAPERGUI/SHAPERGUI_ToolbarsMgr.h index 19d40013c..b09bf680a 100644 --- a/src/SHAPERGUI/SHAPERGUI_ToolbarsMgr.h +++ b/src/SHAPERGUI/SHAPERGUI_ToolbarsMgr.h @@ -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 @@ -12,10 +12,9 @@ // // 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 +// 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 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; };