mirror of
https://gitgud.io/wackyideas/aerothemeplasma.git
synced 2026-06-19 03:45:50 +00:00
55 lines
1.2 KiB
QML
55 lines
1.2 KiB
QML
/*
|
|
SPDX-FileCopyrightText: 2016 David Edmundson <davidedmundson@kde.org>
|
|
|
|
SPDX-License-Identifier: LGPL-2.0-or-later
|
|
*/
|
|
|
|
import QtQuick 2.15
|
|
import QtQuick.Layouts 1.1
|
|
import QtQuick.Controls 2.15
|
|
|
|
import Qt5Compat.GraphicalEffects
|
|
|
|
RowLayout {
|
|
id: root
|
|
|
|
property string statusText
|
|
property int spinnum: 0
|
|
property bool speen
|
|
|
|
spacing: 8
|
|
Image {
|
|
id: loadingspinner
|
|
source: "../images/100/spin"+root.spinnum+".png"
|
|
}
|
|
Label {
|
|
id: welcomeLbl
|
|
z: 1
|
|
text: root.statusText
|
|
color: "#FFFFFF"
|
|
font.pointSize: 18
|
|
renderType: Text.NativeRendering
|
|
font.hintingPreference: Font.PreferFullHinting
|
|
font.kerning: false
|
|
layer.enabled: true
|
|
layer.effect: DropShadow {
|
|
//visible: !softwareRendering
|
|
horizontalOffset: 0
|
|
verticalOffset: 1
|
|
radius: 6
|
|
samples: 14
|
|
spread: 0.0001
|
|
color: "#bf000000"
|
|
}
|
|
}
|
|
|
|
Timer {
|
|
id: spinner
|
|
running: root.speen
|
|
repeat: true
|
|
onTriggered: {
|
|
root.spinnum = (root.spinnum + 1) % 17;
|
|
}
|
|
interval: 53
|
|
}
|
|
}
|