X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROGUI%2FHYDROGUI_CalculationDlg.h;h=f4ee385fd047cbee7db7f1c5bf57e309f9554612;hb=d6e19029f8b41f295db878e9aecf451c2edda4af;hp=566ea281381e748c390641cfaef6d3402858989b;hpb=638239beb0beda1150641cca0da0f72a4e688fca;p=modules%2Fhydro.git diff --git a/src/HYDROGUI/HYDROGUI_CalculationDlg.h b/src/HYDROGUI/HYDROGUI_CalculationDlg.h index 566ea281..f4ee385f 100644 --- a/src/HYDROGUI/HYDROGUI_CalculationDlg.h +++ b/src/HYDROGUI/HYDROGUI_CalculationDlg.h @@ -63,10 +63,14 @@ public: void setAllGeomObjects( const QStringList& theObjects, const QStringList& theObjectsEntries ); QStringList getAllGeomObjects() const; + void setAllLandCovers( const QStringList& theObjects, const QStringList& theObjectsEntries ); + QStringList getAllLandCovers() const; void setPolylineNames( const QStringList& theObjects, const QStringList& theObjectsEntries ); void setStricklerTableNames( const QStringList& theObjects, const QStringList& theObjectsEntries ); QStringList getSelectedGeomObjects() const; + QStringList getSelectedLandCovers() const; QStringList getSelectedAvailableGeomObjects() const; + QStringList getSelectedAvailableLandCovers() const; QStringList getSelectedGroups() const; QStringList getSelectedAvailableGroups() const; HYDROGUI_Zone* getCurrentZone() const; @@ -79,6 +83,9 @@ public: HYDROData_ListOfRules getRules() const; void setRules( const HYDROData_ListOfRules& theRules ) const; + HYDROData_ListOfRules getLandCoverRules() const; + void setLandCoverRules( const HYDROData_ListOfRules& theRules ) const; + public slots: void setMode( int theMode ); void setBoundary( const QString& theObjName ); @@ -93,7 +100,9 @@ public slots: void onOrderChanged(); void setLandCoverMode( int theMode ); - void setStricklerTable( const QString& theStricklerTableName ); + void setStricklerTable( const QString& theStricklerTableName, bool theBlockSignals = true ); + void includeLandCovers( const QStringList& theLandCovers, bool theReset ); + void excludeLandCovers( const QStringList& theLandCovers ); void onOrderLandCoverChanged(); /** @@ -132,6 +141,7 @@ signals: void addLandCovers(); void removeLandCovers(); + void landCoversSelected(); void orderLandCoverChanged( bool& isConfirmed ); void StricklerTableSelected( const QString & theObjName ); @@ -144,8 +154,8 @@ protected slots: void OnNewRegion(); private: - QList getGeometryObjects(); - QList getLandCovers(); + QList getGeometryObjects(); + QList getLandCovers(); QWizardPage* createObjectsPage(); QWizardPage* createGroupsPage();