SliderΒΆ

Inherited: AbstractSlider

DescriptionΒΆ

Slider provides a typical slider control with a draggable knob and a progress bar background that fills to show the current value. Supports both horizontal and vertical orientations.

Public MethodsΒΆ

ProgressBar *

background () const

void

setBackground (ProgressBar * background)

void

setMaximum (int value)

void

setMinimum (int value)

void

setOrientation (int orientation)

void

setValue (int value)

Static MethodsΒΆ

None

Methods DescriptionΒΆ

ProgressBar * Slider::background () const

Returns the background progress bar widget.

See also setBackground().


void Slider::setBackground (ProgressBar * background)

Sets the background progress bar widget.

See also background().


void Slider::setMaximum (int value)

Reimplements: AbstractSlider::setMaximum(int maximum).

Sets the maximum value of the slider.


void Slider::setMinimum (int value)

Reimplements: AbstractSlider::setMinimum(int minimum).

Sets the minimum value of the slider.


void Slider::setOrientation (int orientation)

Reimplements: AbstractSlider::setOrientation(int orientation).

Sets the orientation of the slider.


void Slider::setValue (int value)

Reimplements: AbstractSlider::setValue(int value).

Sets the current value of the slider.