Salome HOME
lot 10 - warnings for DTM - untested
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_CalculationOp.h
index 2f46cb393ccc9f276c96770099300886f409b1cd..85183a961374dd4e085ca1aae328d7c360ce80e0 100644 (file)
@@ -38,7 +38,7 @@ class HYDROGUI_CalculationOp : public HYDROGUI_Operation
   Q_OBJECT
 
 public:
-  HYDROGUI_CalculationOp( HYDROGUI_Module* theModule, bool theIsEdit );
+  HYDROGUI_CalculationOp( HYDROGUI_Module* theModule, bool theIsEdit, bool IsComplete );
   virtual ~HYDROGUI_CalculationOp();
 
 protected:
@@ -54,6 +54,8 @@ protected:
 
   void setAvailableGroups();
 
+  void setAvailableBoundaryPolygons();
+
 protected slots:
 
   /**
@@ -80,6 +82,10 @@ protected slots:
    */
   void                            onRemoveGroups();
 
+  void                            onAddBoundaryPolygons();
+
+  void                            onRemoveBoundaryPolygons();
+
   /**
    * Set the given bathymetry/type merge type to the current zone.
    */
@@ -142,7 +148,7 @@ private:
   /**
    * Internal method that used to assign unique default colors for zones
    */
-  void                            AssignDefaultZonesColors();
+  void                            AssignDefaultZonesColors(const QSet<QString>* theRegionsEntriesToColored = NULL);
   void                            setRules( HYDROData_CalculationCase::DataTag theDataTag );
 
   bool                            createRegion( const QList<SUIT_DataObject*>& theZonesList );
@@ -164,6 +170,8 @@ private:
 
   SUIT_ViewManager*               myActiveViewManager;
   OCCViewer_ViewManager*          myPreviewViewManager;
+
+  bool myIsComplete;
 };
 
 #endif