From: vsr Date: Wed, 27 Aug 2014 09:13:15 +0000 (+0400) Subject: 0022628: [CEA 1202] The default icon disposition is not correct in french and in... X-Git-Tag: V7_5_0a1~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=58c5abfb654eed0c4c15d1ca7988f335dd35d6e8;p=modules%2Fhexablock.git 0022628: [CEA 1202] The default icon disposition is not correct in french and in japanese --- 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 @@
- +
- +