From edb00da9cefc08605534ebfe5a837e10c9efc3f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C3=A9cureuil?= Date: Sun, 15 Nov 2015 01:14:11 +0100 Subject: Add Mageia KSplash ( from Donald Stewart ) --- .../org.mageia.breeze.desktop/contents/defaults | 6 - .../contents/previews/splash.png | Bin 0 -> 21537 bytes .../contents/splash/README | 1 + .../contents/splash/Splash.qml | 174 +++++++++++++++++++++ .../contents/splash/images/background.png | Bin 0 -> 1765454 bytes .../contents/splash/images/bubble1.png | Bin 0 -> 600 bytes .../contents/splash/images/bubble2.png | Bin 0 -> 592 bytes .../contents/splash/images/bubble3.png | Bin 0 -> 527 bytes .../contents/splash/images/bubble4.png | Bin 0 -> 494 bytes .../contents/splash/images/bubble5.png | Bin 0 -> 442 bytes .../contents/splash/images/logo.png | Bin 0 -> 11545 bytes 11 files changed, 175 insertions(+), 6 deletions(-) create mode 100644 usr/share/plasma/look-and-feel/org.mageia.breeze.desktop/contents/previews/splash.png create mode 100644 usr/share/plasma/look-and-feel/org.mageia.breeze.desktop/contents/splash/README create mode 100644 usr/share/plasma/look-and-feel/org.mageia.breeze.desktop/contents/splash/Splash.qml create mode 100644 usr/share/plasma/look-and-feel/org.mageia.breeze.desktop/contents/splash/images/background.png create mode 100644 usr/share/plasma/look-and-feel/org.mageia.breeze.desktop/contents/splash/images/bubble1.png create mode 100644 usr/share/plasma/look-and-feel/org.mageia.breeze.desktop/contents/splash/images/bubble2.png create mode 100644 usr/share/plasma/look-and-feel/org.mageia.breeze.desktop/contents/splash/images/bubble3.png create mode 100644 usr/share/plasma/look-and-feel/org.mageia.breeze.desktop/contents/splash/images/bubble4.png create mode 100644 usr/share/plasma/look-and-feel/org.mageia.breeze.desktop/contents/splash/images/bubble5.png create mode 100644 usr/share/plasma/look-and-feel/org.mageia.breeze.desktop/contents/splash/images/logo.png diff --git a/usr/share/plasma/look-and-feel/org.mageia.breeze.desktop/contents/defaults b/usr/share/plasma/look-and-feel/org.mageia.breeze.desktop/contents/defaults index 3c37a4c..1dfe182 100644 --- a/usr/share/plasma/look-and-feel/org.mageia.breeze.desktop/contents/defaults +++ b/usr/share/plasma/look-and-feel/org.mageia.breeze.desktop/contents/defaults @@ -12,9 +12,3 @@ name=default [kcminputrc][Mouse] cursorTheme=breeze_cursors - -[kwinrc][WindowSwitcher] -LayoutName=org.mageia.breeze.desktop - -[kwinrc][DesktopSwitcher] -LayoutName=org.mageia.breeze.desktop diff --git a/usr/share/plasma/look-and-feel/org.mageia.breeze.desktop/contents/previews/splash.png b/usr/share/plasma/look-and-feel/org.mageia.breeze.desktop/contents/previews/splash.png new file mode 100644 index 0000000..b932b69 Binary files /dev/null and b/usr/share/plasma/look-and-feel/org.mageia.breeze.desktop/contents/previews/splash.png differ diff --git a/usr/share/plasma/look-and-feel/org.mageia.breeze.desktop/contents/splash/README b/usr/share/plasma/look-and-feel/org.mageia.breeze.desktop/contents/splash/README new file mode 100644 index 0000000..719d87d --- /dev/null +++ b/usr/share/plasma/look-and-feel/org.mageia.breeze.desktop/contents/splash/README @@ -0,0 +1 @@ +Mageia KSplash diff --git a/usr/share/plasma/look-and-feel/org.mageia.breeze.desktop/contents/splash/Splash.qml b/usr/share/plasma/look-and-feel/org.mageia.breeze.desktop/contents/splash/Splash.qml new file mode 100644 index 0000000..4fe84fc --- /dev/null +++ b/usr/share/plasma/look-and-feel/org.mageia.breeze.desktop/contents/splash/Splash.qml @@ -0,0 +1,174 @@ +/* vim:set foldenable foldmethod=marker: + * + * 2014 by DarkBeastOfPrey + * Copyright (C) 2011 Ivan Cukic + * + * 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.2 + +Item { + id: main + + width: screenSize.width + height: screenSize.height + // width: 300 + // height: 300 + + /* property declarations --------------------------{{{ */ + property int stage + /* }}} */ + + /* signal declarations ----------------------------{{{ */ + + /* }}} */ + + /* JavaScript functions ---------------------------{{{ */ + onStageChanged: { + if (stage == 1) { + mageia.opacity = 0.25 + bubble1.opacity = 0.25 + } + if (stage == 2) { + mageia.opacity = 1 + bubble1.opacity = 1 + bubble2.opacity = 1 + } + if (stage == 3) { + bubble3.opacity = 1 + } + if (stage == 4) { + bubble4.opacity = 1 + } + if (stage == 5) { + bubble5.opacity = 1 + } + if (stage == 6) { + } + } + /* }}} */ + + /* object properties ------------------------------{{{ */ + + /* }}} */ + + /* child objects ----------------------------------{{{ */ + + Image { + id: background + source: "images/background.png" + anchors.fill: parent + + anchors { + top: parent.top + left: parent.left + right: parent.right + bottom: parent.bottom + + } + opacity: 1 + } + + Image { + id: bubble1 + smooth: true + + x: (parent.width) /4 + 30 + y: (parent.height) / 2 - 70 + + source: "images/bubble1.png" + + opacity: 0 + Behavior on opacity { NumberAnimation { duration: 3000; easing { type: Easing.InOutQuad } } } + } + + Image { + id: bubble2 + smooth: true + + x: (parent.width) /4 + 30 + y: (parent.height) / 2 - 70 + + source: "images/bubble2.png" + + opacity: 0 + Behavior on opacity { NumberAnimation { duration: 3000; easing { type: Easing.InOutQuad } } } + } + + Image { + id: bubble3 + smooth: true + + x: (parent.width) /4 + 30 + y: (parent.height) / 2 - 70 + + source: "images/bubble3.png" + + opacity: 0 + Behavior on opacity { NumberAnimation { duration: 3000; easing { type: Easing.InOutQuad } } } + } + + Image { + id: bubble4 + smooth: true + + x: (parent.width) /4 + 30 + y: (parent.height) / 2 - 70 + + source: "images/bubble4.png" + + opacity: 0 + Behavior on opacity { NumberAnimation { duration: 3000; easing { type: Easing.InOutQuad } } } + } + + Image { + id: bubble5 + smooth: true + + x: (parent.width) /4 + 30 + y: (parent.height) / 2 - 70 + + source: "images/bubble5.png" + + opacity: 0 + Behavior on opacity { NumberAnimation { duration: 3000; easing { type: Easing.InOutQuad } } } + } + + Image { + id: mageia + smooth: true + + x: (parent.width) / 4 + y: (parent.height) / 2 + + source: "images/logo.png" + + opacity: 0 + Behavior on opacity { NumberAnimation { duration: 3000; easing { type: Easing.InOutQuad } } } + } + + /* }}} */ + + /* stages -----------------------------------------{{{ */ + + /* }}} */ + + /* transitions ------------------------------------{{{ */ + + /* }}} */ +} + diff --git a/usr/share/plasma/look-and-feel/org.mageia.breeze.desktop/contents/splash/images/background.png b/usr/share/plasma/look-and-feel/org.mageia.breeze.desktop/contents/splash/images/background.png new file mode 100644 index 0000000..378bf38 Binary files /dev/null and b/usr/share/plasma/look-and-feel/org.mageia.breeze.desktop/contents/splash/images/background.png differ diff --git a/usr/share/plasma/look-and-feel/org.mageia.breeze.desktop/contents/splash/images/bubble1.png b/usr/share/plasma/look-and-feel/org.mageia.breeze.desktop/contents/splash/images/bubble1.png new file mode 100644 index 0000000..84c6888 Binary files /dev/null and b/usr/share/plasma/look-and-feel/org.mageia.breeze.desktop/contents/splash/images/bubble1.png differ diff --git a/usr/share/plasma/look-and-feel/org.mageia.breeze.desktop/contents/splash/images/bubble2.png b/usr/share/plasma/look-and-feel/org.mageia.breeze.desktop/contents/splash/images/bubble2.png new file mode 100644 index 0000000..4a661ab Binary files /dev/null and b/usr/share/plasma/look-and-feel/org.mageia.breeze.desktop/contents/splash/images/bubble2.png differ diff --git a/usr/share/plasma/look-and-feel/org.mageia.breeze.desktop/contents/splash/images/bubble3.png b/usr/share/plasma/look-and-feel/org.mageia.breeze.desktop/contents/splash/images/bubble3.png new file mode 100644 index 0000000..d34a20a Binary files /dev/null and b/usr/share/plasma/look-and-feel/org.mageia.breeze.desktop/contents/splash/images/bubble3.png differ diff --git a/usr/share/plasma/look-and-feel/org.mageia.breeze.desktop/contents/splash/images/bubble4.png b/usr/share/plasma/look-and-feel/org.mageia.breeze.desktop/contents/splash/images/bubble4.png new file mode 100644 index 0000000..f93046d Binary files /dev/null and b/usr/share/plasma/look-and-feel/org.mageia.breeze.desktop/contents/splash/images/bubble4.png differ diff --git a/usr/share/plasma/look-and-feel/org.mageia.breeze.desktop/contents/splash/images/bubble5.png b/usr/share/plasma/look-and-feel/org.mageia.breeze.desktop/contents/splash/images/bubble5.png new file mode 100644 index 0000000..1549e65 Binary files /dev/null and b/usr/share/plasma/look-and-feel/org.mageia.breeze.desktop/contents/splash/images/bubble5.png differ diff --git a/usr/share/plasma/look-and-feel/org.mageia.breeze.desktop/contents/splash/images/logo.png b/usr/share/plasma/look-and-feel/org.mageia.breeze.desktop/contents/splash/images/logo.png new file mode 100644 index 0000000..dce2b6a Binary files /dev/null and b/usr/share/plasma/look-and-feel/org.mageia.breeze.desktop/contents/splash/images/logo.png differ -- cgit v1.2.1