summaryrefslogtreecommitdiff
path: root/kf5-kanotix-settings/share/plasma
diff options
context:
space:
mode:
authorHolger Paradies <retabell@gmx.de>2017-11-01 17:29:53 +0100
committerHolger Paradies <retabell@gmx.de>2017-11-01 17:29:53 +0100
commit6b51bad9c59a1ca13e5d2c0afc27053960ce6b69 (patch)
treebd345fa546dae8093ea7daac63e1a997f92a8150 /kf5-kanotix-settings/share/plasma
parent557ca044c6b4a399135afc6394fb530f5c90cf0a (diff)
downloadetcskel-kanotix-6b51bad9c59a1ca13e5d2c0afc27053960ce6b69.zip
etcskel-kanotix-6b51bad9c59a1ca13e5d2c0afc27053960ce6b69.tar.gz
add kanotix splash based on breeze splash
Diffstat (limited to 'kf5-kanotix-settings/share/plasma')
-rw-r--r--kf5-kanotix-settings/share/plasma/look-and-feel/Steelfire/contents/previews/splash.pngbin0 -> 63995 bytes
-rw-r--r--kf5-kanotix-settings/share/plasma/look-and-feel/Steelfire/contents/splash/Splash.qml92
-rw-r--r--kf5-kanotix-settings/share/plasma/look-and-feel/Steelfire/contents/splash/images/busywidget.svgzbin0 -> 7210 bytes
-rw-r--r--kf5-kanotix-settings/share/plasma/look-and-feel/Steelfire/contents/splash/images/kanotix.svgzbin0 -> 34614 bytes
4 files changed, 92 insertions, 0 deletions
diff --git a/kf5-kanotix-settings/share/plasma/look-and-feel/Steelfire/contents/previews/splash.png b/kf5-kanotix-settings/share/plasma/look-and-feel/Steelfire/contents/previews/splash.png
new file mode 100644
index 0000000..865385a
--- /dev/null
+++ b/kf5-kanotix-settings/share/plasma/look-and-feel/Steelfire/contents/previews/splash.png
Binary files differ
diff --git a/kf5-kanotix-settings/share/plasma/look-and-feel/Steelfire/contents/splash/Splash.qml b/kf5-kanotix-settings/share/plasma/look-and-feel/Steelfire/contents/splash/Splash.qml
new file mode 100644
index 0000000..27077a7
--- /dev/null
+++ b/kf5-kanotix-settings/share/plasma/look-and-feel/Steelfire/contents/splash/Splash.qml
@@ -0,0 +1,92 @@
+/*
+ * Copyright 2014 Marco Martin <mart@kde.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2,
+ * or (at your option) any later version, as published by the Free
+ * Software Foundation
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program; if not, write to the
+ * Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ */
+
+import QtQuick 2.5
+
+Rectangle {
+ id: root
+ color: "#709cd2"
+
+ property int stage
+
+ onStageChanged: {
+ if (stage == 2) {
+ introAnimation.running = true;
+ } else if (stage == 5) {
+ introAnimation.target = busyIndicator;
+ introAnimation.from = 1;
+ introAnimation.to = 0;
+ introAnimation.running = true;
+ }
+ }
+
+ Item {
+ id: content
+ anchors.fill: parent
+ opacity: 0
+ TextMetrics {
+ id: units
+ text: "M"
+ property int gridUnit: boundingRect.height
+ property int largeSpacing: units.gridUnit
+ property int smallSpacing: Math.max(2, gridUnit/4)
+ }
+
+ Image {
+ id: logo
+ //match SDDM/lockscreen avatar positioning
+ property real size: units.gridUnit * 8
+
+ anchors.centerIn: parent
+
+ source: "images/kanotix.svgz"
+
+ sourceSize.width: size*2
+ sourceSize.height: size*2
+ }
+
+ Image {
+ id: busyIndicator
+ //again sync from SDDM theme
+ anchors.top: logo.bottom
+ anchors.topMargin: units.largeSpacing
+ anchors.horizontalCenter: parent.horizontalCenter
+ source: "images/busywidget.svgz"
+ sourceSize.height: units.gridUnit * 4
+ sourceSize.width: units.gridUnit * 4
+ RotationAnimator on rotation {
+ id: rotationAnimator
+ from: 0
+ to: 360
+ duration: 1500
+ loops: Animation.Infinite
+ }
+ }
+ }
+
+ OpacityAnimator {
+ id: introAnimation
+ running: false
+ target: content
+ from: 0
+ to: 1
+ duration: 1000
+ easing.type: Easing.InOutQuad
+ }
+}
diff --git a/kf5-kanotix-settings/share/plasma/look-and-feel/Steelfire/contents/splash/images/busywidget.svgz b/kf5-kanotix-settings/share/plasma/look-and-feel/Steelfire/contents/splash/images/busywidget.svgz
new file mode 100644
index 0000000..9a85b2d
--- /dev/null
+++ b/kf5-kanotix-settings/share/plasma/look-and-feel/Steelfire/contents/splash/images/busywidget.svgz
Binary files differ
diff --git a/kf5-kanotix-settings/share/plasma/look-and-feel/Steelfire/contents/splash/images/kanotix.svgz b/kf5-kanotix-settings/share/plasma/look-and-feel/Steelfire/contents/splash/images/kanotix.svgz
new file mode 100644
index 0000000..f7cd5f8
--- /dev/null
+++ b/kf5-kanotix-settings/share/plasma/look-and-feel/Steelfire/contents/splash/images/kanotix.svgz
Binary files differ