#ifndef HYDROGUI_CALCULATIONDLG_H
#define HYDROGUI_CALCULATIONDLG_H
-#include "HYDROGUI_InputPanel.h"
+#include "HYDROGUI_Wizard.h"
+#include <HYDROData_CalculationCase.h>
class HYDROGUI_ObjSelector;
class QGroupBox;
class QLineEdit;
+class QListWidget;
+class QComboBox;
+class HYDROGUI_DataBrowser;
+class HYDROGUI_NameValidator;
-class HYDROGUI_CalculationDlg : public HYDROGUI_InputPanel
+class HYDROGUI_CalculationDlg : public HYDROGUI_Wizard
{
Q_OBJECT
void setObjectName( const QString& theName );
QString getObjectName() const;
- void setPolylineName( const QString& theName );
- QString getPolylineName() const;
+ void setEditedObject( const Handle(HYDROData_CalculationCase) theCase );
+ void setGeomObjects( const QStringList& theObjects );
+ void setSelectedGeomObjects( const QStringList& theObjects );
+ QStringList getSelectedGeomObjects() const;
+
+ public slots:
+ void onEmptyName();
+ void onAlreadyExists( QString theName );
private:
+
+ QWizardPage* createObjectsPage();
+ QWizardPage* createZonesPage();
+
QGroupBox* myObjectNameGroup;
QLineEdit* myObjectName;
+ HYDROGUI_NameValidator* myValidator;
+
+ QListWidget* myGeomObjects;
- HYDROGUI_ObjSelector* myBndPolyline;
+ HYDROGUI_DataBrowser* myBrowser;
+ Handle(HYDROData_CalculationCase) myEditedObject;
+ QComboBox* myBathymetryChoice;
};
#endif