Commit 22190150 authored by Jan Blackquill's avatar Jan Blackquill 🌈
Browse files

ksplashqml: remove defunct theme files

These seem to have no use, and only serve to confuse users into thinking
this is where you add splash themes.
parent c6b64d02
Pipeline #204734 passed with stage
in 9 minutes and 19 seconds
add_subdirectory( none )
add_subdirectory( ksplashqml )
add_subdirectory(themes)
set(ksplashqml_SRCS
main.cpp
splashapp.cpp
......
add_subdirectory(Minimalistic)
add_subdirectory(Classic)
install(FILES Preview.png Theme.rc main.qml FadeIn.qml DESTINATION ${KDE_INSTALL_DATADIR}/ksplash/Themes/Classic)
install(FILES images/icon1.png DESTINATION ${KDE_INSTALL_DATADIR}/ksplash/Themes/Classic/images)
install(FILES images/icon2.png DESTINATION ${KDE_INSTALL_DATADIR}/ksplash/Themes/Classic/images)
install(FILES images/icon3.png DESTINATION ${KDE_INSTALL_DATADIR}/ksplash/Themes/Classic/images)
install(FILES images/icon4.png DESTINATION ${KDE_INSTALL_DATADIR}/ksplash/Themes/Classic/images)
install(FILES images/icon5.png DESTINATION ${KDE_INSTALL_DATADIR}/ksplash/Themes/Classic/images)
install(FILES images/rectangle.png DESTINATION ${KDE_INSTALL_DATADIR}/ksplash/Themes/Classic/images)
install(FILES images/background.png DESTINATION ${KDE_INSTALL_DATADIR}/ksplash/Themes/Classic/images)
/*
SPDX-FileCopyrightText: 2013 Martin Klapetek <mklapetek(at)kde.org>
SPDX-License-Identifier: GPL-2.0-or-later
*/
import QtQuick 2.0
NumberAnimation {
id: fadeIn
duration: 1000
easing.type: Easing.InOutQuad
}
[KSplash Theme: Classic]
Name = Classic Splash Screen
Description = Splash Screen from the good old KDE SC 4 series
Version = 1.0
Author = Martin Klapetek <mklapetek(at)kde.org>
Homepage = http://www.kde.org
/*
SPDX-FileCopyrightText: 2013 Martin Klapetek <mklapetek(at)kde.org>
SPDX-License-Identifier: GPL-2.0-or-later
*/
import QtQuick 2.0
Item {
id: main
width: screenSize.width
height: screenSize.height
property int stage
property int iconSize: 78
onStageChanged: {
if (stage == 1) {
iconsBackgroundRect.opacity = 1
}
if (stage == 2) {
icon1.opacity = 1
}
if (stage == 3) {
icon2.opacity = 1
}
if (stage == 4) {
icon3.opacity = 1
}
if (stage == 5) {
icon4.opacity = 1
}
if (stage == 6) {
icon5.opacity = 1
}
}
Image {
id: background
anchors.fill: parent
source: "images/background.png"
}
Image {
id: iconsBackgroundRect
anchors.centerIn: main
width: row.implicitWidth + 32 // 32 being margins
source: "images/rectangle.png"
opacity: 0
Behavior on opacity { FadeIn {} }
Row {
id: row
anchors.horizontalCenter: parent.horizontalCenter
height: parent.height
Image {
id: icon1
anchors.verticalCenter: parent.verticalCenter
width: iconSize
source: "images/icon1.png"
opacity: 0
Behavior on opacity { FadeIn {} }
}
Image {
id: icon2
anchors.verticalCenter: parent.verticalCenter
width: iconSize
source: "images/icon2.png"
opacity: 0
Behavior on opacity { FadeIn {} }
}
Image {
id: icon3
anchors.verticalCenter: parent.verticalCenter
width: iconSize
source: "images/icon3.png"
opacity: 0
Behavior on opacity { FadeIn {} }
}
Image {
id: icon4
anchors.verticalCenter: parent.verticalCenter
width: iconSize
source: "images/icon4.png"
opacity: 0
Behavior on opacity { FadeIn {} }
}
Image {
id: icon5
anchors.verticalCenter: parent.verticalCenter
width: 125
source: "images/icon5.png"
opacity: 0
Behavior on opacity { FadeIn {} }
}
}
}
}
install(FILES Preview.png Theme.rc main.qml DESTINATION ${KDE_INSTALL_DATADIR}/ksplash/Themes/Minimalistic)
install(FILES images/kdegear.png DESTINATION ${KDE_INSTALL_DATADIR}/ksplash/Themes/Minimalistic/images)
install(FILES images/kdeletter.png DESTINATION ${KDE_INSTALL_DATADIR}/ksplash/Themes/Minimalistic/images)
install(FILES images/kdemask.png DESTINATION ${KDE_INSTALL_DATADIR}/ksplash/Themes/Minimalistic/images)
install(FILES images/kdelogo.png DESTINATION ${KDE_INSTALL_DATADIR}/ksplash/Themes/Minimalistic/images)
install(FILES images/kdelogo-contrast.png DESTINATION ${KDE_INSTALL_DATADIR}/ksplash/Themes/Minimalistic/images)
[KSplash Theme: Minimalistic]
Name = Minimalistic splash screen
Description = Animated KDE logo on a black background
Version = 1.0
Author = Ivan Cukic <ivan.cukic at kde.org>
Homepage = https://www.kde.org
# Theme behaviour settings.
Engine = KSplashQML
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment