X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_WidgetChoice.h;h=e8db6c289487d6942d47c8688fadc26c282b7e34;hb=8cd56d486b6e96b8814002f9f0f4acadd6cea11b;hp=8e25ee1f935cee0b94ea01007976b923b3105328;hpb=42985955d89fa845790a7e38609f5b6838285147;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_WidgetChoice.h b/src/ModuleBase/ModuleBase_WidgetChoice.h index 8e25ee1f9..e8db6c289 100644 --- a/src/ModuleBase/ModuleBase_WidgetChoice.h +++ b/src/ModuleBase/ModuleBase_WidgetChoice.h @@ -45,13 +45,20 @@ Q_OBJECT const std::string& theParentId); virtual ~ModuleBase_WidgetChoice(); - + + /// Defines if it is supported to set the value in this widget + /// It returns false because this is an info widget + virtual bool canSetValue() const { return false; }; + virtual bool focusTo(); /// Returns list of widget controls /// \return a controls list virtual QList getControls() const; +signals: + void itemSelected(int); + protected: /// Saves the internal parameters to the given feature /// \return True in success