Update splash

This commit is contained in:
Jean-Baptiste Mardelle
2025-12-04 23:09:14 +01:00
parent 2167d583a6
commit a1b0f78d8a
6 changed files with 21 additions and 22 deletions

View File

@@ -109,7 +109,7 @@ SPDX-FileCopyrightText = "Nara Oliveira and Farid Abdelnour"
SPDX-License-Identifier = "LGPL-3.0-or-later" SPDX-License-Identifier = "LGPL-3.0-or-later"
[[annotations]] [[annotations]]
path = "data/pics/splash-background.png" path = "data/pics/splash-background.webp"
precedence = "aggregate" precedence = "aggregate"
SPDX-FileCopyrightText = "Farid Abdelnour" SPDX-FileCopyrightText = "Farid Abdelnour"
SPDX-License-Identifier = "LGPL-3.0-or-later" SPDX-License-Identifier = "LGPL-3.0-or-later"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 633 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

View File

@@ -52,8 +52,8 @@ Window {
Rectangle { Rectangle {
id: splashContent id: splashContent
height: splash.crashRecovery || splash.wasUpgraded ? kdenliveid.height * 17 : kdenliveid.height * 15 height: splash.crashRecovery || splash.wasUpgraded ? kdenliveid.height * 15 : kdenliveid.height * 13
width: height * 1.78 width: height * 2
radius: 8 radius: 8
border.width: 2 border.width: 2
border.color:"#f38577" border.color:"#f38577"
@@ -87,8 +87,9 @@ Window {
id: background id: background
anchors.fill: parent anchors.fill: parent
anchors.margins: 5 anchors.margins: 5
source: "qrc:/pics/splash-background.png" source: "qrc:/pics/splash-background.webp"
fillMode: Image.TileVertically verticalAlignment: Image.AlignTop
fillMode: Image.PreserveAspectCrop
// Make By KDE // Make By KDE
Image { Image {
id: kdelogo id: kdelogo

View File

@@ -160,35 +160,33 @@ Window {
Image { Image {
id: background id: background
anchors.fill: parent anchors.fill: parent
anchors.margins: 5 anchors.margins: 5
anchors.bottomMargin: 10 anchors.bottomMargin: 10
source: "qrc:/pics/splash-background.png" source: "qrc:/pics/splash-background.webp"
fillMode: Image.TileVertically verticalAlignment: Image.AlignTop
fillMode: Image.PreserveAspectCrop
Text {
id: kdelabel
anchors.bottom: parent.bottom
anchors.right: parent.right
anchors.margins: 10
color: "#FFFFFF"
text: i18n("Made by KDE")
}
// Made By KDE // Made By KDE
Image { Image {
id: kdelogo id: kdelogo
asynchronous: true asynchronous: true
anchors.top: parent.top anchors.verticalCenter: kdelabel.verticalCenter
anchors.left: parent.left anchors.right: kdelabel.left
anchors.margins: 10
height: kdelabel.height height: kdelabel.height
width: height width: height
source: "qrc:/pics/kde-logo.png" source: "qrc:/pics/kde-logo.png"
fillMode: Image.PreserveAspectFit fillMode: Image.PreserveAspectFit
} }
Text {
id: kdelabel
anchors.verticalCenter: kdelogo.verticalCenter
anchors.left: kdelogo.right
color: "#FFFFFF"
text: i18n("Made by KDE")
}
} }
// rounded corners for image // rounded corners for image

View File

@@ -6,6 +6,6 @@
<file alias="kdenlive.png">../data/icons/48-apps-kdenlive.png</file> <file alias="kdenlive.png">../data/icons/48-apps-kdenlive.png</file>
<file alias="kdenlive-logo.png">../data/pics/kdenlive-logo.png</file> <file alias="kdenlive-logo.png">../data/pics/kdenlive-logo.png</file>
<file alias="kde-logo.png">../data/pics/kde-logo.png</file> <file alias="kde-logo.png">../data/pics/kde-logo.png</file>
<file alias="splash-background.png">../data/pics/splash-background.png</file> <file alias="splash-background.webp">../data/pics/splash-background.webp</file>
</qresource> </qresource>
</RCC> </RCC>