Salome HOME
Drawing of zones in OCC view improved.
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_PolylineDlg.h
index 2204c68448a081d955bd976621381e2c66799ed5..059bc2fdf74873e626f6e08de0bd75580ebfa5a5 100755 (executable)
 #include "HYDROGUI_InputPanel.h"
 
 
+class QLineEdit;
+class CurveCreator_Widget;
+class CurveCreator_Curve;
+
 class HYDROGUI_PolylineDlg : public HYDROGUI_InputPanel
 {
   Q_OBJECT
@@ -33,13 +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