This repository has been archived on 2024-06-03. You can view files and clone it, but cannot push or open issues or pull requests.
shared-libraries/ScStwStyling/resources/qml/lib/ScStwQmlComponents/BusyIndicator.qml

27 lines
581 B
QML
Raw Normal View History

2020-05-26 17:16:49 +02:00
import QtQuick 2.0
import QtQuick.Templates 2.0 as T
import QtQuick.Controls 2.0
2020-05-26 17:16:49 +02:00
T.BusyIndicator {
id: control
contentItem: Item {
2020-05-26 17:16:49 +02:00
Image {
id: holdImage
anchors.fill: parent
2020-05-26 17:16:49 +02:00
source: "qrc:/images/SpeedHold.png"
fillMode: Image.PreserveAspectFit
}
2020-05-26 17:16:49 +02:00
RotationAnimation {
target: holdImage
running: control.running
duration: 1000
loops: Animation.Infinite
from: 0
to: 360
easing.type: Easing.InOutQuad
}
}
}