Qt Components Hildon  0.20
QML components for Maemo5 with Hildon styling.
 All Classes Functions Properties Groups Pages
Properties | List of all members
Slider Class Reference

A slider for choosing an integer value. More...

Properties

int maximum
 The maximum value of the slider.
int minimum
 The minimum value of the slider.
bool pressed
 Whether the slider handle is pressed down.
SliderStyle style
 Provides styling properties for the slider.
bool tracking
 Whether the value should be changed while the slider handle is pressed down.
int value
 The current value of the slider.

Detailed Description

A slider for choosing an integer value.

See Also
BiDirectionalSlider, SliderStyle
Examples:
menus.qml.

Property Documentation

int Slider::maximum

The maximum value of the slider.

The default value is 100.

int Slider::minimum

The minimum value of the slider.

The default value is 0.

SliderStyle Slider::style

Provides styling properties for the slider.

You can provide your own SliderStyle component if you wish to use custom styling.

bool Slider::tracking

Whether the value should be changed while the slider handle is pressed down.

If true, the value property will change when slider is dragged by the user. Otherwise, the value property will change only when the handle is released.

The default value is false.

int Slider::value

The current value of the slider.

The default value is 0.