Compatibility Members for QAbstractSlider

以下成員源於類 QAbstractSlider are part of the Qt compatibility layer. We advise against using them in new code.

公共函數

void addLine ()
void addPage ()
int lineStep () const
int maxValue () const
int minValue () const
void setLineStep (int v )
void setMaxValue (int v )
void setMinValue (int v )
void setSteps (int single , int page )
void subtractLine ()
void subtractPage ()

成員函數文檔編製

void QAbstractSlider:: addLine ()

使用 triggerAction ( QAbstractSlider::SliderSingleStepAdd ) 代替。

void QAbstractSlider:: addPage ()

使用 triggerAction ( QAbstractSlider::SliderPageStepAdd ) 代替。

int QAbstractSlider:: lineStep () const

使用 singleStep () 代替。

另請參閱 setLineStep ().

int QAbstractSlider:: maxValue () const

使用 maximum () 代替。

另請參閱 setMaxValue ().

int QAbstractSlider:: minValue () const

使用 minimum () 代替。

另請參閱 setMinValue ().

void QAbstractSlider:: setLineStep ( int v )

使用 setSingleStep () 代替。

另請參閱 lineStep ().

void QAbstractSlider:: setMaxValue ( int v )

使用 setMaximum () 代替。

另請參閱 maxValue ().

void QAbstractSlider:: setMinValue ( int v )

使用 setMinimum () 代替。

另請參閱 minValue ().

void QAbstractSlider:: setSteps ( int single , int page )

使用 setSingleStep ( single ) followed by setPageStep ( page ) 代替。

void QAbstractSlider:: subtractLine ()

使用 triggerAction ( QAbstractSlider::SliderSingleStepSub ) 代替。

void QAbstractSlider:: subtractPage ()

使用 triggerAction ( QAbstractSlider::SliderPageStepSub ) 代替。