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
Issue #905 Update of invalid feature representation in property panel
[modules/shaper.git]
/
src
/
XGUI
/
XGUI_Tools.h
diff --git
a/src/XGUI/XGUI_Tools.h
b/src/XGUI/XGUI_Tools.h
index 4869f30377a394826de75d9436a6837e7592972f..b158a62c1250e2d5af992e8d96e6eb5b24ecb52e 100644
(file)
--- a/
src/XGUI/XGUI_Tools.h
+++ b/
src/XGUI/XGUI_Tools.h
@@
-78,6
+78,11
@@
std::string XGUI_EXPORT featureInfo(FeaturePtr theFeature);
*/
bool XGUI_EXPORT canRemoveOrRename(QWidget* theParent, const QObjectPtrList& aList);
*/
bool XGUI_EXPORT canRemoveOrRename(QWidget* theParent, const QObjectPtrList& aList);
+/*!
+ Returns true if theObject can be renamed in theName
+ */
+bool canRename(QWidget* theParent, const ObjectPtr& theObject, const QString& theName);
+
/*!
Returns true if there are no parts in the document, which are not activated
\return a boolean value
/*!
Returns true if there are no parts in the document, which are not activated
\return a boolean value
@@
-114,7
+119,8
@@
bool XGUI_EXPORT isSubOfComposite(const ObjectPtr& theObject, const FeaturePtr&
*/
void XGUI_EXPORT refsToFeatureInAllDocuments(const ObjectPtr& theSourceObject,
const ObjectPtr& theObject,
*/
void XGUI_EXPORT refsToFeatureInAllDocuments(const ObjectPtr& theSourceObject,
const ObjectPtr& theObject,
- std::set<FeaturePtr>& theRefFeatures);
+ std::set<FeaturePtr>& theDirectRefFeatures,
+ std::set<FeaturePtr>& theIndirectRefFeatures);
};
#endif
};
#endif