BusyIndicator QML Type

A busy indicator. 更多...

Import Statement: import QtQuick.Controls 1.4
开始支持版本: 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.

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

The default value is true.


style : Component

The style Component for this control.

参见 Qt Quick Controls Styles QML Types.