Salome HOME
Profile object creation.
[modules/hydro.git] / src / HYDROCurveCreator / OCCViewer_ViewWidget.cxx
index ad86a6cf050d7cb382f7bb8db4d1022780b94f51..ac9fd07c51abe19ce6774c75fcab83aed881f1bc 100644 (file)
@@ -674,6 +674,7 @@ void OCCViewer_ViewWidget::vpMousePressEvent(QMouseEvent* theEvent)
         //myViewPort->startRotation(myStartX, myStartY);//, 0, mySelectedPoint);
         break;
       default:
+        emit mousePressed(theEvent);
         break;
     }
   }
@@ -699,6 +700,7 @@ void OCCViewer_ViewWidget::vpMouseReleaseEvent(QMouseEvent* theEvent)
 {
   switch (myOperation) {
   case NOTHING:
+    emit mouseReleased(theEvent);
     break;
   case ROTATE:
     myViewPort->endRotation();
@@ -776,7 +778,9 @@ void OCCViewer_ViewWidget::vpMouseMoveEvent(QMouseEvent* theEvent)
             setCursor(handCursor);
           }
         }
-      }
+    }
+    else
+      emit mouseMoving( theEvent );
     }
   }
 }