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 ().