+ /// Check if the given operation is active operation.
+ /// Also, returns false is ther is no active operation.
+ bool isCurrentOperation(ModuleBase_Operation* theOperation);
+ /// Returns true is operation manager has at least one non-null operation.
+ bool hasOperation() const;
+ /// Returns number of operations in the stack
+ int operationsCount() const;
+ /// Returns list of all operations IDs
+ QStringList operationList() const;
+
+ /// Returns previous (parent) operation if given operation started.
+ /// else, or if there is no parent - returns NULL
+ ModuleBase_Operation* previousOperation(ModuleBase_Operation* theOperation) const;
+
+ virtual bool eventFilter(QObject *theObject, QEvent *theEvent);
+
+ /// Start the operation and append it to the stack of operations
+ /// \param theOperation the started operation
+ /// \return the state whether the current operation is started