2019-12-19 22:46:16 +11:00
|
|
|
// SPDX-License-Identifier: LGPL-3.0-or-later
|
|
|
|
|
2019-07-13 19:39:01 +10:00
|
|
|
import QtQuick 2.12
|
2019-07-21 21:14:16 +10:00
|
|
|
import "Base"
|
2019-06-27 16:31:03 +10:00
|
|
|
|
2020-03-13 16:17:47 +11:00
|
|
|
Rectangle {
|
2020-05-22 09:54:35 +10:00
|
|
|
color: utils.hsluv(0, 0, 0, 0.7)
|
2019-06-27 16:31:03 +10:00
|
|
|
|
2019-07-21 21:14:16 +10:00
|
|
|
HBusyIndicator {
|
2019-06-27 16:31:03 +10:00
|
|
|
anchors.centerIn: parent
|
2019-08-28 09:47:58 +10:00
|
|
|
width: Math.min(160, parent.width - 16, parent.height - 16)
|
|
|
|
height: width
|
2019-11-07 05:29:32 +11:00
|
|
|
|
2020-05-22 09:54:35 +10:00
|
|
|
// Because the theme is not loaded at this point, we must set these
|
|
|
|
// properties manually:
|
|
|
|
baseCircle.strokeColor: utils.hsluv(240, 60 / 1.5 * 2, 0, 0.7)
|
|
|
|
progressCircle.strokeColor: utils.hsluv(240, 60 * 1.5, 72)
|
|
|
|
label.font.family: "Roboto"
|
|
|
|
label.font.pixelSize: 0
|
|
|
|
label.color: "black"
|
|
|
|
label.linkColor: "black"
|
|
|
|
|
2019-06-27 16:31:03 +10:00
|
|
|
}
|
|
|
|
}
|