mirror of
https://gitgud.io/wackyideas/aerothemeplasma.git
synced 2024-08-15 00:43:43 +00:00
Very early KDE 6 release.
This commit is contained in:
parent
7cc4ccabbc
commit
686046d4f7
6272 changed files with 140920 additions and 529657 deletions
53
plasma/look-and-feel/authui7/contents/components/Status.qml
Normal file
53
plasma/look-and-feel/authui7/contents/components/Status.qml
Normal file
|
@ -0,0 +1,53 @@
|
|||
/*
|
||||
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"+spinnum+".png"
|
||||
}
|
||||
Label {
|
||||
id: welcomeLbl
|
||||
z: 1
|
||||
text: 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"
|
||||
}
|
||||
}
|
||||
|
||||
SequentialAnimation {
|
||||
id: spinner
|
||||
running: speen
|
||||
loops: Animation.Infinite
|
||||
NumberAnimation { target: root; property: "spinnum"; to: 17; duration: 900 }
|
||||
NumberAnimation { target: root; property: "spinnum"; to: 0; duration: 0 }
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue