mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-07 22:56:42 +02:00
* Imported QML resources.
This commit is contained in:
committed by
Michael Zanetti
parent
09c272a07c
commit
17eeae9a8f
34
data/qml/SpinnerTest.qml
Normal file
34
data/qml/SpinnerTest.qml
Normal file
@@ -0,0 +1,34 @@
|
||||
import QtQuick 1.1
|
||||
import "tomahawkimports"
|
||||
|
||||
Rectangle {
|
||||
width: 1400
|
||||
height: 900
|
||||
color: "black"
|
||||
|
||||
BusyIndicator {
|
||||
anchors.centerIn: parent
|
||||
anchors.horizontalCenterOffset: 200
|
||||
height: 200
|
||||
width: 200
|
||||
}
|
||||
|
||||
Image {
|
||||
id: svgSpinner
|
||||
source: "../images/loading-animation.svg"
|
||||
smooth: true
|
||||
height: 200
|
||||
width: 200
|
||||
anchors.centerIn: parent
|
||||
anchors.horizontalCenterOffset: -200
|
||||
|
||||
Timer {
|
||||
running: true
|
||||
repeat: true
|
||||
interval: 200
|
||||
onTriggered: svgSpinner.rotation += 360 / 12
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
Reference in New Issue
Block a user