tr("MEN_IMPORT_FROM_FILE"), "", (CTRL + Key_I), aParent, false,
this, SLOT(OnImportFromFile()));
+ aPixmap = aResourceMgr->loadPixmap("VISU",tr("ICON_IMPORT_MED"));
+ createAction( VISU_IMPORT_FROM_FILE, "", QIconSet(aPixmap),
+ tr("MEN_IMPORT_FROM_FILE"), "", (CTRL + Key_I), aParent, false,
+ this, SLOT(OnImportFromFile()));
+
createAction( VISU_IMPORT_TABLE, "", QIconSet(),
tr("MEN_IMPORT_TABLE"), "", 0, aParent, false,
this, SLOT(OnImportTableFromFile()));
VisuGUI::
createToolBars()
{
- int aToolId = createTool(tr("TOOL_VISUALISATION"));
+ int aToolId = createTool( "TOOL_IMPORT" );
+ createTool( VISU_IMPORT_FROM_FILE, aToolId );
+
+ aToolId = createTool(tr("TOOL_VISUALISATION"));
createTool( VISU_SCALAR_MAP, aToolId );
createTool( VISU_DEFORMED_SHAPE, aToolId );
createTool( VISU_VECTORS, aToolId );