]> SALOME platform Git repositories - plugins/hybridplugin.git/commitdiff
Salome HOME
Allows to set more precise height and progression of boundary layers
authorChristophe Bourcier <christophe.bourcier@cea.fr>
Mon, 1 Oct 2018 08:33:25 +0000 (10:33 +0200)
committerChristophe Bourcier <christophe.bourcier@cea.fr>
Mon, 1 Oct 2018 08:33:25 +0000 (10:33 +0200)
src/GUI/HYBRIDPluginGUI_HypothesisCreator.cxx

index cfa65f4a2596764bebee1dab82ce8cbcf40c3ce0..a89b1432d8e8ce525c2e8f510bb4b35a356a109b 100644 (file)
@@ -419,7 +419,7 @@ QFrame* HYBRIDPluginGUI_HypothesisCreator::buildFrame()
   
   aStdLayout->addWidget( new QLabel( tr( "HYBRID_HeightFirstLayer" ), myStdGroup ), row, 0, 1, 1 );
   myHeightFirstLayerSpin = new SMESHGUI_SpinBox( myStdGroup );
-  myHeightFirstLayerSpin->RangeStepAndValidator(0., 100., .1, "HeightFirstLayer");
+  myHeightFirstLayerSpin->RangeStepAndValidator(0., COORD_MAX, .1, "length_precision");
   aStdLayout->addWidget( myHeightFirstLayerSpin, row++, 1, 1, 1 );
 
   aStdLayout->addWidget( new QLabel( tr( "HYBRID_NbOfBoundaryLayers" ), myStdGroup ), row, 0, 1, 1 );
@@ -428,7 +428,7 @@ QFrame* HYBRIDPluginGUI_HypothesisCreator::buildFrame()
 
   aStdLayout->addWidget( new QLabel( tr( "HYBRID_BoundaryLayersProgression" ), myStdGroup ), row, 0, 1, 1 );
   myBoundaryLayersProgressionSpin = new SMESHGUI_SpinBox( myStdGroup );
-  myBoundaryLayersProgressionSpin->RangeStepAndValidator(0., 10., .1, "BoundaryLayersProgression");
+  myBoundaryLayersProgressionSpin->RangeStepAndValidator(0., 10., .1, "length_precision");
   aStdLayout->addWidget( myBoundaryLayersProgressionSpin, row++, 1, 1, 1 );
 
   aStdLayout->addWidget( new QLabel( tr( "COLLISION_MODE" ), myStdGroup ), row, 0, 1, 1 );