From 0f5a1c3229113adc9b7ac87f55c28efc82338d80 Mon Sep 17 00:00:00 2001 From: eap Date: Fri, 24 Mar 2006 11:59:10 +0000 Subject: [PATCH] ease the life of possible ancestors --- src/StdMeshersGUI/StdMeshersGUI_StdHypothesisCreator.cxx | 4 ++++ src/StdMeshersGUI/StdMeshersGUI_StdHypothesisCreator.h | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) 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 -- 2.39.2