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

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