diff options
author | Nicolas Lécureuil <neoclust@mageia.org> | 2016-08-05 10:16:13 +0200 |
---|---|---|
committer | Nicolas Lécureuil <neoclust@mageia.org> | 2016-08-05 10:16:13 +0200 |
commit | bc02c616169caf7517fcb913d4b2c2b043a14641 (patch) | |
tree | 6c0d0721a685656cc41695e9693d0aaf118ae496 /usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/splash/Splash.qml | |
parent | 52e9014a67e68365e2b184aad9c24006554f53ca (diff) | |
download | config-bc02c616169caf7517fcb913d4b2c2b043a14641.tar config-bc02c616169caf7517fcb913d4b2c2b043a14641.tar.gz config-bc02c616169caf7517fcb913d4b2c2b043a14641.tar.bz2 config-bc02c616169caf7517fcb913d4b2c2b043a14641.tar.xz config-bc02c616169caf7517fcb913d4b2c2b043a14641.zip |
Use default plasma theme
Diffstat (limited to 'usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/splash/Splash.qml')
-rw-r--r-- | usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/splash/Splash.qml | 174 |
1 files changed, 174 insertions, 0 deletions
diff --git a/usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/splash/Splash.qml b/usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/splash/Splash.qml new file mode 100644 index 0000000..4fe84fc --- /dev/null +++ b/usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/splash/Splash.qml @@ -0,0 +1,174 @@ +/* vim:set foldenable foldmethod=marker: + * + * 2014 by DarkBeastOfPrey + * Copyright (C) 2011 Ivan Cukic <ivan.cukic(at)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.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 ------------------------------------{{{ */ + + /* }}} */ +} + |