Salome HOME
Profile object creation.
[modules/hydro.git] / src / HYDROCurveCreator / OCCViewer_ViewWidget.h
index 455a12942760cce806306b8cb979c96b09992ec2..cbfe37e7f5cb80e0694e3c2019f5c6193bbfea79 100644 (file)
@@ -22,6 +22,7 @@ class QPushButton;
 class QToolBar;
 
 class Handle(V3d_Viewer);
+class Handle(AIS_InteractiveContext);
 
 #ifdef WIN32
 #pragma warning ( disable:4251 )
@@ -40,6 +41,7 @@ public:
   ~OCCViewer_ViewWidget();
 
   OCCViewer_ViewPort3d* getViewPort();
+  Handle(AIS_InteractiveContext) getAISContext() { return myAISContext; }
 
   bool      eventFilter(QObject* watched, QEvent* e);
 
@@ -64,6 +66,11 @@ public slots:
   void      onLeftView();
   void      onRightView();
 
+signals:
+  void      mouseMoving( QMouseEvent* theEvent );
+  void      mousePressed( QMouseEvent* theEvent );
+  void      mouseReleased( QMouseEvent* theEvent );
+
 private:
   enum OperationType{ NOTHING, FITALLVIEW, WINDOWFIT, ZOOMVIEW, PANVIEW, PANGLOBAL,
                       ROTATE };