From: jfa Date: Fri, 7 Mar 2008 11:05:58 +0000 (+0000) Subject: Join delta from tag V4_1_1 till tag mergeto_V4_1_0_maintainance_07Mar2008. X-Git-Tag: V4_1_2rc1~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f1f61535d60fb2775df4bc4e1016396780a53f09;p=plugins%2Fnetgenplugin.git Join delta from tag V4_1_1 till tag mergeto_V4_1_0_maintainance_07Mar2008. --- 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" ) {