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
The selection problem with an object deactivate:
[modules/shaper.git]
/
src
/
ModuleBase
/
ModuleBase_IModule.h
diff --git
a/src/ModuleBase/ModuleBase_IModule.h
b/src/ModuleBase/ModuleBase_IModule.h
index 1d68372056ca961735560524bc0ada42b8c2c029..65a5c5a5a8b66b5b4541c54693604c673f24e928 100644
(file)
--- a/
src/ModuleBase/ModuleBase_IModule.h
+++ b/
src/ModuleBase/ModuleBase_IModule.h
@@
-120,6
+120,10
@@
class MODULEBASE_EXPORT ModuleBase_IModule : public QObject
/// \returns true if the action is processed
\r
virtual bool deleteObjects() { return false; };
\r
\r
/// \returns true if the action is processed
\r
virtual bool deleteObjects() { return false; };
\r
\r
+ /// Returns a list of modes, where the AIS objects should be activated
\r
+ /// \param theModes a list of modes
\r
+ virtual void activeSelectionModes(QIntList& theModes) {};
\r
+
\r
public slots:
\r
/// Called on call of command corresponded to a feature
\r
void onFeatureTriggered();
\r
public slots:
\r
/// Called on call of command corresponded to a feature
\r
void onFeatureTriggered();
\r
@@
-141,7
+145,7
@@
protected slots:
protected:
\r
/// Sends the operation for launching
\r
/// \param theOperation the operation
\r
protected:
\r
/// Sends the operation for launching
\r
/// \param theOperation the operation
\r
- void sendOperation(ModuleBase_Operation* theOperation);
\r
+ v
irtual v
oid sendOperation(ModuleBase_Operation* theOperation);
\r
\r
/// Creates a new operation
\r
/// \param theCmdId the operation name
\r
\r
/// Creates a new operation
\r
/// \param theCmdId the operation name
\r