- /// SLOT, that is called by the key in the property panel is clicked.
- /// \param theName the attribute name
- /// \param theEvent the mouse event
- void onKeyReleased(const std::string& theName, QKeyEvent* theEvent);
+ /// Slot called on operation start
+ void onOperationStarted();
+
+ /// Slot called on operation abort
+ void onOperationAborted();
+
+ /// Slot called on operation commit
+ void onOperationCommitted();
+
+ /// Slot called on operation resume
+ void onOperationResumed();
+
+ /// Slot called on operation triggered
+ void onOperationTriggered(bool theState);
+
+ private:
+ typedef QList<ModuleBase_Operation*> Operations; ///< definition for a list of operations
+ Operations myOperations; ///< a stack of started operations. The active operation is on top,
+ // others are suspended and started by the active is finished
+
+ /// Current workshop
+ ModuleBase_IWorkshop* myWorkshop;