Salome HOME
updated copyright message
[modules/shaper.git] / src / ModuleBase / ModuleBase_ChoiceCtrl.h
index 09530b9294ebfed2519d0d0b9dd3b1df26ceb62a..93048a9d0838dbd553506542907f0cbb96c8c26b 100644 (file)
@@ -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
 //
 // 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 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);