move XAO Import / Export menu to File Menu

This commit is contained in:
fps 2013-11-14 09:10:28 +00:00
parent 46044070d6
commit 126bafbe60
3 changed files with 7 additions and 8 deletions

View File

@ -4972,11 +4972,11 @@ Ignoring units will cause model scaling (as dimensions are supposed to be specif
</message>
<message>
<source>MEN_IMPORTEXPORT</source>
<translation>Import / Export</translation>
<translation>Import / Export XAO</translation>
</message>
<message>
<source>TOOL_IMPORTEXPORT</source>
<translation>Import / Export</translation>
<translation>Import / Export XAO</translation>
</message>
<message>
<source>TOP_EXPORTXAO</source>

View File

@ -4913,7 +4913,7 @@ le paramètre &apos;%1&apos; aux préférences du module Géométrie.</translati
</message>
<message>
<source>MEN_IMPORTEXPORT</source>
<translation>Import / Export</translation>
<translation>Import / Export XAO</translation>
</message>
<message>
<source>TOP_EXPORTXAO</source>
@ -4953,7 +4953,7 @@ le paramètre &apos;%1&apos; aux préférences du module Géométrie.</translati
</message>
<message>
<source>TOOLS_IMPORTEXPORT</source>
<translation>Import / Export</translation>
<translation>Import / Export XAO</translation>
</message>
<message>
<source>CC_PNT_ITEM_X_Y</source>

View File

@ -1087,6 +1087,9 @@ void GeometryGUI::initialize( CAM_Application* app )
createMenu( separator(), fileId, 10 );
createMenu( GEOMOp::OpImport, fileId, 10 );
createMenu( GEOMOp::OpExport, fileId, 10 );
int impexpId = createMenu( tr( "MEN_IMPORTEXPORT" ), fileId, -1, 10 );
createMenu( GEOMOp::OpExportXAO, impexpId, -1 );
createMenu( GEOMOp::OpImportXAO, impexpId, -1 );
createMenu( separator(), fileId, -1 );
int editId = createMenu( tr( "MEN_EDIT" ), -1, -1 );
@ -1128,10 +1131,6 @@ void GeometryGUI::initialize( CAM_Application* app )
createMenu( GEOMOp::OpPipePath, genId, -1 );
#endif
int impexpId = createMenu( tr( "MEN_IMPORTEXPORT" ), newEntId, -1 );
createMenu( GEOMOp::OpExportXAO, impexpId, -1 );
createMenu( GEOMOp::OpImportXAO, impexpId, -1 );
//int advId = createMenu( tr( "MEN_ADVANCED" ), newEntId, -1 );
//createMenu( GEOMOp::OpSmoothingSurface, advId, -1 );
//@@ insert new functions before this line @@ do not remove this line @@ do not remove this line @@ do not remove this line @@ do not remove this line @@//