Salome HOME
refs #567: add "POLYLINES" partition and modified icon for Land Cover object.
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_SplitPolylinesDlg.h
index 0d09934e257550d0a9067db2a977e7516568565e..c550472a7d3a99482a2572930d56745bf45fb681 100644 (file)
@@ -27,6 +27,9 @@ class QtxDoubleSpinBox;
 class HYDROGUI_ObjComboBox;
 class HYDROGUI_ObjListBox;
 class gp_Pnt2d;
+class OCCViewer_Viewer;
+class SUIT_ViewWindow;
+class OCCViewer_ViewPort3d;
 
 class HYDROGUI_SplitPolylinesDlg : public HYDROGUI_InputPanel
 {
@@ -46,6 +49,18 @@ public:
   HYDROData_SequenceOfObjects GetPolylines() const;
 
   void setPolylinesFromSelection();
+  void setOCCViewer( OCCViewer_Viewer* theViewer );
+
+signals:
+  void modeChanged();
+  void pointMoved();
+  void selectionChanged();
+
+private slots:
+  void onMousePress( SUIT_ViewWindow*, QMouseEvent* );
+
+private:
+  OCCViewer_ViewPort3d* getViewPort() const;
 
 private:
   QTabWidget* myTab;
@@ -55,6 +70,7 @@ private:
   HYDROGUI_ObjComboBox* myMainPolyline2;
   HYDROGUI_ObjComboBox* myToolPolyline;
   HYDROGUI_ObjListBox*  myPolylines;
+  OCCViewer_Viewer*     myOCCViewer;
 };
 
 #endif