From f1f61535d60fb2775df4bc4e1016396780a53f09 Mon Sep 17 00:00:00 2001 From: jfa Date: Fri, 7 Mar 2008 11:05:58 +0000 Subject: [PATCH] Join delta from tag V4_1_1 till tag mergeto_V4_1_0_maintainance_07Mar2008. --- src/GUI/NETGENPluginGUI_HypothesisCreator.cxx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/GUI/NETGENPluginGUI_HypothesisCreator.cxx b/src/GUI/NETGENPluginGUI_HypothesisCreator.cxx index 5da2f11..6f81cf2 100644 --- a/src/GUI/NETGENPluginGUI_HypothesisCreator.cxx +++ b/src/GUI/NETGENPluginGUI_HypothesisCreator.cxx @@ -122,16 +122,18 @@ QFrame* NETGENPluginGUI_HypothesisCreator::buildFrame() myGrowthRate->setMinValue( 0.1 ); myGrowthRate->setMaxValue( 10 ); myGrowthRate->setLineStep( 0.1 ); - + + const double VALUE_MAX = 1.0e+6; + new QLabel( tr( "NETGEN_SEG_PER_EDGE" ), GroupC1 ); myNbSegPerEdge = new QtxDblSpinBox( GroupC1 ); myNbSegPerEdge->setMinValue( 0.2 ); - myNbSegPerEdge->setMaxValue( 5.0 ); + myNbSegPerEdge->setMaxValue( VALUE_MAX ); // (PAL14890) max value in native netgen gui is 5 new QLabel( tr( "NETGEN_SEG_PER_RADIUS" ), GroupC1 ); myNbSegPerRadius = new QtxDblSpinBox( GroupC1 ); myNbSegPerRadius->setMinValue( 0.2 ); - myNbSegPerRadius->setMaxValue( 5.0 ); + myNbSegPerRadius->setMaxValue( VALUE_MAX ); // (PAL14890) max value in native netgen gui is 5 if ( hypType()=="NETGEN_Parameters_2D" ) { -- 2.39.2