BusyIndicator QML Type

A busy indicator. 更多...

import 语句: import QtQuick.Controls 1.4
Since: Qt 5.2
继承: FocusScope

特性

详细描述

The busy indicator should be used to indicate activity while content is being loaded or the UI is blocked waiting for a resource to become available.

The following snippet shows how to use the BusyIndicator :

BusyIndicator {
    running: image.status === Image.Loading
}
					

You can create a custom appearance for a Busy Indicator by assigning a BusyIndicatorStyle .

特性文档编制

running : bool

This property holds whether the busy indicator is currently indicating activity.

注意: The indicator is only visible when this property is set to true .

默认值为 true .

style : Component

The style Component for this control.

另请参阅 Qt Quick Controls Styles QML Types .