ProgressBar QML Type
A styled progress bar with determinate and indeterminate modes. More...
| Import Statement: | import FluentUI 1.0 |
Properties
- accentColor : var
- from : real
- indeterminate : bool
- position : real
- to : real
- value : real
- visualPosition : real
Detailed Description
ProgressBar provides a visual indication of progress for lengthy operations. It supports both determinate mode, where the value property indicates a specific progress percentage, and indeterminate mode, where a continuous animation is shown to indicate that an operation is in progress without a known completion point.
Property Documentation
accentColor : var
The accent color used to render the progress bar fill. Can be a color, string, or Qt.rgba value.
from : real
The starting value of the progress bar range. Defaults to 0.0.
indeterminate : bool
When set to true, the progress bar shows a continuous looping animation instead of reflecting the value. This is useful when the total work duration cannot be determined.
position : real
The logical position of the progress indicator, computed as (value - from) / (to - from). Not used in indeterminate mode.
to : real
The ending value of the progress bar range. Defaults to 1.0.
value : real
The current progress value within the range defined by from and to.
visualPosition : real
The visual position of the progress indicator, taking into account the effective layout direction. Mirrored for right-to-left layouts.