X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROGUI%2FHYDROGUI_ImportLandCoverMapDlg.h;h=524f41a65455208e03e61538ae0cf007993059e3;hb=dbee981213585cb317e098b0d2a288761cd3d37b;hp=ac5503f92d598eb0366f264ca6d420512cb8cc5f;hpb=acd7a6036bedb1360688f10a57f52a3daca3d84c;p=modules%2Fhydro.git diff --git a/src/HYDROGUI/HYDROGUI_ImportLandCoverMapDlg.h b/src/HYDROGUI/HYDROGUI_ImportLandCoverMapDlg.h index ac5503f9..524f41a6 100644 --- a/src/HYDROGUI/HYDROGUI_ImportLandCoverMapDlg.h +++ b/src/HYDROGUI/HYDROGUI_ImportLandCoverMapDlg.h @@ -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 theDefCBIndices, - const QVector 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 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 theDefCBIndices, + const QVector 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 myStrColors; bool myDbfState; + + bool myUpdateViewerState; }; #endif