Salome HOME
Dump Image data to python script (Feature #13).
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_PolylineDlg.h
index 54c4ae258226eba19bb929d3e1f5626f3b280134..059bc2fdf74873e626f6e08de0bd75580ebfa5a5 100755 (executable)
 #include "HYDROGUI_InputPanel.h"
 
 
+class QLineEdit;
+class CurveCreator_Widget;
+class CurveCreator_Curve;
+
 class HYDROGUI_PolylineDlg : public HYDROGUI_InputPanel
 {
   Q_OBJECT
@@ -33,12 +37,25 @@ class HYDROGUI_PolylineDlg : public HYDROGUI_InputPanel
 public:
   HYDROGUI_PolylineDlg( HYDROGUI_Module* theModule, const QString& theTitle );
   virtual ~HYDROGUI_PolylineDlg();
+  
+  void  setPolylineName( const QString& theName );
+  QString getPolylineName() const;
+       
+  void  setCurve( CurveCreator_Curve* theCurve );
+
+  void  reset();
+
+  QList<int> getSelectedSections();
+  QList< QPair< int, int > > getSelectedPoints();
 
 protected slots:
 
 signals:
-  void                       createPreview( QString );
-
+  void                  createPreview( QString );
+  void                  selectionChanged();
+private:
+  QLineEdit*            myName;
+  CurveCreator_Widget*  myEditorWidget;
 };
 
 #endif