-// 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
/// 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;
/// 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();
/// 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);
QLabel* myFreeNbLbl;
QListWidget* myToolbarsList;
+
+ bool myIsReset;
};