X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_WidgetBoolValue.h;h=9d0246c1156fa3b3043c85001e6706ca6b9d8ad2;hb=6538b6539abf93cf24183c7cfe8a5800a464178f;hp=17c5a68498b1bdec2e02b237216c4acb040a980c;hpb=9d39123efbd6bde772377542ce40fb51f7925c1f;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_WidgetBoolValue.h b/src/ModuleBase/ModuleBase_WidgetBoolValue.h index 17c5a6849..9d0246c11 100644 --- a/src/ModuleBase/ModuleBase_WidgetBoolValue.h +++ b/src/ModuleBase/ModuleBase_WidgetBoolValue.h @@ -12,22 +12,23 @@ class Config_WidgetAPI; class QWidget; class QCheckBox; -class MODULEBASE_EXPORT ModuleBase_WidgetBoolValue: public ModuleBase_ModelWidget +class MODULEBASE_EXPORT ModuleBase_WidgetBoolValue : public ModuleBase_ModelWidget { - Q_OBJECT -public: +Q_OBJECT + public: /// Constructor /// \theParent the parent object /// \theData the widget configuation. The attribute of the model widget is obtained from - ModuleBase_WidgetBoolValue(QWidget* theParent, const Config_WidgetAPI* theData, const std::string& theParentId); + ModuleBase_WidgetBoolValue(QWidget* theParent, const Config_WidgetAPI* theData, + const std::string& theParentId); virtual ~ModuleBase_WidgetBoolValue(); /// Saves the internal parameters to the given feature /// \param theObject a model feature to be changed - virtual bool storeValue(ObjectPtr theObject) const; + virtual bool storeValue() const; - virtual bool restoreValue(ObjectPtr theObject); + virtual bool restoreValue(); /// Returns list of widget controls /// \return a control list @@ -37,8 +38,8 @@ public: /// \returns the widget QWidget* getControl() const; -private: + private: QCheckBox* myCheckBox; }; -#endif \ No newline at end of file +#endif