From: mzn Date: Fri, 3 Apr 2015 07:38:33 +0000 (+0300) Subject: refs #497: redesign of HYDRO main menu. X-Git-Tag: BR_hydro_v_1_0_5~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b0bcbc183eee5b132a3d967741bf0c3e8b33f766;p=modules%2Fhydro.git refs #497: redesign of HYDRO main menu. --- diff --git a/src/HYDROGUI/HYDROGUI_Operations.cxx b/src/HYDROGUI/HYDROGUI_Operations.cxx index dafb8516..c51d90b6 100644 --- a/src/HYDROGUI/HYDROGUI_Operations.cxx +++ b/src/HYDROGUI/HYDROGUI_Operations.cxx @@ -208,7 +208,9 @@ void HYDROGUI_Module::createMenus() createMenu( ImportBathymetryId, aHydroId, -1, -1 ); createMenu( CreatePolylineId, aHydroId, -1, -1 ); createMenu( CreatePolyline3DId, aHydroId, -1, -1 ); - createMenu( EditLocalCSId, aHydroId, -1, -1 ); + createMenu( CreateImmersibleZoneId, aHydroId, -1, -1 ); + createMenu( CreateChannelId, aHydroId, -1, -1 ); + createMenu( CreateDigueId, aHydroId, -1, -1 ); int aNewProfileId = createMenu( tr( "MEN_DESK_PROFILE" ), aHydroId, -1 ); createMenu( CreateProfileId, aNewProfileId, -1, -1 ); @@ -216,17 +218,10 @@ void HYDROGUI_Module::createMenus() createMenu( AllGeoreferencementId, aNewProfileId, -1, -1 ); int aStreamMenuId = createMenu( tr( "MEN_DESK_STREAM" ), aHydroId, -1 ); + createMenu( CreateStreamId, aStreamMenuId, -1, -1 ); createMenu( RiverBottomId, aStreamMenuId, -1, -1 ); createMenu( ProfileInterpolateId, aStreamMenuId, -1, -1 ); - int anArtificialMenuId = createMenu( tr( "MEN_DESK_ARTIFICIAL" ), aHydroId, -1 ); - createMenu( CreateChannelId, anArtificialMenuId, -1, -1 ); - createMenu( CreateDigueId, anArtificialMenuId, -1, -1 ); - - int aNaturalMenuId = createMenu( tr( "MEN_DESK_NATURAL" ), aHydroId, -1 ); - createMenu( CreateImmersibleZoneId, aNaturalMenuId, -1, -1 ); - createMenu( CreateStreamId, aNaturalMenuId, -1, -1 ); - int anObstacleMenuId = createMenu( tr( "MEN_DESK_OBSTACLE" ), aHydroId, -1 ); createMenu( ImportObstacleFromFileId, anObstacleMenuId, -1, -1 ); createMenu( CreateBoxId, anObstacleMenuId, -1, -1 ); @@ -234,6 +229,8 @@ void HYDROGUI_Module::createMenus() createMenu( CreateCalculationId, aHydroId, -1, -1 ); createMenu( separator(), aHydroId ); + createMenu( EditLocalCSId, aHydroId, -1, -1 ); + createMenu( separator(), aHydroId ); createMenu( FuseImagesId, aHydroId, -1, -1 ); createMenu( CutImagesId, aHydroId, -1, -1 ); createMenu( SplitImageId, aHydroId, -1, -1 );