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 ) 代替。