diff --git a/data/qml/SpinnerTest.qml b/data/qml/SpinnerTest.qml new file mode 100644 index 000000000..217b4dbcf --- /dev/null +++ b/data/qml/SpinnerTest.qml @@ -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 + } +} + + +}