X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_WidgetBoolValue.h;h=b100c4ffe4cd43b6886a42aeb93c75f12fb36372;hb=42dfdea5422ab72d81c36155b4c6f352c85c1110;hp=5325b4d995b257d960f811eaffe91dd87d7f4b18;hpb=72cb66f9c09b0f8fa224f6f8ab43548658015b49;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_WidgetBoolValue.h b/src/ModuleBase/ModuleBase_WidgetBoolValue.h index 5325b4d99..b100c4ffe 100644 --- a/src/ModuleBase/ModuleBase_WidgetBoolValue.h +++ b/src/ModuleBase/ModuleBase_WidgetBoolValue.h @@ -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 getControls() const; - virtual bool restoreValue(); + virtual void setHighlighted(bool isHighlighted); - virtual QList 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