Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Edit operation correction.
[modules/shaper.git]
/
src
/
ModuleBase
/
ModuleBase_WidgetFeatureOrAttribute.h
diff --git
a/src/ModuleBase/ModuleBase_WidgetFeatureOrAttribute.h
b/src/ModuleBase/ModuleBase_WidgetFeatureOrAttribute.h
index 9774bd20554d99f967b80b57e6c472664f08945d..1dfd055ceb48f2b8699942cc7e59ec4f927cd5c9 100644
(file)
--- a/
src/ModuleBase/ModuleBase_WidgetFeatureOrAttribute.h
+++ b/
src/ModuleBase/ModuleBase_WidgetFeatureOrAttribute.h
@@
-44,6
+44,11
@@
Q_OBJECT
virtual bool isViewerSelector() { return true; }
protected:
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<ModelAPI_Attribute> findAttribute(ModuleBase_WidgetValue* theValue);
+
/// Set the attribute
/// \param theAttribute value
/// \return the boolean result of the attribute set
/// Set the attribute
/// \param theAttribute value
/// \return the boolean result of the attribute set