From 09834f19606bdcd40e82c65e7a90ff7627094c61 Mon Sep 17 00:00:00 2001 From: eap Date: Tue, 13 Jan 2009 13:05:16 +0000 Subject: [PATCH] 0019941: EDF 766 SMESH : Max length hypothesis + virtual void valueChanged( QWidget* ); --- src/SMESHGUI/SMESHGUI_Hypotheses.cxx | 5 +++++ src/SMESHGUI/SMESHGUI_Hypotheses.h | 1 + 2 files changed, 6 insertions(+) diff --git a/src/SMESHGUI/SMESHGUI_Hypotheses.cxx b/src/SMESHGUI/SMESHGUI_Hypotheses.cxx index 230491f7b..455f83713 100644 --- a/src/SMESHGUI/SMESHGUI_Hypotheses.cxx +++ b/src/SMESHGUI/SMESHGUI_Hypotheses.cxx @@ -247,6 +247,11 @@ QFrame* SMESHGUI_GenericHypothesisCreator::buildStdFrame() } void SMESHGUI_GenericHypothesisCreator::onValueChanged() +{ + valueChanged( (QWidget*) sender() ); +} + +void SMESHGUI_GenericHypothesisCreator::valueChanged( QWidget* ) { } diff --git a/src/SMESHGUI/SMESHGUI_Hypotheses.h b/src/SMESHGUI/SMESHGUI_Hypotheses.h index c46be7f34..4a0fba0e3 100644 --- a/src/SMESHGUI/SMESHGUI_Hypotheses.h +++ b/src/SMESHGUI/SMESHGUI_Hypotheses.h @@ -91,6 +91,7 @@ protected: virtual QWidget* getCustomWidget( const StdParam&, QWidget*, const int ) const; virtual bool getParamFromCustomWidget( StdParam&, QWidget* ) const; + virtual void valueChanged( QWidget* ); virtual QString caption() const; virtual QPixmap icon() const; virtual QString type() const; -- 2.39.2