Salome HOME
#1150 Tab buttons problems
[modules/shaper.git] / src / ModuleBase / ModuleBase_WidgetChoice.h
index 8e25ee1f935cee0b94ea01007976b923b3105328..e8db6c289487d6942d47c8688fadc26c282b7e34 100644 (file)
@@ -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<QWidget*> getControls() const;
 
+signals:
+  void itemSelected(int);
+
 protected:
   /// Saves the internal parameters to the given feature
   /// \return True in success