Salome HOME
Dump Image data to python script (Feature #13).
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_PolylineDlg.cxx
index 4cd9b8d624e0989c6d548de3eaeba9267c67582f..7deeb6fd47a8a105bf2aefceb4395937184964b0 100755 (executable)
@@ -43,6 +43,8 @@ HYDROGUI_PolylineDlg::HYDROGUI_PolylineDlg( HYDROGUI_Module* theModule, const QS
     new CurveCreator_Widget( this, NULL);
 
   addWidget( myEditorWidget );
+
+  connect( myEditorWidget, SIGNAL( selectionChanged() ), this, SIGNAL( selectionChanged() ) );
 }
 
 HYDROGUI_PolylineDlg::~HYDROGUI_PolylineDlg()
@@ -67,3 +69,13 @@ void HYDROGUI_PolylineDlg::setCurve( CurveCreator_Curve* theCurve )
 {
   myEditorWidget->setCurve( theCurve );
 }
+
+QList<int> HYDROGUI_PolylineDlg::getSelectedSections()
+{
+  return myEditorWidget->getSelectedSections();
+}
+
+QList< QPair< int, int > > HYDROGUI_PolylineDlg::getSelectedPoints()
+{
+  return myEditorWidget->getSelectedPoints();
+}