X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_WidgetBoolValue.h;h=237460ec7fc38390a528b7fb942bdf717dae70ca;hb=5446f2f59af5cb087347b8b83ef830e2d69128dd;hp=4dd9b709a75e18a438e1368c9e7c0cd638e4ee91;hpb=b25922145a97fccf8d2613d0ef52a283d3ce0987;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_WidgetBoolValue.h b/src/ModuleBase/ModuleBase_WidgetBoolValue.h index 4dd9b709a..237460ec7 100644 --- a/src/ModuleBase/ModuleBase_WidgetBoolValue.h +++ b/src/ModuleBase/ModuleBase_WidgetBoolValue.h @@ -25,20 +25,22 @@ Q_OBJECT /// Constructor /// \param theParent the parent object /// \param theData the widget configuation. The attribute of the model widget is obtained from - /// \param theParentId is Id of a parent of the current attribute - ModuleBase_WidgetBoolValue(QWidget* theParent, const Config_WidgetAPI* theData, - const std::string& theParentId); + ModuleBase_WidgetBoolValue(QWidget* theParent, const Config_WidgetAPI* theData); virtual ~ModuleBase_WidgetBoolValue(); - virtual bool restoreValue(); + virtual bool canAcceptFocus() const { return false; }; virtual QList getControls() const; + virtual void setHighlighted(bool isHighlighted); + protected: /// Saves the internal parameters to the given feature /// \return True in success - virtual bool storeValue() const; + virtual bool storeValueCustom(); + + virtual bool restoreValueCustom(); private: /// The check box