X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROGUI%2FHYDROGUI_CalculationOp.h;h=4966ee3cde0e3152a198dea7285e69dc59a822e4;hb=d6e19029f8b41f295db878e9aecf451c2edda4af;hp=467d1a39f53e2716ad0dde57497c763af6b626cb;hpb=638239beb0beda1150641cca0da0f72a4e688fca;p=modules%2Fhydro.git diff --git a/src/HYDROGUI/HYDROGUI_CalculationOp.h b/src/HYDROGUI/HYDROGUI_CalculationOp.h index 467d1a39..4966ee3c 100644 --- a/src/HYDROGUI/HYDROGUI_CalculationOp.h +++ b/src/HYDROGUI/HYDROGUI_CalculationOp.h @@ -62,12 +62,6 @@ protected slots: */ void onChangeMode( int theMode ); - /** - * Change the creation mode related to land covers. - * @param theMode the mode to set - */ - void onChangeLandCoverMode( int theMode ); - /** * Add geometry objects selected in the module browser to the calculation case. */ @@ -86,6 +80,21 @@ protected slots: */ void onRemoveGroups(); + /** + * Change the creation mode related to land covers. + * @param theMode the mode to set + */ + void onChangeLandCoverMode( int theMode ); + + /** + * Add land covers selected in the module browser to the calculation case. + */ + void onAddLandCovers(); + /** + * Remove selected land covers from the calculation case. + */ + void onRemoveLandCovers(); + /** * Set the given bathymetry merge type to the current zone. */ @@ -116,6 +125,10 @@ protected slots: * Geometry object is selected in the list on the first wizard page */ void onObjectsSelected(); + /** + * Land cover is selected in the list on the third wizard page + */ + void onLandCoversSelected(); /** * Boundary polyline is selected in the list on the first wizard page */ @@ -156,12 +169,15 @@ private: float theSaturation = 0.5, float theValue = 0.95 ) const; + void setRules( HYDROData_CalculationCase::DataTag theDataTag ); + bool confirmRegionsChange() const; bool confirmModeChange() const; bool confirmOrderChange() const; bool confirmContinueWithWarning( const HYDROData_Warning& theWarning ) const; bool confirmLandCoverModeChange() const; + bool confirmLandCoverOrderChange() const; private: bool myIsEdit;