From: eap Date: Thu, 6 Mar 2008 12:56:29 +0000 (+0000) Subject: PAL14890 Netgen specification limitation X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=79adc9e2e5db17b3ac4368255e3898a1686838d1;p=plugins%2Fnetgenplugin.git PAL14890 Netgen specification limitation increase upper limit of NETGEN_SEG_PER_EDGE and NETGEN_SEG_PER_RADIUS up to 1.0e+6 --- 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" ) {