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

Provides an interactive scroll bar for a Flickable or ListView. More...

Public Member Functions

void pageStepAdd ()
 Increases the value by pageStep.
void pageStepSub ()
 Decreases the value by pageStep.
void singleStepAdd ()
 Increases the value by singleStep.
void singleStepSub ()
 Decreases the value by singleStep.

Properties

Flickable flickableItem
 The flickable item to which the scroll bar is attached.
int maximum
 The maximum value of the scroll bar.
int minimum
 The minimum value of the scroll bar.
int pageStep
 The page step size.
bool pressed
 Whether the scroll bar handle is pressed.
int singleStep
 The single step size.
ScrollBarStyle style
 Provides styling properties for the scroll bar.
int value
 The current value of the scroll bar.

Detailed Description

Provides an interactive scroll bar for a Flickable or ListView.

See Also
Flickable, ListView, ScrollDecorator

Property Documentation

int ScrollBar::maximum

The maximum value of the scroll bar.

The default value is dependent on the content size of flickableItem.

int ScrollBar::minimum

The minimum value of the scroll bar.

The default value is 0.

int ScrollBar::pageStep

The page step size.

The default value is dependent on the size of flickableItem.

int ScrollBar::singleStep

The single step size.

The default value is 28.

int ScrollBar::value

The current value of the scroll bar.

The default value is 0.