From: eap Date: Fri, 24 Mar 2006 11:59:10 +0000 (+0000) Subject: ease the life of possible ancestors X-Git-Tag: T3_2_0b1_pre1~85 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0f5a1c3229113adc9b7ac87f55c28efc82338d80;p=modules%2Fsmesh.git ease the life of possible ancestors --- diff --git a/src/StdMeshersGUI/StdMeshersGUI_StdHypothesisCreator.cxx b/src/StdMeshersGUI/StdMeshersGUI_StdHypothesisCreator.cxx index 33abb0698..bd505bee8 100644 --- a/src/StdMeshersGUI/StdMeshersGUI_StdHypothesisCreator.cxx +++ b/src/StdMeshersGUI/StdMeshersGUI_StdHypothesisCreator.cxx @@ -261,6 +261,10 @@ void StdMeshersGUI_StdHypothesisCreator::attuneStdWidget( QWidget* w, const int { sb->RangeStepAndValidator( VALUE_SMALL, VALUE_MAX, 1.0, 6 ); } + else // default validator for possible ancestors + { + sb->RangeStepAndValidator( VALUE_SMALL, VALUE_MAX, 1.0, 6 ); + } } QString StdMeshersGUI_StdHypothesisCreator::caption() const diff --git a/src/StdMeshersGUI/StdMeshersGUI_StdHypothesisCreator.h b/src/StdMeshersGUI/StdMeshersGUI_StdHypothesisCreator.h index 216324cab..bc87917b4 100644 --- a/src/StdMeshersGUI/StdMeshersGUI_StdHypothesisCreator.h +++ b/src/StdMeshersGUI/StdMeshersGUI_StdHypothesisCreator.h @@ -55,8 +55,7 @@ protected: virtual QWidget* getCustomWidget( const StdParam&, QWidget* ) const; virtual bool getParamFromCustomWidget( StdParam& , QWidget* ) const; -private: - QString hypTypeName( const QString& ) const; + virtual QString hypTypeName( const QString& ) const; }; #endif