ProgressBar QML Type
A progress bar control. More...
Import Statement: | import Qt.labs.controls 1.0 |
Inherits: |
Properties
- from : real
- indeterminate : bool
- indicator : Item
- position : real
- to : real
- value : real
- visualPosition : real
Detailed Description
ProgressBar indicates the progress of an operation.
A progress bar in its normal state. | |
A progress bar that is disabled. |
ProgressBar {
value: 0.5
}
Note: Types in the Qt.labs module are not guaranteed to remain compatible in future versions.
See also Customizing ProgressBar.
Property Documentation
indicator : Item |
This property holds the indicator item.
See also Customizing ProgressBar.
This property holds the logical position of the progress.
The position is defined as a percentage of the value, scaled to 0.0 - 1.0
. For visualizing the progress, the right-to-left aware visualPosition should be used instead.
See also value and visualPosition.
This property holds the visual position of the progress.
The position is defined as a percentage of the value, scaled to 0.0 - 1.0
. When the control is mirrored, visuaPosition
is equal to 1.0 - position
. This makes visualPosition
suitable for visualizing the progress, taking right-to-left support into account.
© 2017 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.