Salome HOME
Merge remote-tracking branch 'origin/BR_LAND_COVER' into BR_v14_rc
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_CalculationOp.h
index 566f9e0cf74a3c46d60b9a836bc13cd5d0f22120..b4961a357602834508caf5b5bc35d7c9de151037 100644 (file)
@@ -80,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.
    */
@@ -110,12 +125,21 @@ 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
    */
-  void                            onBoundarySelected ( const QString & theObjName );
+  void                            onBoundarySelected( const QString & theObjName );
+  /** 
+   * Strickler table name is selected in the list on the third wizard page
+   */
+  void                            onStricklerTableSelected( const QString & theObjName );
 
   void onOrderChanged( bool& isConfirmed );
+  void onOrderLandCoverChanged( bool& isConfirmed );
 
 private:
   void                            createPreview();
@@ -146,11 +170,16 @@ 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;
   bool                            myShowZones;