class ModuleBase_IWorkshop;
class ModuleBase_Operation;
class ModuleBase_ModelWidget;
+class ModuleBase_IViewWindow;
+
+class QMouseEvent;
class XGUI_Workshop;
class PartSet_Module;
/// It happens if the current operation is an internal edit operation and the first
/// control can be filled by the mouse move event. The operation is committed.
/// \return true if operation is committed.
- bool processMouseMoved();
+ bool processMouseMoved(ModuleBase_IViewWindow* theWnd, QMouseEvent* theEvent);
/// Return true if the manager processes the mouse press event
/// \return true if the current operation is an internal edit operation.
- bool processMousePressed();
+ bool processMousePressed(ModuleBase_IViewWindow* theWnd, QMouseEvent* theEvent);
/// Return true if the manager processes the mouse enter event
/// It happens if the current operation is an internal edit operation.
/// The operation is committed.
/// \return true if operation is committed.
- bool processMouseReleased();
+ bool processMouseReleased(ModuleBase_IViewWindow* theWnd, QMouseEvent* theEvent);
/// Activates the operation widgets relatively the internal reentrant flags
void propertyPanelDefined(ModuleBase_Operation* theOperation);
- /// It is called by no more widget signal emitted by property panel
- /// Set a specific flag to restart the sketcher operation
- void noMoreWidgets(const std::string& thePreviousAttributeID);
/// Processing of vertex selected, if the feature is line, save flags to stop reentrant operation
void vertexSelected();
/// Returns false if the reentrant mode of the operation is not empty.
bool canBeCommittedByPreselection();
-public slots:
- void onInternalActivateFirstWidgetSelection();
+private slots:
+ /// SLOT, that is called by a widget activating in the property panel
+ /// If the 'internal' edit operation is started, it activates the first control selection
+ void onWidgetActivated();
+
+ /// SLOT, that is called by no more widget signal emitted by property panel
+ /// Set a specific flag to restart the sketcher operation
+ void onNoMoreWidgets(const std::string& thePreviousAttributeID);
+
+ /// Processing of vertex selected
+ void onVertexSelected();
private:
/// Returns true if the current operation is a sketch or a nested sketch operation