ProgressBar QML Type

Indicates the progress of an operation. 更多...

导入语句: import QtQuick.Controls .
Since: Qt Quick Ultralite 1.0
继承:

Control

特性

详细描述

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
}
						

另请参阅 Controls Styling and 指示器控件 .

特性文档编制

from : real

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

另请参阅 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 .

另请参阅 value and visualPosition .


to : real

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

另请参阅 from and value .


value : real

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

另请参阅 from , to ,和 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 .

另请参阅 position and value .