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
Fix the Linux compilation problem
[modules/shaper.git]
/
src
/
PartSet
/
PartSet_SketcherMgr.h
diff --git
a/src/PartSet/PartSet_SketcherMgr.h
b/src/PartSet/PartSet_SketcherMgr.h
index 577f9601d8a6006557fc23d42003e67a9f324566..284d2b31602c5626332d14b5420a6ebfd1265fe5 100644
(file)
--- a/
src/PartSet/PartSet_SketcherMgr.h
+++ b/
src/PartSet/PartSet_SketcherMgr.h
@@
-94,6
+94,11
@@
public:
//// \return boolean value
static bool isNestedCreateOperation(ModuleBase_Operation* theOperation);
//// \return boolean value
static bool isNestedCreateOperation(ModuleBase_Operation* theOperation);
+ /// Returns true if the operation is an edit nested feature one
+ /// \param theOperation a checked operation
+ //// \return boolean value
+ static bool isNestedEditOperation(ModuleBase_Operation* theOperation);
+
/// Returns whether the current operation is a sketch entity - line, point, arc or circle
/// \param theId is an id of object
/// \return a boolean value
/// Returns whether the current operation is a sketch entity - line, point, arc or circle
/// \param theId is an id of object
/// \return a boolean value
@@
-155,6
+160,10
@@
public:
/// \return boolean result
bool canDisplayCurrentCreatedFeature() const;
/// \return boolean result
bool canDisplayCurrentCreatedFeature() const;
+ /// Returns true if the current operation is nested creation or internal reentrant edit
+ /// \param theOperation an operation
+ bool canChangeCursor(ModuleBase_Operation* theOperation) const;
+
/// Returns state of constraints showing flag
bool isConstraintsShown() const { return myIsConstraintsShown; }
/// Returns state of constraints showing flag
bool isConstraintsShown() const { return myIsConstraintsShown; }
@@
-182,6
+191,9
@@
public:
//! \return string value
QString getFeatureError(const FeaturePtr& theFeature);
//! \return string value
QString getFeatureError(const FeaturePtr& theFeature);
+ /// It nullify internal flags concerned to clicked mouse event
+ void clearClickedFlags();
+
/// Returns list of strings which contains id's of sketch operations
static const QStringList& sketchOperationIdList();
/// Returns list of strings which contains id's of sketch operations
static const QStringList& sketchOperationIdList();
@@
-198,7
+210,7
@@
public:
void connectToPropertyPanel(ModuleBase_ModelWidget* theWidget, const bool isToConnect);
/// Visualize the operation feature if the previous state is modified value in property panel
void connectToPropertyPanel(ModuleBase_ModelWidget* theWidget, const bool isToConnect);
/// Visualize the operation feature if the previous state is modified value in property panel
- /// \
thePrev
State the previous widget value state
+ /// \
param thePrevious
State the previous widget value state
void widgetStateChanged(int thePreviousState);
public slots:
void widgetStateChanged(int thePreviousState);
public slots: