Salome HOME
Minor change.
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_CalculationOp.h
index ecdd145d1c62a19f140ef6caa4c47dbba72690f7..3cf13988affa816f1adf4c57d1fd81a4d6c08db8 100644 (file)
@@ -33,6 +33,8 @@
 
 class SUIT_ViewManager;
 class OCCViewer_ViewManager;
+class HYDROGUI_CalculationDlg;
+class SUIT_DataObject;
 
 class HYDROGUI_CalculationOp : public HYDROGUI_Operation
 {
@@ -80,12 +82,28 @@ protected:
   virtual bool                    processApply( int& theUpdateFlags, QString& theErrorMsg );
 
 protected slots:
+  /**
+   * Add geometry objects selected in the module browser to the calculation case.
+   */
+  void                            onAddObjects();
+  /**
+   * Remove selected objects from the calculation case.
+   */
+  void                            onRemoveObjects();
+  /**
+   * Set the given bathymetry merge type to the current zone.
+   */
+  void                            onSetMergeType( int theMergeType, QString& theBathymetryName );
+  void                            onMoveZones( SUIT_DataObject* theRegionItem, 
+                                               const QList<SUIT_DataObject*>& theZonesList );
+  void                            onCreateRegion( const QList<SUIT_DataObject*>& theZonesList );
   void                            onSplitZones();
   void                            onLastViewClosed( SUIT_ViewManager* );
 
 private:
   void                            createPreview();
   void                            closePreview();
+  void                            updateGeomObjectsList( HYDROGUI_CalculationDlg* thePanel ) const;
 
 private:
   bool                            myIsEdit;