mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-15 01:58:35 +05:00
0020885: EDF 607 SMESH: Measure tools
This commit is contained in:
parent
bde720be0e
commit
49792ab647
@ -178,7 +178,9 @@ dist_salomeres_DATA = \
|
||||
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
|
||||
|
BIN
resources/mesh_bounding_box.png
Executable file
BIN
resources/mesh_bounding_box.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 3.4 KiB |
BIN
resources/mesh_min_dist.png
Executable file
BIN
resources/mesh_min_dist.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 3.3 KiB |
@ -3248,8 +3248,8 @@ void SMESHGUI::initialize( CAM_Application* app )
|
||||
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" );
|
||||
|
@ -1098,17 +1098,19 @@ SMESHGUI_MeasureDlg::SMESHGUI_MeasureDlg( QWidget* parent, int page )
|
||||
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 );
|
||||
|
@ -485,5 +485,13 @@
|
||||
<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>
|
||||
|
Loading…
Reference in New Issue
Block a user