#include "HYDROGUI_InputPanel.h"
+class QLineEdit;
+class CurveCreator_Widget;
+class CurveCreator_Curve;
+
class HYDROGUI_PolylineDlg : public HYDROGUI_InputPanel
{
Q_OBJECT
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