int aHydroMenu = 6; // Edit menu id == 5, View menu id == 10
int aHydroId = createMenu( tr( "MEN_DESK_HYDRO" ), -1, -1, aHydroMenu );
- createMenu( ImportImageId, aHydroId, -1, -1 );
- createMenu( ImportPolylineId, aHydroId, -1, -1 );
createMenu( ImportSinusXId, aHydroId, -1, -1 );
createMenu( ExportSinusXId, aHydroId, -1, -1 );
createMenu( ImportLandcoverId, aHydroId, -1, -1 );
createMenu( ImportBathymetryId, aHydroId, -1, -1 );
createMenu( ImportStricklerTableFromFileId, aHydroId, -1, -1 );
- createMenu( CreatePolylineId, aHydroId, -1, -1 );
createMenu( CreatePolyline3DId, aHydroId, -1, -1 );
createMenu( CreateImmersibleZoneId, aHydroId, -1, -1 );
createMenu( CreateChannelId, aHydroId, -1, -1 );
createMenu( CreateDigueId, aHydroId, -1, -1 );
createMenu( CreateLandCoverId, aHydroId, -1, -1 );
+ int aNewImageId = createMenu( tr( "MEN_DESK_IMAGE" ), aHydroId, -1 );
+ createMenu( ImportImageId, aNewImageId, -1, -1 );
+ createMenu( FuseImagesId, aNewImageId, -1, -1 );
+ createMenu( CutImagesId, aNewImageId, -1, -1 );
+ createMenu( SplitImageId, aNewImageId, -1, -1 );
+
+ int aNewPolylineId = createMenu( tr( "MEN_DESK_POLYLINE" ), aHydroId, -1 );
+ createMenu( ImportPolylineId, aNewPolylineId, -1, -1 );
+ createMenu( CreatePolylineId, aNewPolylineId, -1, -1 );
+ createMenu( SplitPolylinesId, aNewPolylineId, -1, -1 );
+ createMenu( MergePolylinesId, aNewPolylineId, -1, -1 );
+
int aNewProfileId = createMenu( tr( "MEN_DESK_PROFILE" ), aHydroId, -1 );
createMenu( CreateProfileId, aNewProfileId, -1, -1 );
createMenu( ImportProfilesId, aNewProfileId, -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 );
- createMenu( separator(), aHydroId );
- createMenu( SplitPolylinesId, aHydroId, -1, -1 );
- createMenu( MergePolylinesId, aHydroId, -1, -1 );
}
void HYDROGUI_Module::createPopups()