#include "HYDROGUI_StricklerTableOp.h"
#include "HYDROGUI_DuplicateOp.h"
#include "HYDROGUI_LandCoverOp.h"
+#include "HYDROGUI_ExportSinusXOp.h"
+#include "HYDROGUI_MergePolylinesOp.h"
+#include "HYDROGUI_SplitPolylinesOp.h"
#include <HYDROData_Document.h>
#include <HYDROData_Obstacle.h>
createAction( ImportPolylineId, "IMPORT_POLYLINE", "IMPORT_POLYLINE_ICO" );
createAction( ImportSinusXId, "IMPORT_SINUSX", "IMPORT_SINUSX_ICO" );
+ createAction( ExportSinusXId, "EXPORT_SINUSX", "EXPORT_SINUSX_ICO" );
createAction( CreatePolylineId, "CREATE_POLYLINE", "CREATE_POLYLINE_ICO" );
createAction( EditPolylineId, "EDIT_POLYLINE", "EDIT_POLYLINE_ICO" );
createAction( SubmersibleId, "SUBMERSIBLE", "SUBMERSIBLE_ICO" );
createAction( ExportPolylineId, "EXPORT_POLYLINE", "EXPORT_POLYLINE_ICO" );
+ createAction( SplitPolylinesId, "SPLIT_POLYLINES", "SPLIT_POLYLINES_ICO" );
+ createAction( MergePolylinesId, "MERGE_POLYLINES", "MERGE_POLYLINES_ICO" );
}
void HYDROGUI_Module::createMenus()
createMenu( ImportImageId, aHydroId, -1, -1 );
createMenu( ImportPolylineId, aHydroId, -1, -1 );
createMenu( ImportSinusXId, aHydroId, -1, -1 );
+ createMenu( ExportSinusXId, aHydroId, -1, -1 );
createMenu( ImportBathymetryId, aHydroId, -1, -1 );
createMenu( ImportStricklerTableFromFileId, 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()
createTool( ImportImageId, aToolBar );
createTool( ImportPolylineId, aToolBar );
createTool( ImportSinusXId, aToolBar );
+ createTool( ExportSinusXId, aToolBar );
+
createTool( ImportBathymetryId, aToolBar );
createTool( CreatePolylineId, aToolBar );
createTool( CreatePolyline3DId, aToolBar );
case ImportSinusXId:
anOp = new HYDROGUI_ImportSinusXOp( aModule );
break;
+ case ExportSinusXId:
+ anOp = new HYDROGUI_ExportSinusXOp( aModule );
+ break;
case ObserveImageId:
anOp = new HYDROGUI_ObserveImageOp( aModule );
break;
case SubmersibleId:
anOp = new HYDROGUI_SubmersibleOp( aModule );
break;
+ case SplitPolylinesId:
+ anOp = new HYDROGUI_SplitPolylinesOp( aModule );
+ break;
+ case MergePolylinesId:
+ anOp = new HYDROGUI_MergePolylinesOp( aModule );
+ break;
}
if( !anOp )