Salome HOME
refs #613: duplicated names
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_ImportLandCoverDlg.h
index c9df043252c853f9221dd517d7aae634220caec7..581956dacd3a5d07fad5c0cbbf77682200bfa01e 100644 (file)
 #ifndef HYDROGUI_ImportLandCoverDlg_H
 #define HYDROGUI_ImportLandCoverDlg_H
 
-#include "HYDROGUI_InputPanel.h"
+#include "HYDROGUI_Wizard.h"
 
 class QListWidget;
 class QLineEdit;
 class QGroupBox;
 
-class HYDROGUI_ImportLandCoverDlg : public HYDROGUI_InputPanel
+class HYDROGUI_ImportLandCoverDlg : public HYDROGUI_Wizard
 {
   Q_OBJECT
 
 public:
   HYDROGUI_ImportLandCoverDlg( HYDROGUI_Module* theModule, const QString& theTitle );
   virtual ~HYDROGUI_ImportLandCoverDlg();
-  void setImageName( const QString& theName );
 
   void reset();
 
-  void setPolylineNames( const QStringList& theNames );
-  void removePolylineNames( const QStringList& theNames );
+  void setPolygonNames( const QStringList& theNames );
+  void removePolygonNames( const QStringList& theNames );
 
-  void setSelectedPolylineNames( const QStringList& theNames );
+  void setSelectedPolygonNames( const QStringList& theNames );
 
-  QStringList getSelectedtPolylineNames() const;
+  QStringList getSelectedPolygonNames() const;
 
   void                       setObjectName( const QString& theName );
   QString                    getObjectName() const;
@@ -62,19 +61,22 @@ signals:
 public slots:
   void onItemSelectionChanged();
 
-public:
-  
-  QLineEdit*                 myFileName; //temp
 private:
-  QLineEdit*                 myImageName;
-  QGroupBox*                 myFileNameGroup;
-//  QLineEdit*                 myFileName;
 
-  QListWidget* myPolylines;    
+  QWizardPage*               createPage1();
+  QWizardPage*               createPage2();
+
+  QLineEdit*                 myFileName; 
+  QGroupBox*                 myFileNameGroup;
+  QListWidget*               myPolygons;       
 
   QGroupBox*                 myObjectNameGroup;
   QLineEdit*                 myObjectName;
 
+  //second page
+  QGroupBox* myAttrNameGroup;
+  QListWidget*               myDBFAttr; 
+
 
 };