Salome HOME
Merge branch 'BR_LAND_COVER_MAP' of ssh://git.salome-platform.org/modules/hydro into...
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_ImportLandCoverMapDlg.h
index ac5503f92d598eb0366f264ca6d420512cb8cc5f..524f41a65455208e03e61538ae0cf007993059e3 100644 (file)
@@ -45,10 +45,6 @@ public:
   void                  setPolygonNames( const QStringList& theNames );
   void                  setSelectedPolygonNames( const QStringList& theNames );
   void                  setAttributeNames( const QStringList& theAttrNames );
-  void                  FillCorrTable(const QStringList& theFirstColumn, 
-                                      const QStringList& theSecondColumn,
-                                      const QVector<int> theDefCBIndices,
-                                      const QVector<QColor> theColors);
 
   QStringList           getSelectedPolygonNames() const;
   QString               getSelectedFieldName() const;
@@ -59,14 +55,27 @@ public:
   void                  setFileName( const QString& theFileName );
   QString               getFileName() const;
 
-  void                  setFirstPageState(bool bState);
+  void                  setFirstPageState(bool theState);
+  bool                  getFirstPageState() const;
   bool                  getAttrCheckBoxState() const;
-  void                  GetAttribute2StricklerCorr(QStringList& AttrValues, QStringList& ST);
+  void                  getValAttr2StricklerTypeCorr(QStringList& theAttrValues, QStringList& theST);
   QVector<int>          getSelectedPolygonIndices() const;
+  bool                  isPolygonListEmpty() const;
 
-  void                  setDbfState(bool _state);
+  bool                  CheckFirstPageFilling() const;
+
+  void                  setDbfState(bool theState);
   bool                  getDbfState() const;
+  int                   getCurrentWizardIndex() const;
+
+  void                  setViewerState(bool theState);
+  bool                  getViewerState() const;
+  
 
+  void                  FillCorrespondenceTable(const QStringList& theFirstColumn, 
+                                                const QStringList& theSecondColumn,
+                                                const QVector<int> theDefCBIndices,
+                                                const QVector<QColor> theColors);
 signals:
   void                  FileSelected( const QString& theFileName );
   void                  selectionChanged( const QStringList& );
@@ -75,7 +84,7 @@ protected slots:
   void                  onBrowse();
   void                  onItemSelectionChanged();
   void                  onAttrCBChecked(bool theState);
-  void                  OnComboBoxColorChanged(int theInd);
+  void                  onComboBoxColorChanged(int theInd);
 
 protected:
   bool                  acceptCurrent() const;
@@ -89,23 +98,25 @@ private:
   //First page
   QLineEdit*            myFileName; 
   QGroupBox*            myFileNameGroup;
-  QListWidget*          myPolygons;    
+  QListWidget*          myPolygonsListWidget;          
   QGroupBox*            myObjectNameGroup;
   QLineEdit*            myObjectName;
   QCheckBox*            myAttrCheckBox;
 
   //Second page
-  QListWidget*          myDBFAttr; 
+  QListWidget*          myDBFAttrListWidget
   QLabel*               myAvAttrLabel;
 
   //Third page
-  QLabel*               myCLabel;
-  QTableWidget*         myTableW;
+  QLabel*               myCorrLabel;
+  QTableWidget*         myCorrTableWidget;
 
   //State of the first page
   bool                  myFirstPageState;
   QVector<QColor>       myStrColors;
   bool                  myDbfState;
+
+  bool                  myUpdateViewerState;
 };
 
 #endif