X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_ChoiceCtrl.h;h=93048a9d0838dbd553506542907f0cbb96c8c26b;hb=fc72d43b677baa05ae7fd317346fd8b723b799ed;hp=09530b9294ebfed2519d0d0b9dd3b1df26ceb62a;hpb=dc7d4d86b58b81684abc9b5a2be8ec30f210c2da;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_ChoiceCtrl.h b/src/ModuleBase/ModuleBase_ChoiceCtrl.h index 09530b929..93048a9d0 100644 --- a/src/ModuleBase/ModuleBase_ChoiceCtrl.h +++ b/src/ModuleBase/ModuleBase_ChoiceCtrl.h @@ -1,4 +1,4 @@ -// Copyright (C) 2014-2017 CEA/DEN, EDF R&D +// Copyright (C) 2014-2023 CEA/DEN, EDF R&D // // 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 ModuleBase_ChoiceCtrl_H @@ -75,6 +74,10 @@ public: /// \param theVal a value (from 0 to number of items) void setValue(int theVal); + /// Set value: text of button or item of combo box. + /// \param theVal a value (one of text items) + void setValue(const QString& theVal); + /// Set tool tip for label. Used only for combo box. void setTooltip(QString theTip);