//! Returns the feature error if the current state of the feature in the module is not correct
//! If the feature is correct, it returns an empty value
//! \return string value
- virtual QString getFeatureError(const FeaturePtr& theFeature, const bool isCheckGUI = true);
+ virtual QString getFeatureError(const FeaturePtr& theFeature);
/// Returns list of granted operation indices
virtual void grantedOperationIds(ModuleBase_Operation* theOperation, QStringList& theIds) const;
/// \param thePreviousAttributeID an index of the previous active attribute
virtual bool processEnter(const std::string& thePreviousAttributeID);
+ /// Performs some GUI actions after an operation transaction is opened
+ /// Default realization is empty
+ virtual void beforeOperationStarted(ModuleBase_Operation* theOperation);
+
+ /// Performs some GUI actions before an operation transaction is stopped
+ /// Default realization is empty
+ virtual void beforeOperationStopped(ModuleBase_Operation* theOperation);
+
public slots:
/// Redefines the parent method in order to customize the next case:
/// If the sketch nested operation is active and the presentation is not visualized in the viewer,
/// A slot called on view window creation
void onViewCreated(ModuleBase_IViewWindow*);
+ /// A slot to change property panel title on change of boolean operation type
+ /// \param theOperation the operation type
+ void onBooleanOperationChange(int theOperation);
+
protected:
/// Register validators for this module
virtual void registerValidators();