X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_WidgetFeatureOrAttribute.h;h=1dfd055ceb48f2b8699942cc7e59ec4f927cd5c9;hb=d058dc531b24c5c548fabfc0dbede4506b4e3076;hp=9774bd20554d99f967b80b57e6c472664f08945d;hpb=34debd261300370b62fe9097dd90931c6344c9c1;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_WidgetFeatureOrAttribute.h b/src/ModuleBase/ModuleBase_WidgetFeatureOrAttribute.h index 9774bd205..1dfd055ce 100644 --- a/src/ModuleBase/ModuleBase_WidgetFeatureOrAttribute.h +++ b/src/ModuleBase/ModuleBase_WidgetFeatureOrAttribute.h @@ -44,6 +44,11 @@ Q_OBJECT virtual bool isViewerSelector() { return true; } protected: + /// Returns the feature attribute if it can be found by the given value + /// \param theValue the widget value + /// \return an attribute or null + boost::shared_ptr findAttribute(ModuleBase_WidgetValue* theValue); + /// Set the attribute /// \param theAttribute value /// \return the boolean result of the attribute set