Compare commits

...

4 Commits

Author SHA1 Message Date
eap
1ed2c1a5b5 remove NETGEN resources to NETGENPLUGIN 2008-04-17 08:42:52 +00:00
eap
eb8f61fcf1 add method allowing to customize help page
+  virtual QString helpPage() const;
2008-04-17 08:27:36 +00:00
maintenance team
e15e15b563 Changing version to 4.1.2 2008-04-16 08:05:42 +00:00
jfa
f1f61535d6 Join delta from tag V4_1_1 till tag mergeto_V4_1_0_maintainance_07Mar2008. 2008-03-07 11:05:58 +00:00
4 changed files with 13 additions and 5 deletions

View File

@ -17,7 +17,7 @@
# Created from configure.in.base # Created from configure.in.base
# #
AC_INIT([Salome2 Project NETGENPLUGIN module], [4.1.1], [webmaster.salome@opencascade.com], [salome]) AC_INIT([Salome2 Project NETGENPLUGIN module], [4.1.2], [webmaster.salome@opencascade.com], [salome])
AC_CONFIG_AUX_DIR(salome_adm/unix/config_files) AC_CONFIG_AUX_DIR(salome_adm/unix/config_files)
AC_CANONICAL_HOST AC_CANONICAL_HOST
AC_CANONICAL_TARGET AC_CANONICAL_TARGET

Binary file not shown.

After

Width:  |  Height:  |  Size: 148 B

View File

@ -123,15 +123,17 @@ QFrame* NETGENPluginGUI_HypothesisCreator::buildFrame()
myGrowthRate->setMaxValue( 10 ); myGrowthRate->setMaxValue( 10 );
myGrowthRate->setLineStep( 0.1 ); myGrowthRate->setLineStep( 0.1 );
const double VALUE_MAX = 1.0e+6;
new QLabel( tr( "NETGEN_SEG_PER_EDGE" ), GroupC1 ); new QLabel( tr( "NETGEN_SEG_PER_EDGE" ), GroupC1 );
myNbSegPerEdge = new QtxDblSpinBox( GroupC1 ); myNbSegPerEdge = new QtxDblSpinBox( GroupC1 );
myNbSegPerEdge->setMinValue( 0.2 ); 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 ); new QLabel( tr( "NETGEN_SEG_PER_RADIUS" ), GroupC1 );
myNbSegPerRadius = new QtxDblSpinBox( GroupC1 ); myNbSegPerRadius = new QtxDblSpinBox( GroupC1 );
myNbSegPerRadius->setMinValue( 0.2 ); 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" ) if ( hypType()=="NETGEN_Parameters_2D" )
{ {
@ -343,3 +345,8 @@ QString NETGENPluginGUI_HypothesisCreator::type() const
{ {
return tr( QString( "NETGEN_%1_HYPOTHESIS" ).arg(myIs2D?QString("2D"):QString("3D")) ); return tr( QString( "NETGEN_%1_HYPOTHESIS" ).arg(myIs2D?QString("2D"):QString("3D")) );
} }
QString NETGENPluginGUI_HypothesisCreator::helpPage() const
{
return "netgen_2d_3d_hypo_page.html";
}

View File

@ -64,7 +64,8 @@ public:
NETGENPluginGUI_HypothesisCreator( const QString& ); NETGENPluginGUI_HypothesisCreator( const QString& );
virtual ~NETGENPluginGUI_HypothesisCreator(); virtual ~NETGENPluginGUI_HypothesisCreator();
virtual bool checkParams() const; virtual bool checkParams() const;
virtual QString helpPage() const;
protected: protected:
virtual QFrame* buildFrame (); virtual QFrame* buildFrame ();