#include "HYDROGUI_ImportGeomObjectOp.h"
#include "HYDROGUI_ImportObstacleFromFileOp.h"
#include "HYDROGUI_ExportCalculationOp.h"
+#include "HYDROGUI_ImportProfilesOp.h"
+#include "HYDROGUI_GeoreferencementOp.h"
#include "HYDROGUI_SetColorOp.h"
#include "HYDROData_Document.h"
createAction( EditPolylineId, "EDIT_POLYLINE" );
createAction( CreateProfileId, "CREATE_PROFILE" );
+ createAction( ImportProfilesId, "IMPORT_PROFILES" );
createAction( EditProfileId, "EDIT_PROFILE" );
-
+ createAction( AllGeoreferencementId, "GEOREFERENCEMENT" );
+ createAction( SelectedGeoreferencementId, "GEOREFERENCEMENT" );
+
createAction( ImportBathymetryId, "IMPORT_BATHYMETRY", "", Qt::CTRL + Qt::Key_B );
createAction( CreateImmersibleZoneId, "CREATE_IMMERSIBLE_ZONE" );
createMenu( ImportImageId, aHydroId, -1, -1 );
createMenu( ImportBathymetryId, aHydroId, -1, -1 );
createMenu( CreatePolylineId, aHydroId, -1, -1 );
- createMenu( CreateProfileId, aHydroId, -1, -1 );
+
+ int aNewProfileId = createMenu( tr( "MEN_PROFILE" ), aHydroId, -1 );
+ createMenu( CreateProfileId, aNewProfileId, -1, -1 );
+ createMenu( ImportProfilesId, aNewProfileId, -1, -1 );
+ createMenu( AllGeoreferencementId, aNewProfileId, -1, -1 );
+
createMenu( CreateImmersibleZoneId, aHydroId, -1, -1 );
int aNewObstacleId = createMenu( tr( "MEN_OBSTACLE" ), aHydroId, -1 );
case EditProfileId:
anOp = new HYDROGUI_ProfileOp( aModule, theId == EditProfileId );
break;
+ case ImportProfilesId:
+ anOp = new HYDROGUI_ImportProfilesOp( aModule ) ;
+ break;
+ case AllGeoreferencementId:
+ anOp = new HYDROGUI_GeoreferencementOp( aModule, HYDROGUI_GeoreferencementOp::All ) ;
+ break;
+ case SelectedGeoreferencementId:
+ anOp = new HYDROGUI_GeoreferencementOp( aModule, HYDROGUI_GeoreferencementOp::Selected ) ;
+ break;
case ImportBathymetryId:
anOp = new HYDROGUI_ImportBathymetryOp( aModule );
break;