X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPartSet%2FPartSet_Module.h;h=f074786d33f30c8d1a9be9eaf39cf43253e53767;hb=3205d0f18200948632155bbe7b640bc1e482243d;hp=1a726e21268a9fa4ccd3c95aa670ad92ca8308a5;hpb=3243f96972000edf9a00bd654212dc1d7d4342b3;p=modules%2Fshaper.git diff --git a/src/PartSet/PartSet_Module.h b/src/PartSet/PartSet_Module.h index 1a726e212..f074786d3 100755 --- a/src/PartSet/PartSet_Module.h +++ b/src/PartSet/PartSet_Module.h @@ -206,19 +206,27 @@ public: //! 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; /// Validates the current operation and send the state change to sketch manager - /// \thePrevState the previous widget value state + /// \param thePreviousState the previous widget value state virtual void widgetStateChanged(int thePreviousState); /// Returns true if the event is processed. It gives the reentrance manager to process the enter. /// \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, @@ -255,6 +263,10 @@ protected slots: /// 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();