X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROGUI%2FHYDROGUI_Module.cxx;h=f861ac792105ff447509003d9ee25772dd21dba8;hb=80b3ef265c1b8564a52097094156256956017ae1;hp=168dc17f92b772ad30112b81b1c39e33c4b11878;hpb=e423cfd15575a1feb27386b5516bd0c83bed5fe9;p=modules%2Fhydro.git diff --git a/src/HYDROGUI/HYDROGUI_Module.cxx b/src/HYDROGUI/HYDROGUI_Module.cxx index 168dc17f..f861ac79 100644 --- a/src/HYDROGUI/HYDROGUI_Module.cxx +++ b/src/HYDROGUI/HYDROGUI_Module.cxx @@ -678,7 +678,10 @@ void HYDROGUI_Module::contextMenuPopup( const QString& theClient, theMenu->addSeparator(); theMenu->addAction( action( SplitLandCoverId ) ); theMenu->addAction( action( MergeLandCoverId ) ); + theMenu->addAction( action( ChangeLandCoverTypeId ) ); theMenu->addSeparator(); + // + theMenu->addAction( action( ExportToShapeFileID ) ); } else if( anIsVisualState && anIsObjectBrowser ) { @@ -697,6 +700,8 @@ void HYDROGUI_Module::contextMenuPopup( const QString& theClient, if ( anIsObjectCanBeColored ) { theMenu->addAction( action( SetColorId ) ); + if ( anIsLandCoverMap ) + theMenu->addAction( action( SetTransparencyId ) ); theMenu->addSeparator(); } } else if ( anAllAreProfiles ) { @@ -705,7 +710,7 @@ void HYDROGUI_Module::contextMenuPopup( const QString& theClient, } bool anIsPoly = anIsPolyline || anIsPolyline3D; - if ((anIsPoly && !anIsLandCoverMap) || (!anIsPoly && anIsLandCoverMap)) + if (anIsPoly && !anIsLandCoverMap) theMenu->addAction( action( ExportToShapeFileID ) ); // Add copy action