Salome HOME
Issue #532 - 4.13. Partition with splitting-arguments making solids with shared faces
[modules/shaper.git] / src / ModuleBase / ModuleBase_WidgetBoolValue.h
index 5325b4d995b257d960f811eaffe91dd87d7f4b18..b100c4ffe4cd43b6886a42aeb93c75f12fb36372 100644 (file)
@@ -15,6 +15,7 @@ class QWidget;
 class QCheckBox;
 
 /**
+* \ingroup GUI
 * Implementation of widget for boolean input (check box)
 */ 
 class MODULEBASE_EXPORT ModuleBase_WidgetBoolValue : public ModuleBase_ModelWidget
@@ -30,13 +31,16 @@ Q_OBJECT
 
   virtual ~ModuleBase_WidgetBoolValue();
 
-  virtual bool storeValue() const;
+  virtual QList<QWidget*> getControls() const;
 
-  virtual bool restoreValue();
+  virtual void setHighlighted(bool isHighlighted);
 
-  virtual QList<QWidget*> getControls() const;
+protected:
+  /// Saves the internal parameters to the given feature
+  /// \return True in success
+  virtual bool storeValueCustom() const;
 
-  QWidget* getControl() const;
+  virtual bool restoreValueCustom();
 
  private:
    /// The check box