class QComboBox;
class QLabel;
class QTableWidget;
+class QCheckBox;
class HYDROGUI_ImportLandCoverMapDlg : public HYDROGUI_Wizard
void reset();
void setPolygonNames( const QStringList& theNames );
- //void removePolygonNames( const QStringList& theNames );
-
void setSelectedPolygonNames( const QStringList& theNames );
-
void setAttributeNames( const QStringList& theAttrNames );
- void FillCorrTable(const QStringList& theFirstColumn, const QStringList& theSecondColumn);
-
QStringList getSelectedPolygonNames() const;
QString getSelectedFieldName() const;
void setFileName( const QString& theFileName );
QString getFileName() const;
- void setFirstPageState(bool bState);
- //void setThirdPageState(bool bState);
- void GetAttribute2StricklerCorr(QStringList& AttrValues, QStringList& ST);
+ void setFirstPageState(bool theState);
+ bool getFirstPageState() const;
+ bool getAttrCheckBoxState() const;
+ void getValAttr2StricklerTypeCorr(QStringList& theAttrValues, QStringList& theST);
QVector<int> getSelectedPolygonIndices() const;
+ bool isPolygonListEmpty() const;
+
+ 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& );
protected slots:
void onBrowse();
void onItemSelectionChanged();
+ void onAttrCBChecked(bool theState);
+ void onComboBoxColorChanged(int theInd);
protected:
bool acceptCurrent() const;
//First page
QLineEdit* myFileName;
QGroupBox* myFileNameGroup;
- QListWidget* myPolygons;
-
+ QListWidget* myPolygonsListWidget;
QGroupBox* myObjectNameGroup;
QLineEdit* myObjectName;
+ QCheckBox* myAttrCheckBox;
- //second page
- QGroupBox* myAttrNameGroup;
- QListWidget* myDBFAttr;
- QGroupBox* myCorrNameGroup;
+ //Second page
+ QListWidget* myDBFAttrListWidget;
+ QLabel* myAvAttrLabel;
- //third page
- QLabel* myCLabel;
- QTableWidget* myTableW;
+ //Third page
+ QLabel* myCorrLabel;
+ QTableWidget* myCorrTableWidget;
- //State of pages
+ //State of the first page
bool myFirstPageState;
- //bool myThirdPageState;
+ QVector<QColor> myStrColors;
+ bool myDbfState;
+ bool myUpdateViewerState;
};
#endif