X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROGUI%2FHYDROGUI_CalculationOp.h;h=729db62eb18ef1f585fe153a3fa8e3a68ac63ea2;hb=5cae7e874afd2fc1b6f61023e8ebd33a933db3c7;hp=ecdd145d1c62a19f140ef6caa4c47dbba72690f7;hpb=acc1c9db1a80ae3f0152c5b88b8b8b658e05dbf0;p=modules%2Fhydro.git diff --git a/src/HYDROGUI/HYDROGUI_CalculationOp.h b/src/HYDROGUI/HYDROGUI_CalculationOp.h index ecdd145d..729db62e 100644 --- a/src/HYDROGUI/HYDROGUI_CalculationOp.h +++ b/src/HYDROGUI/HYDROGUI_CalculationOp.h @@ -33,6 +33,7 @@ class SUIT_ViewManager; class OCCViewer_ViewManager; +class HYDROGUI_CalculationDlg; class HYDROGUI_CalculationOp : public HYDROGUI_Operation { @@ -80,12 +81,25 @@ 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 onSplitZones(); void onLastViewClosed( SUIT_ViewManager* ); private: void createPreview(); void closePreview(); + void updateGeomObjectsList( HYDROGUI_CalculationDlg* thePanel ) const; private: bool myIsEdit;