mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-05 06:10:33 +05:00
Dump Python Extension
This commit is contained in:
parent
7b09f5b72c
commit
386d271df8
@ -35,11 +35,11 @@
|
||||
#include <utilities.h>
|
||||
|
||||
// SALOME GUI includes
|
||||
#include <QtxIntSpinBox.h>
|
||||
#include <SUIT_Session.h>
|
||||
#include <SUIT_MessageBox.h>
|
||||
#include <SUIT_ResourceMgr.h>
|
||||
#include <LightApp_Application.h>
|
||||
#include <SalomeApp_IntSpinBox.h>
|
||||
|
||||
// Qt includes
|
||||
#include <QFrame>
|
||||
@ -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 );
|
||||
}
|
||||
|
@ -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();
|
||||
}
|
||||
|
||||
//=================================================================================
|
||||
|
@ -30,7 +30,7 @@
|
||||
#include "SMESH_SMESHGUI.hxx"
|
||||
|
||||
// SALOME GUI includes
|
||||
#include <QtxDoubleSpinBox.h>
|
||||
#include <SalomeApp_DoubleSpinBox.h>
|
||||
|
||||
#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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user