moment/src/gui/LoadingScreen.qml

29 lines
697 B
QML
Raw Normal View History

2019-12-19 22:46:16 +11:00
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
import QtGraphicalEffects 1.12
import "Base"
Item {
LinearGradient {
anchors.fill: parent
start: Qt.point(0, 0)
end: Qt.point(window.width, window.height)
gradient: Gradient {
2019-08-30 11:06:24 +10:00
GradientStop { position: 0.0; color: "#001b20" }
GradientStop { position: 1.0; color: "#3c2f4b" }
}
}
HBusyIndicator {
anchors.centerIn: parent
width: Math.min(160, parent.width - 16, parent.height - 16)
height: width
indeterminateSpan: 0.5
foregroundColor: Qt.hsla(0, 0, 1, 0.15)
progressColor: Qt.hsla(0, 0, 1, 0.4)
}
}