mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-15 10:08:34 +05:00
0021338: EDF 1926 SMESH: New controls and filters
Add "Double nodes tolerance" preference
This commit is contained in:
parent
c6edb52c8e
commit
f0f28bd92d
@ -4486,6 +4486,11 @@ void SMESHGUI::createPreferences()
|
||||
int prec = addPreference( tr( "PREF_PRECISION_VALUE" ), qaGroup, LightApp_Preferences::IntSpin, "SMESH", "controls_precision" );
|
||||
setPreferenceProperty( prec, "min", 0 );
|
||||
setPreferenceProperty( prec, "max", 16 );
|
||||
int doubleNodesTol = addPreference( tr( "PREF_EQUAL_NODES_TOL" ), qaGroup, LightApp_Preferences::DblSpin, "SMESH", "equal_nodes_tolerance" );
|
||||
setPreferenceProperty( doubleNodesTol, "precision", 10 );
|
||||
setPreferenceProperty( doubleNodesTol, "min", 0.0000000001 );
|
||||
setPreferenceProperty( doubleNodesTol, "max", 1000000.0 );
|
||||
setPreferenceProperty( doubleNodesTol, "step", 0.0000001 );
|
||||
|
||||
int dispgroup = addPreference( tr( "PREF_DISPLAY_MODE" ), genTab );
|
||||
setPreferenceProperty( dispgroup, "columns", 2 );
|
||||
|
@ -3884,6 +3884,10 @@ Please, create VTK viewer and try again</translation>
|
||||
<source>PREF_PRECISION_VALUE</source>
|
||||
<translation>Number of digits after point</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>PREF_EQUAL_NODES_TOL</source>
|
||||
<translation>Double nodes tolerance</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>PREF_RENUMBER</source>
|
||||
<translation>Automatic renumbering</translation>
|
||||
|
Loading…
Reference in New Issue
Block a user