Salome HOME
refs #80 - Sketch base GUI: create/draw point, circle and arc
[modules/shaper.git] / src / XGUI / XGUI_OperationMgr.h
index 82680fb56035ab4f072be9ef0db42b82c37c15b8..f47d6aebdab54b2585b91ea89e233f0587f2f281 100644 (file)
@@ -62,6 +62,9 @@ signals:
   void operationStopped(ModuleBase_Operation* theOperation);
   /// Signal about an operation is resumed. It is emitted after the resume() of operation is done.
   void operationResumed();
+  /// Signal about the necessety of the next widget activating
+  /// \param theWidget the model widget
+  void activateNextWidget(ModuleBase_ModelWidget* theWidget);
 
 protected:
   /// Sets the current operation or NULL
@@ -93,6 +96,10 @@ protected slots:
   /// \param theEvent the mouse event
   void onKeyReleased(const std::string& theName, QKeyEvent* theEvent);
 
+  /// SLOT, that reacts to the widget activation
+  /// \param theWidget an activated widget
+  void onWidgetActivated(ModuleBase_ModelWidget* theWidget);
+
 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,