X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_ChoiceCtrl.h;h=399ff11551a5acd280f7d08d66ef7c30b326929a;hb=b9c44e03a630b272cf1f7c8337ef7204c48ec5ff;hp=09530b9294ebfed2519d0d0b9dd3b1df26ceb62a;hpb=2ec09ca1c5f8ad3ee445b0257ff52e07ba403d0d;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_ChoiceCtrl.h b/src/ModuleBase/ModuleBase_ChoiceCtrl.h index 09530b929..399ff1155 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-2021 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);