From 386d271df8cddc73d50c86fa74085316b2535fd4 Mon Sep 17 00:00:00 2001 From: ouv Date: Fri, 31 Oct 2008 13:41:04 +0000 Subject: [PATCH] Dump Python Extension --- src/SMESHGUI/SMESHGUI_Hypotheses.cxx | 8 ++++---- src/SMESHGUI/SMESHGUI_SpinBox.cxx | 4 ++-- src/SMESHGUI/SMESHGUI_SpinBox.h | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/SMESHGUI/SMESHGUI_Hypotheses.cxx b/src/SMESHGUI/SMESHGUI_Hypotheses.cxx index 230491f7b..11500d302 100644 --- a/src/SMESHGUI/SMESHGUI_Hypotheses.cxx +++ b/src/SMESHGUI/SMESHGUI_Hypotheses.cxx @@ -35,11 +35,11 @@ #include // SALOME GUI includes -#include #include #include #include #include +#include // Qt includes #include @@ -206,7 +206,7 @@ QFrame* SMESHGUI_GenericHypothesisCreator::buildStdFrame() { case QVariant::Int: { - QtxIntSpinBox* sb = new QtxIntSpinBox( GroupC1 ); + SalomeApp_IntSpinBox* sb = new SalomeApp_IntSpinBox( GroupC1 ); sb->setObjectName( (*anIt).myName ); attuneStdWidget( sb, i ); sb->setValue( (*anIt).myValue.toInt() ); @@ -269,9 +269,9 @@ bool SMESHGUI_GenericHypothesisCreator::getStdParamFromDlg( ListOfStdParams& par for( ; anIt!=aLast; anIt++ ) { item.myName = (*anIt)->objectName(); - if( (*anIt)->inherits( "QtxIntSpinBox" ) ) + if( (*anIt)->inherits( "SalomeApp_IntSpinBox" ) ) { - QtxIntSpinBox* sb = ( QtxIntSpinBox* )( *anIt ); + SalomeApp_IntSpinBox* sb = ( SalomeApp_IntSpinBox* )( *anIt ); item.myValue = sb->value(); params.append( item ); } diff --git a/src/SMESHGUI/SMESHGUI_SpinBox.cxx b/src/SMESHGUI/SMESHGUI_SpinBox.cxx index d405feb99..1c06b2ea6 100644 --- a/src/SMESHGUI/SMESHGUI_SpinBox.cxx +++ b/src/SMESHGUI/SMESHGUI_SpinBox.cxx @@ -35,7 +35,7 @@ // purpose : constructor of specific widget accepting floats in double precision. //================================================================================= SMESHGUI_SpinBox::SMESHGUI_SpinBox( QWidget* parent ) - : QtxDoubleSpinBox( parent ) + : SalomeApp_DoubleSpinBox( parent ) { } @@ -90,7 +90,7 @@ QString SMESHGUI_SpinBox::GetString() const //================================================================================= QLineEdit* SMESHGUI_SpinBox::editor() const { - return QtxDoubleSpinBox::lineEdit(); + return SalomeApp_DoubleSpinBox::lineEdit(); } //================================================================================= diff --git a/src/SMESHGUI/SMESHGUI_SpinBox.h b/src/SMESHGUI/SMESHGUI_SpinBox.h index 4be468aca..604fe8042 100644 --- a/src/SMESHGUI/SMESHGUI_SpinBox.h +++ b/src/SMESHGUI/SMESHGUI_SpinBox.h @@ -30,7 +30,7 @@ #include "SMESH_SMESHGUI.hxx" // SALOME GUI includes -#include +#include #define COORD_MIN -1e+15 #define COORD_MAX +1e+15 @@ -43,7 +43,7 @@ class QDoubleValidator; // class : SMESHGUI_SpinBox // purpose : Derivated from QtxDoubleSpinBox class //================================================================================= -class SMESHGUI_EXPORT SMESHGUI_SpinBox : public QtxDoubleSpinBox +class SMESHGUI_EXPORT SMESHGUI_SpinBox : public SalomeApp_DoubleSpinBox { Q_OBJECT -- 2.39.2