From 58c5abfb654eed0c4c15d1ca7988f335dd35d6e8 Mon Sep 17 00:00:00 2001 From: vsr Date: Wed, 27 Aug 2014 13:13:15 +0400 Subject: [PATCH] 0022628: [CEA 1202] The default icon disposition is not correct in french and in japanese --- src/HEXABLOCKGUI/HEXABLOCKGUI.cxx | 12 ++++++------ src/HEXABLOCKGUI/resources/SalomeApp.xml.in | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/HEXABLOCKGUI/HEXABLOCKGUI.cxx b/src/HEXABLOCKGUI/HEXABLOCKGUI.cxx index cf5f057..9831800 100755 --- a/src/HEXABLOCKGUI/HEXABLOCKGUI.cxx +++ b/src/HEXABLOCKGUI/HEXABLOCKGUI.cxx @@ -1484,7 +1484,7 @@ void HEXABLOCKGUI::createTools() { int aToolId; - aToolId = createTool ( tr( "HexaBlock Toolbar" ) ); + aToolId = createTool ( tr( "HexaBlock Toolbar" ), QString( "HexaBlockMain" ) ); createTool( _newAct, aToolId ); createTool( _importAct, aToolId ); createTool( _saveAct, aToolId ); @@ -1493,7 +1493,7 @@ void HEXABLOCKGUI::createTools() //createTool( separator(), aToolId ); // Pattern Data - aToolId = createTool ( tr( "Construction" ) ); + aToolId = createTool ( tr( "Construction" ), QString( "HexaBlockConstruction" ) ); createTool( _addVertex, aToolId ); createTool( _addEdge, aToolId ); createTool( _addQuad, aToolId ); @@ -1519,7 +1519,7 @@ void HEXABLOCKGUI::createTools() createTool( _makePipes, aToolId ); // Pattern Data Edition - aToolId = createTool ( tr( "Operation" ) ); + aToolId = createTool ( tr( "Operation" ), QString( "HexaBlockOperation" ) ); createTool( _removeHexa, aToolId ); createTool( _prismQuad, aToolId ); createTool( _joinQuad, aToolId ); @@ -1534,19 +1534,19 @@ void HEXABLOCKGUI::createTools() createTool( _quadRevolution, aToolId ); // Association - aToolId = createTool ( tr( "Association" ) ); + aToolId = createTool ( tr( "Association" ), QString( "HexaBlockAssociation" ) ); createTool( _assocVertex, aToolId ); createTool( _assocEdge, aToolId ); createTool( _assocQuad, aToolId ); createTool( _addShapeAct, aToolId ); // Group - aToolId = createTool ( tr( "Group" ) ); + aToolId = createTool ( tr( "Group" ), QString( "HexaBlockGroup" ) ); createTool( _addGroup, aToolId ); createTool( _removeGroup, aToolId ); //CS_TODO // Law - aToolId = createTool ( tr( "Mesh" ) ); + aToolId = createTool ( tr( "Mesh" ), QString( "HexaBlockMesh" ) ); createTool( _addLaw, aToolId ); createTool( _removeLaw, aToolId ); createTool( _setPropagation, aToolId ); diff --git a/src/HEXABLOCKGUI/resources/SalomeApp.xml.in b/src/HEXABLOCKGUI/resources/SalomeApp.xml.in index a325e7c..c6bb472 100755 --- a/src/HEXABLOCKGUI/resources/SalomeApp.xml.in +++ b/src/HEXABLOCKGUI/resources/SalomeApp.xml.in @@ -36,9 +36,9 @@
- +
- +
-- 2.39.2