From 145f27ae8f36827dd0272a2960486e616a2e009a Mon Sep 17 00:00:00 2001 From: Christophe Bourcier Date: Mon, 1 Oct 2018 10:33:25 +0200 Subject: [PATCH] Allows to set more precise height and progression of boundary layers --- src/GUI/HYBRIDPluginGUI_HypothesisCreator.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/GUI/HYBRIDPluginGUI_HypothesisCreator.cxx b/src/GUI/HYBRIDPluginGUI_HypothesisCreator.cxx index cfa65f4..a89b143 100644 --- a/src/GUI/HYBRIDPluginGUI_HypothesisCreator.cxx +++ b/src/GUI/HYBRIDPluginGUI_HypothesisCreator.cxx @@ -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 ); -- 2.39.2