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
This property determines whether the progress bar is shown highlighted.
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.
The label to display under the progress bar. This text usually describes the process whose progress the control represents.
See also valueText.
The maximum value of the progress bar (default: 1.0).
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.
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.