Salome HOME
Face selection for sketch entity - the OB selected result should be checked on face...
[modules/shaper.git] / src / PartSet / PartSet_WidgetPoint2dDistance.h
index 5ebfb4d1cac02cc51750fcef5edc3105cafbeede..7d6a497c6058f55a89af09552decfa518f6ce373 100644 (file)
@@ -66,16 +66,17 @@ Q_OBJECT
   /// Set sketch instance
   void setSketch(CompositeFeaturePtr theSketch) { mySketch = theSketch; }
 
- protected slots:
-   /// Process of mouse release
+public slots:
+   /// Process of mouse move
    /// \param theWnd a pointer to a window
    /// \param theEvent a mouse event
-  void onMouseRelease(ModuleBase_IViewWindow* theWnd, QMouseEvent* theEvent);
+  void onMouseMove(ModuleBase_IViewWindow* theWnd, QMouseEvent* theEvent);
 
-   /// Process of mouse move
+  protected slots:
+   /// Process of mouse release
    /// \param theWnd a pointer to a window
    /// \param theEvent a mouse event
-  void onMouseMove(ModuleBase_IViewWindow* theWnd, QMouseEvent* theEvent);
+  void onMouseRelease(ModuleBase_IViewWindow* theWnd, QMouseEvent* theEvent);
 
 protected:
   /// The methiod called when widget is activated