/usr/share/ksplash/Themes/Minimalistic/main.qml is in plasma-workspace 4:5.12.4-0ubuntu3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 | /* vim:set foldenable foldmethod=marker:
*
* 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.0
Item {
id: main
width: screenSize.width
height: screenSize.height
// width: 300
// height: 300
/* property declarations --------------------------{{{ */
property int stage
property int iconSize: (screenSize.width <= 1024) ? 64 : 128
/* }}} */
/* signal declarations ----------------------------{{{ */
/* }}} */
/* JavaScript functions ---------------------------{{{ */
onStageChanged: {
if (stage == 1) {
background.opacity = 1
gear.opacity = 0.5
}
if (stage == 2) {
gear.opacity = 1
mask.opacity = 1
letter.opacity = 1
}
if (stage == 3) {
}
if (stage == 4) {
}
if (stage == 5) {
logo.opacity = 1
}
if (stage == 6) {
}
}
/* }}} */
/* object properties ------------------------------{{{ */
/* }}} */
/* child objects ----------------------------------{{{ */
Rectangle {
color: "black"
anchors.fill: parent
}
Rectangle {
id: background
gradient: Gradient {
GradientStop { position: 0.0; color: "#55555f" }
GradientStop { position: 1.0; color: "#000000" }
}
anchors {
top: parent.top
left: parent.left
right: parent.right
}
height: gear.y - 32
opacity: 0
Behavior on opacity { NumberAnimation { duration: 1000; easing { type: Easing.InOutQuad } } }
}
Image {
id: gear
height: iconSize
width: iconSize
smooth: true
x: (parent.width - width) / 2
y: (parent.height - height) / 2
source: "images/kdegear.png"
opacity: 0
Behavior on opacity { NumberAnimation { duration: 1000; easing { type: Easing.InOutQuad } } }
NumberAnimation {
id: animateRotation
target: gear
properties: "rotation"
from: 0
to: 360
duration: 5000
loops: Animation.Infinite
running: true
}
}
Image {
id: mask
height: iconSize
width: iconSize
smooth: true
x: (parent.width - width) / 2
y: (parent.height - height) / 2
source: "images/kdemask.png"
opacity: 0
Behavior on opacity { NumberAnimation { duration: 1000; easing { type: Easing.InOutQuad } } }
}
Image {
id: letter
height: iconSize
width: iconSize
smooth: true
x: (parent.width - width) / 2
y: (parent.height - height) / 2
source: "images/kdeletter.png"
opacity: 0
Behavior on opacity { NumberAnimation { duration: 1000; easing { type: Easing.InOutQuad } } }
}
Image {
id: logo
height: iconSize
width: iconSize
smooth: true
x: (parent.width - width) / 2
y: (parent.height - height) / 2 - 1
source: "images/kdelogo-contrast.png"
opacity: 0
Behavior on opacity { NumberAnimation { duration: 1000; easing { type: Easing.InOutQuad } } }
}
/* }}} */
/* stages -----------------------------------------{{{ */
/* }}} */
/* transitions ------------------------------------{{{ */
/* }}} */
}
|