Compare commits

...

3 Commits

Author SHA1 Message Date
01a639a57c Port SDDM theme to Qt 6 2024-07-06 14:32:27 -05:00
de0def570c Re-indent SDDM QML theme properly 2024-07-06 11:09:05 -05:00
ac75b97fc3 Welcome to Oracular! 2024-07-06 11:02:16 -05:00
4 changed files with 171 additions and 148 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
lubuntu-artwork (24.10.1) UNRELEASED; urgency=medium
* Welcome to Oracular!
-- Simon Quigley <tsimonq2@ubuntu.com> Sat, 06 Jul 2024 11:01:51 -0500
lubuntu-artwork (24.04.6) noble; urgency=medium lubuntu-artwork (24.04.6) noble; urgency=medium
* Update Plymouth text for LTS. * Update Plymouth text for LTS.

View File

@ -4,7 +4,7 @@ Description=Text mode theme based on kubuntu-logo theme
ModuleName=ubuntu-text ModuleName=ubuntu-text
[ubuntu-text] [ubuntu-text]
title=Lubuntu 24.04 LTS title=Lubuntu 24.10
black=0x0078C2 black=0x0078C2
white=0xffffff white=0xffffff
brown=0x009DFD brown=0x009DFD

View File

@ -1,6 +1,6 @@
/*************************************************************************** /***************************************************************************
* Copyright (c) 2013 Abdurrahman AVCI <abdurrahmanavci@gmail.com * Copyright (c) 2013 Abdurrahman AVCI <abdurrahmanavci@gmail.com
* Copyright (c) 2015-2018 Lubuntu Artwork Team * Copyright (c) 2015-2024 Lubuntu Artwork Team
* *
* Permission is hereby granted, free of charge, to any person * Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation * obtaining a copy of this software and associated documentation
@ -35,6 +35,17 @@ Rectangle {
TextConstants { id: textConstants } TextConstants { id: textConstants }
Background {
anchors.fill: parent
source: Qt.resolvedUrl(config.background)
onStatusChanged: {
var defaultBackground = Qt.resolvedUrl(config.defaultBackground)
if (status == Image.Error && source != defaultBackground) {
source = defaultBackground
}
}
}
Connections { Connections {
target: sddm target: sddm
onLoginSucceeded: { onLoginSucceeded: {
@ -49,7 +60,7 @@ Rectangle {
Repeater { Repeater {
model: screenModel model: screenModel
Background { Background {
x: geometry.x; y: geometry.y; width: geometry.width; height:geometry.height x: geometry.x; y: geometry.y; width: geometry.width; height: geometry.height
source: config.background source: config.background
fillMode: Image.PreserveAspectCrop fillMode: Image.PreserveAspectCrop
onStatusChanged: { onStatusChanged: {
@ -92,7 +103,7 @@ Rectangle {
Text { Text {
id: txtMessage id: txtMessage
anchors.top: usersContainer.bottom; anchors.top: usersContainer.bottom
anchors.margins: 20 anchors.margins: 20
anchors.horizontalCenter: parent.horizontalCenter anchors.horizontalCenter: parent.horizontalCenter
color: "white" color: "white"
@ -103,7 +114,8 @@ Rectangle {
Item { Item {
id: usersContainer id: usersContainer
width: parent.width; height: 300 width: parent.width
height: 300
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
ImageButton { ImageButton {
@ -111,18 +123,18 @@ Rectangle {
anchors.left: parent.left anchors.left: parent.left
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
anchors.margins: 10 anchors.margins: 10
source: "angle-left.png" source: Qt.resolvedUrl("angle-left.png")
onClicked: listView.decrementCurrentIndex() onClicked: listView.decrementCurrentIndex()
KeyNavigation.backtab: btnShutdown; KeyNavigation.tab: listView KeyNavigation.backtab: btnShutdown
KeyNavigation.tab: listView
} }
ListView { ListView {
id: listView id: listView
height: parent.height height: parent.height
anchors.left: prevUser.right; anchors.right: nextUser.left anchors.left: prevUser.right
anchors.right: nextUser.left
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
anchors.margins: 10 anchors.margins: 10
@ -136,7 +148,8 @@ Rectangle {
orientation: ListView.Horizontal orientation: ListView.Horizontal
currentIndex: userModel.lastIndex currentIndex: userModel.lastIndex
KeyNavigation.backtab: prevUser; KeyNavigation.tab: nextUser KeyNavigation.backtab: prevUser
KeyNavigation.tab: nextUser
} }
ImageButton { ImageButton {
@ -144,20 +157,21 @@ Rectangle {
anchors.right: parent.right anchors.right: parent.right
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
anchors.margins: 10 anchors.margins: 10
source: "angle-right.png" source: Qt.resolvedUrl("angle-right.png")
onClicked: listView.incrementCurrentIndex() onClicked: listView.incrementCurrentIndex()
KeyNavigation.backtab: listView; KeyNavigation.tab: session KeyNavigation.backtab: listView
KeyNavigation.tab: session
} }
} }
} }
} }
Rectangle { Rectangle {
id: actionBar id: actionBar
anchors.top: parent.top; anchors.top: parent.top
anchors.horizontalCenter: parent.horizontalCenter anchors.horizontalCenter: parent.horizontalCenter
width: parent.width; height: 64 width: parent.width
height: 64
color: "#44ffffff" color: "#44ffffff"
Row { Row {
@ -179,12 +193,13 @@ Rectangle {
id: session id: session
width: 245 width: 245
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
arrowIcon: "angle-down.png" arrowIcon: Qt.resolvedUrl("angle-down.png")
model: sessionModel model: sessionModel
index: sessionModel.lastIndex index: sessionModel.lastIndex
font.pixelSize: 14 font.pixelSize: 14
color: "#44ffffff" color: "#44ffffff"
KeyNavigation.backtab: nextUser; KeyNavigation.tab: layoutBox KeyNavigation.backtab: nextUser
KeyNavigation.tab: layoutBox
} }
Text { Text {
@ -201,8 +216,9 @@ Rectangle {
width: 90 width: 90
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
font.pixelSize: 14 font.pixelSize: 14
arrowIcon: "angle-down.png" arrowIcon: Qt.resolvedUrl("angle-down.png")
KeyNavigation.backtab: session; KeyNavigation.tab: btnShutdown KeyNavigation.backtab: session
KeyNavigation.tab: btnShutdown
} }
} }
@ -224,32 +240,32 @@ Rectangle {
ImageButton { ImageButton {
id: btnSuspend id: btnSuspend
height: parent.height height: parent.height
source: "suspend.png" source: Qt.resolvedUrl("suspend.png")
visible: sddm.canSuspend visible: sddm.canSuspend
onClicked: sddm.suspend() onClicked: sddm.suspend()
KeyNavigation.backtab: layoutBox; KeyNavigation.tab: btnReboot KeyNavigation.backtab: layoutBox
KeyNavigation.tab: btnReboot
} }
ImageButton { ImageButton {
id: btnReboot id: btnReboot
height: parent.height height: parent.height
source: "reboot.png" source: Qt.resolvedUrl("reboot.png")
visible: sddm.canReboot visible: sddm.canReboot
onClicked: sddm.reboot() onClicked: sddm.reboot()
KeyNavigation.backtab: btnSuspend; KeyNavigation.tab: btnShutdown KeyNavigation.backtab: btnSuspend
KeyNavigation.tab: btnShutdown
} }
ImageButton { ImageButton {
id: btnShutdown id: btnShutdown
height: parent.height height: parent.height
source: "shutdown.png" source: Qt.resolvedUrl("shutdown.png")
visible: sddm.canPowerOff visible: sddm.canPowerOff
onClicked: sddm.powerOff() onClicked: sddm.powerOff()
KeyNavigation.backtab: btnReboot; KeyNavigation.tab: prevUser KeyNavigation.backtab: btnReboot
KeyNavigation.tab: prevUser
} }
} }
} }
} }

View File

@ -13,3 +13,4 @@ ConfigFile=theme.conf
TranslationsDirectory=translations TranslationsDirectory=translations
Theme-Id=lubuntu Theme-Id=lubuntu
Theme-API=2.0 Theme-API=2.0
QtVersion=6