BusyIndicatorStyle QML Type

Provides custom styling for BusyIndicatorStyle. More...

Import Statement: import QtQuick.Controls.Styles 1.4
Since: Qt 5.2


Detailed Description

You can create a busy indicator by replacing the "indicator" delegate of the BusyIndicatorStyle with a custom design.


BusyIndicator {
    style: BusyIndicatorStyle {
        indicator: Image {
            visible: control.running
            source: "spinner.png"
            RotationAnimator on rotation {
                running: control.running
                loops: Animation.Infinite
                duration: 2000
                from: 0 ; to: 360

Property Documentation

[read-only] control : BusyIndicator

The BusyIndicator this style is attached to.

indicator : Component

This defines the appearance of the busy indicator.

© 2023 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.