summaryrefslogtreecommitdiff
path: root/examples/demos/photoviewer/PhotoViewerCore/BusyIndicator.qml
blob: ead9d920bf82e16cada18d2f3d095bf9e03fd2ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause

import QtQuick

Image {
    id: container
    property bool on: false

    source: "images/busy.png"; visible: container.on
    NumberAnimation on rotation { running: container.on; from: 0; to: 360; loops: Animation.Infinite; duration: 1200 }
}