26 lines
581 B
QML
26 lines
581 B
QML
import QtQuick 2.0
|
|
import QtQuick.Templates 2.0 as T
|
|
import QtQuick.Controls 2.0
|
|
|
|
T.BusyIndicator {
|
|
id: control
|
|
|
|
contentItem: Item {
|
|
Image {
|
|
id: holdImage
|
|
anchors.fill: parent
|
|
source: "qrc:/images/SpeedHold.png"
|
|
fillMode: Image.PreserveAspectFit
|
|
}
|
|
|
|
RotationAnimation {
|
|
target: holdImage
|
|
running: control.running
|
|
duration: 1000
|
|
loops: Animation.Infinite
|
|
from: 0
|
|
to: 360
|
|
easing.type: Easing.InOutQuad
|
|
}
|
|
}
|
|
}
|