//// \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
/// \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; }
//! Incorrect states: the feature is sketch, the solver error value
//! The feature value is reset, this is the flag of sketch mgr
//! \return string value
- QString getFeatureError(const FeaturePtr& theFeature, const bool isCheckGUI = true);
+ 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();
void connectToPropertyPanel(ModuleBase_ModelWidget* theWidget, const bool isToConnect);
/// Visualize the operation feature if the previous state is modified value in property panel
- /// \thePrevState the previous widget value state
+ /// \param thePreviousState the previous widget value state
void widgetStateChanged(int thePreviousState);
public slots: