Compatibility Members for QSpinBox

以下成员源于类 QSpinBox are part of the Qt compatibility layer. We advise against using them in new code.

公共函数

QSpinBox (QWidget * parent , const char * name )
QSpinBox (int minimum , int maximum , int step , QWidget * parent , const char * name = 0)
int maxValue () const
int minValue () const
void setLineStep (int step )
void setMaxValue (int value )
void setMinValue (int value )

成员函数文档编制

QSpinBox:: QSpinBox ( QWidget * parent , const char * name )

Use one of the constructors that doesn't take the name argument and then use setObjectName () 代替。

QSpinBox:: QSpinBox ( int minimum , int maximum , int step , QWidget * parent , const char * name = 0)

Use one of the constructors that doesn't take the name argument and then use setObjectName () 代替。

int QSpinBox:: maxValue () const

使用 maximum () 代替。

另请参阅 setMaxValue ().

int QSpinBox:: minValue () const

使用 minimum () 代替。

另请参阅 setMinValue ().

void QSpinBox:: setLineStep ( int step )

使用 setSingleStep () 代替。

void QSpinBox:: setMaxValue ( int value )

使用 setMaximum () 代替。

另请参阅 maxValue ().

void QSpinBox:: setMinValue ( int value )

使用 setMinimum () 代替。

另请参阅 minValue ().