summaryrefslogtreecommitdiffstats
path: root/demos/declarative/rssnews/content/BusyIndicator.qml
blob: 4be59a8414b13a5fc3f8db39da2dd76ffb53e2fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import Qt 4.7

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
    }
}