API Documentation

Documentation for developing SailfishOS applications

ProgressBar QML Type

A horizontal progress bar More...

Import Statement: import Sailfish.Silica 1.0

Properties

Detailed Description

The ProgressBar type provides a horizontal progress bar.

A ProgressBar displays a value within a specific range of values.

Here is a simple progress bar:

 import Sailfish.Silica 1.0

 ProgressBar {
     minimumValue: 0
     maximumValue: 100
     value: 50
 }

Property Documentation

highlighted : bool

This property determines whether the progress bar is shown highlighted.


indeterminate : real

Setting this value to true animates the progress bar without indicating a specific value, to show that progress is being made in an indeterminate manner.

The default value is false.


label : string

The label to display under the progress bar. This text usually describes the process whose progress the control represents.

See also valueText.


maximumValue : real

The maximum value of the progress bar (default: 1.0).


minimumValue : real

The minimum value of the progress bar (default: 0.0)


[read-only] progressValue : real

The current value of the progress displayed in the bar, i.e. bounded by the minimum and maximum values.

See also value.


value : real

The current value of the progress bar.

See also progressValue.


valueText : string

Holds the text to display above the current value. This text usually represents the value of the progress.

 import Sailfish.Silica 1.0

 ProgressBar {
     maximumValue: 100
     value: 50
     valueText: value + "%"
 }

See also label.


We use cookies to improve your user experience and to help us to develop our services. By continuing to browse the site, you approve of our use of cookies.