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,
- const QVector<QColor> theColors);
-
QStringList getSelectedPolygonNames() const;
QString getSelectedFieldName() const;
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;
+
+ 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& );
void onBrowse();
void onItemSelectionChanged();
void onAttrCBChecked(bool theState);
- void OnComboBoxColorChanged(int theInd);
+ 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
- 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