Port to Qt6/Plasma 6
This commit is contained in:
parent
0e721d2cf7
commit
d845917d4d
@ -4,8 +4,8 @@
|
||||
// Config created by https://github.com/MarianArlt
|
||||
// Config modified by keyitdev https://github.com/keyitdev
|
||||
|
||||
import QtQuick 2.11
|
||||
import QtQuick.Controls 2.4
|
||||
import QtQuick 2.15
|
||||
import QtQuick.Controls 2.15
|
||||
|
||||
Column {
|
||||
id: clock
|
||||
|
||||
@ -4,10 +4,10 @@
|
||||
// Config created by https://github.com/MarianArlt
|
||||
// Config modified by keyitdev https://github.com/keyitdev
|
||||
|
||||
import QtQuick 2.11
|
||||
import QtQuick.Layouts 1.11
|
||||
import QtQuick.Controls 2.4
|
||||
import QtGraphicalEffects 1.0
|
||||
import QtQuick 2.15
|
||||
import QtQuick.Layouts 1.15
|
||||
import QtQuick.Controls 2.15
|
||||
import Qt5Compat.GraphicalEffects
|
||||
|
||||
Column {
|
||||
id: inputContainer
|
||||
@ -78,7 +78,7 @@ Column {
|
||||
icon.width: parent.height * 0.25
|
||||
enabled: false
|
||||
icon.color: root.palette.text
|
||||
icon.source: Qt.resolvedUrl("../Assets/User.svgz")
|
||||
icon.source: Qt.resolvedUrl("../Assets/User.svg")
|
||||
}
|
||||
|
||||
background: Rectangle {
|
||||
|
||||
@ -4,8 +4,8 @@
|
||||
// Config created by https://github.com/MarianArlt
|
||||
// Config modified by keyitdev https://github.com/keyitdev
|
||||
|
||||
import QtQuick 2.11
|
||||
import QtQuick.Layouts 1.11
|
||||
import QtQuick 2.15
|
||||
import QtQuick.Layouts 1.15
|
||||
import SddmComponents 2.0 as SDDM
|
||||
|
||||
ColumnLayout {
|
||||
|
||||
@ -4,9 +4,9 @@
|
||||
// Config created by https://github.com/MarianArlt
|
||||
// Config modified by keyitdev https://github.com/keyitdev
|
||||
|
||||
import QtQuick 2.11
|
||||
import QtQuick.Controls 2.4
|
||||
import QtGraphicalEffects 1.0
|
||||
import QtQuick 2.15
|
||||
import QtQuick.Controls 2.15
|
||||
import Qt5Compat.GraphicalEffects
|
||||
|
||||
Item {
|
||||
id: sessionButton
|
||||
|
||||
@ -4,9 +4,9 @@
|
||||
// Config created by https://github.com/MarianArlt
|
||||
// Config modified by keyitdev https://github.com/keyitdev
|
||||
|
||||
import QtQuick 2.11
|
||||
import QtQuick.Layouts 1.11
|
||||
import QtQuick.Controls 2.4
|
||||
import QtQuick 2.15
|
||||
import QtQuick.Layouts 1.15
|
||||
import QtQuick.Controls 2.15
|
||||
|
||||
RowLayout {
|
||||
|
||||
@ -28,7 +28,7 @@ RowLayout {
|
||||
text: modelData[1]
|
||||
font.pointSize: root.font.pointSize * 0.8
|
||||
Layout.alignment: Qt.AlignHCenter
|
||||
icon.source: modelData ? Qt.resolvedUrl("../Assets/" + modelData[0] + ".svgz") : ""
|
||||
icon.source: modelData ? Qt.resolvedUrl("../Assets/" + modelData[0] + ".svg") : ""
|
||||
icon.height: 2 * Math.round((root.font.pointSize * 3) / 2)
|
||||
icon.width: 2 * Math.round((root.font.pointSize * 3) / 2)
|
||||
display: AbstractButton.TextUnderIcon
|
||||
|
||||
@ -4,9 +4,9 @@
|
||||
// Config created by https://github.com/MarianArlt
|
||||
// Config modified by keyitdev https://github.com/keyitdev
|
||||
|
||||
import QtQuick 2.11
|
||||
import QtQuick.Controls 2.4
|
||||
import QtGraphicalEffects 1.0
|
||||
import QtQuick 2.15
|
||||
import QtQuick.Controls 2.15
|
||||
import Qt5Compat.GraphicalEffects
|
||||
|
||||
Item {
|
||||
id: usernameField
|
||||
@ -63,7 +63,7 @@ Item {
|
||||
icon.width: parent.height * 0.25
|
||||
enabled: false
|
||||
icon.color: root.palette.text
|
||||
icon.source: Qt.resolvedUrl("../Assets/User.svgz")
|
||||
icon.source: Qt.resolvedUrl("../Assets/User.svg")
|
||||
}
|
||||
|
||||
background: Rectangle {
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
// Config created by https://github.com/MarianArlt
|
||||
// Config modified by keyitdev https://github.com/keyitdev
|
||||
|
||||
import QtQuick 2.11
|
||||
import QtQuick 2.15
|
||||
import QtQuick.VirtualKeyboard 2.3
|
||||
|
||||
InputPanel {
|
||||
|
||||
8
Main.qml
Normal file → Executable file
8
Main.qml
Normal file → Executable file
@ -4,10 +4,10 @@
|
||||
// Config created by https://github.com/MarianArlt
|
||||
// Config modified by keyitdev https://github.com/keyitdev
|
||||
|
||||
import QtQuick 2.11
|
||||
import QtQuick.Layouts 1.11
|
||||
import QtQuick.Controls 2.4
|
||||
import QtGraphicalEffects 1.0
|
||||
import QtQuick 2.15
|
||||
import QtQuick.Layouts 1.15
|
||||
import QtQuick.Controls 2.15
|
||||
import Qt5Compat.GraphicalEffects
|
||||
import "Components"
|
||||
|
||||
Pane {
|
||||
|
||||
3
metadata.desktop
Normal file → Executable file
3
metadata.desktop
Normal file → Executable file
@ -5,8 +5,11 @@ Author=keyitdev
|
||||
License=GPL-3.0-or-later
|
||||
Type=sddm-theme
|
||||
Version=1.0
|
||||
Website=https://github.com/Keyitdev/sddm-astronaut-theme
|
||||
Screenshot=Previews/preview.png
|
||||
MainScript=Main.qml
|
||||
ConfigFile=theme.conf
|
||||
TranslationsDirectory=translations
|
||||
Theme-Id=sddm-astronaut-theme
|
||||
Theme-API=2.0
|
||||
QtVersion=6
|
||||
|
||||
2
theme.conf
Normal file → Executable file
2
theme.conf
Normal file → Executable file
@ -1,6 +1,6 @@
|
||||
[General]
|
||||
|
||||
Background="Backgrounds/background.png"
|
||||
Background="background.png"
|
||||
## Path relative to the theme root directory. Most standard image file formats are allowed including support for transparency. (e.g. background.jpeg/illustration.GIF/Foto.png/undraw.svgz)
|
||||
|
||||
DimBackgroundImage="0.0"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user