X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROGUI%2FHYDROGUI_CalculationOp.h;h=9d2dc0d1b5a91326b7b6d844b5a188750f30d134;hb=18bf2fdae8933e8a31ca58f36b6dceb7a4a8cf42;hp=263efd4fce4dfa7a1bb613965356b69f37990b68;hpb=69048e668dcd9f681a48054df3b01a84d7ed773e;p=modules%2Fhydro.git diff --git a/src/HYDROGUI/HYDROGUI_CalculationOp.h b/src/HYDROGUI/HYDROGUI_CalculationOp.h index 263efd4f..9d2dc0d1 100644 --- a/src/HYDROGUI/HYDROGUI_CalculationOp.h +++ b/src/HYDROGUI/HYDROGUI_CalculationOp.h @@ -127,7 +127,7 @@ protected slots: */ void onClickedInZonesBrowser( SUIT_DataObject* theItem ); /** - * Hide zones in the viewer. + * Slot called on back button click. */ void onHideZones( const int ); /** @@ -152,9 +152,11 @@ protected slots: private: void createPreview( const bool theLandCover); - void closePreview(); + void closePreview( bool theRemoveViewManager = true ); void setObjectVisibility( Handle(HYDROData_Entity) theEntity, const bool theIsVisible ); void setZonesVisible( bool theIsVisible, const bool theLandCover ); + void setGeomObjectsVisible( bool theIsVisible ); + void setLandCoversVisible( bool theIsVisible ); void getNamesAndEntries( const HYDROData_SequenceOfObjects& theSeq, QStringList& theNames, QStringList& theEntries ) const; @@ -188,12 +190,15 @@ private: bool confirmOrderChange() const; bool confirmContinueWithWarning( const HYDROData_Warning& theWarning ) const; + bool confirmLandCoverRegionsChange() const; bool confirmLandCoverModeChange() const; bool confirmLandCoverOrderChange() const; private: bool myIsEdit; bool myShowZones; + bool myShowGeomObjects; + bool myShowLandCovers; Handle(HYDROData_CalculationCase) myEditedObject; SUIT_ViewManager* myActiveViewManager;