scale_along_axes.png \
split_into_tetra.png \
mesh_duplicate_nodes.png \
- mesh_duplicate_nodes_with_elem.png
+ mesh_duplicate_nodes_with_elem.png \
+ mesh_bounding_box.png \
+ mesh_min_dist.png
# VSR: little trick to avoid putting if SMESHCatalog.xml to the distribution archive
nodist_salomeres_SCRIPTS = SMESHCatalog.xml
createSMESHAction( 1137, "DISABLE_AUTO_COLOR" );
createSMESHAction( 2000, "CTRL" );
- createSMESHAction( 501, "MEASURE_MIN_DIST" );
- createSMESHAction( 502, "MEASURE_BND_BOX" );
+ createSMESHAction( 501, "MEASURE_MIN_DIST", "ICON_MEASURE_MIN_DIST" );
+ createSMESHAction( 502, "MEASURE_BND_BOX", "ICON_MEASURE_BND_BOX" );
createSMESHAction( 300, "ERASE" );
createSMESHAction( 301, "DISPLAY" );
setWindowTitle( tr( "MEASUREMENTS" ) );
setSizeGripEnabled( true );
+ SUIT_ResourceMgr* resMgr = SMESHGUI::resourceMgr();
+
myTabWidget = new QTabWidget( this );
// min distance
myMinDist = new SMESHGUI_MinDistance( myTabWidget );
- myTabWidget->addTab( myMinDist, tr( "MIN_DIST" ) );
+ myTabWidget->addTab( myMinDist, resMgr->loadPixmap( "SMESH", tr( "ICON_MEASURE_MIN_DIST" ) ), tr( "MIN_DIST" ) );
// bounding box
myBndBox = new SMESHGUI_BoundingBox( myTabWidget );
- myTabWidget->addTab( myBndBox, tr( "BND_BOX" ) );
+ myTabWidget->addTab( myBndBox, resMgr->loadPixmap( "SMESH", tr( "ICON_MEASURE_BND_BOX" ) ), tr( "BND_BOX" ) );
// buttons
QPushButton* okBtn = new QPushButton( tr( "SMESH_BUT_OK" ), this );
<source>ICON_SPLIT_TO_TETRA</source>
<translation>split_into_tetra.png</translation>
</message>
+ <message>
+ <source>ICON_MEASURE_MIN_DIST</source>
+ <translation>mesh_min_dist.png</translation>
+ </message>
+ <message>
+ <source>ICON_MEASURE_BND_BOX</source>
+ <translation>mesh_bounding_box.png</translation>
+ </message>
</context>
</TS>