C

ProgressBar QML Type

Indicates the progress of an operation. More...

Import Statement: import QtQuick.Controls
Since: Qt Quick Ultralite 1.0
Inherits:

Control

Properties

Detailed Description

ProgressBar indicates the progress of an operation. The value should be updated regularly. The range is defined by its from and to properties, which can contain any value.

ProgressBar {
    value: 0.5
}

See also Controls Styling and Indicator Controls.

Property Documentation

from : real

This property holds the starting value for the progress. The default value is 0.0.

See also to and value.


[read-only] position : real

This property holds the logical position of the progress.

The position is expressed as a fraction of the value, in the range 0.0 - 1.0.

See also value and visualPosition.


to : real

This property holds the end value for the progress. The default value is 1.0.

See also from and value.


value : real

This property holds the progress value. The default value is 0.0.

See also from, to, and position.


[read-only] visualPosition : real

This property holds the visual position of the progress.

The position is expressed as a fraction of the value, in the range 0.0 - 1.0.

See also position and value.


Available under certain Qt licenses.
Find out more.