From: eap Date: Tue, 13 Jan 2009 13:05:16 +0000 (+0000) Subject: 0019941: EDF 766 SMESH : Max length hypothesis X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=09834f19606bdcd40e82c65e7a90ff7627094c61;p=modules%2Fsmesh.git 0019941: EDF 766 SMESH : Max length hypothesis + virtual void valueChanged( QWidget* ); --- 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;