summaryrefslogtreecommitdiff
path: root/raveos-sddm-theme/sddm-rave-theme/Components
diff options
context:
space:
mode:
Diffstat (limited to 'raveos-sddm-theme/sddm-rave-theme/Components')
-rw-r--r--raveos-sddm-theme/sddm-rave-theme/Components/Clock.qml14
-rw-r--r--raveos-sddm-theme/sddm-rave-theme/Components/Input.qml35
-rw-r--r--raveos-sddm-theme/sddm-rave-theme/Components/KeyboardLayoutIndicator.qml4
-rw-r--r--raveos-sddm-theme/sddm-rave-theme/Components/LoginForm.qml16
-rw-r--r--raveos-sddm-theme/sddm-rave-theme/Components/NetworkIndicator.qml4
-rw-r--r--raveos-sddm-theme/sddm-rave-theme/Components/ParticleOverlay.qml4
-rw-r--r--raveos-sddm-theme/sddm-rave-theme/Components/SessionButton.qml12
-rw-r--r--raveos-sddm-theme/sddm-rave-theme/Components/ToastNotification.qml4
-rw-r--r--raveos-sddm-theme/sddm-rave-theme/Components/UserSwitcher.qml4
-rw-r--r--raveos-sddm-theme/sddm-rave-theme/Components/VirtualKeyboardButton.qml8
10 files changed, 55 insertions, 50 deletions
diff --git a/raveos-sddm-theme/sddm-rave-theme/Components/Clock.qml b/raveos-sddm-theme/sddm-rave-theme/Components/Clock.qml
index 6c6b7c8..05e65ee 100644
--- a/raveos-sddm-theme/sddm-rave-theme/Components/Clock.qml
+++ b/raveos-sddm-theme/sddm-rave-theme/Components/Clock.qml
@@ -1,5 +1,5 @@
-// Config created by Keyitdev https://git.rp1.hu/gabeszm/sddm-rave-theme
-// Copyright (C) 2022-2025 Keyitdev
+// Config created by gabeszm https://git.rp1.hu/gabeszm/sddm-rave-theme
+// Copyright (C) 2026 gabeszm
// Based on https://github.com/MarianArlt/sddm-sugar-dark
// Distributed under the GPLv3+ License https://www.gnu.org/licenses/gpl-3.0.html
@@ -10,7 +10,7 @@ Column {
id: clock
width: parent.width
- spacing: root.font.pointSize * 0.45
+ spacing: root.font.pointSize * 0.65
Image {
id: logoImage
@@ -18,8 +18,8 @@ Column {
anchors.horizontalCenter: parent.horizontalCenter
source: (config.Logo && config.Logo !== "") ? Qt.resolvedUrl("../" + config.Logo) : ""
fillMode: Image.PreserveAspectFit
- width: Math.min(root.font.pointSize * 8.5, root.height * 0.10)
- height: Math.min(root.font.pointSize * 8.5, root.height * 0.10)
+ width: Math.min(root.font.pointSize * 8.5, root.height * 0.10 * (root.contentScale || 0.92))
+ height: Math.min(root.font.pointSize * 8.5, root.height * 0.10 * (root.contentScale || 0.92))
visible: config.Logo && config.Logo !== ""
}
@@ -41,7 +41,7 @@ Column {
anchors.horizontalCenter: parent.horizontalCenter
- font.pointSize: Math.min(root.font.pointSize * 2.4, root.height * 0.040)
+ font.pointSize: Math.min(root.font.pointSize * 2.4, root.height * 0.040 * (root.contentScale || 0.92))
font.bold: true
color: config.TimeTextColor
style: Text.Raised
@@ -57,7 +57,7 @@ Column {
id: dateLabel
anchors.horizontalCenter: parent.horizontalCenter
-
+
color: config.DateTextColor
font.pointSize: root.font.pointSize * 0.82
font.bold: true
diff --git a/raveos-sddm-theme/sddm-rave-theme/Components/Input.qml b/raveos-sddm-theme/sddm-rave-theme/Components/Input.qml
index daf3ba0..fd29314 100644
--- a/raveos-sddm-theme/sddm-rave-theme/Components/Input.qml
+++ b/raveos-sddm-theme/sddm-rave-theme/Components/Input.qml
@@ -1,5 +1,5 @@
-// Config created by Keyitdev https://git.rp1.hu/gabeszm/sddm-rave-theme
-// Copyright (C) 2022-2025 Keyitdev
+// Config created by gabeszm https://git.rp1.hu/gabeszm/sddm-rave-theme
+// Copyright (C) 2026 gabeszm
// Based on https://github.com/MarianArlt/sddm-sugar-dark
// Distributed under the GPLv3+ License https://www.gnu.org/licenses/gpl-3.0.html
@@ -71,7 +71,7 @@ Column {
Item {
id: avatarField
- height: Math.min(root.font.pointSize * 6.5, parent.width * 0.35)
+ height: Math.min(root.font.pointSize * 7.0, parent.width * 0.35)
width: parent.width
anchors.horizontalCenter: parent.horizontalCenter
@@ -81,7 +81,7 @@ Column {
function resolveIconCandidates(idx, name) {
var list = []
var count = (typeof userModel !== "undefined" && userModel) ? userModel.count : 0
-
+
var uIndex = -1
if (name && name !== "" && count > 0) {
for (var i = 0; i < count; i++) {
@@ -297,7 +297,7 @@ Column {
Item {
id: usernameField
- height: root.font.pointSize * 3.8
+ height: root.font.pointSize * 4.1
width: parent.width
anchors.horizontalCenter: parent.horizontalCenter
@@ -408,7 +408,7 @@ Column {
text: usernameField.selectedUsername
color: config.LoginFieldTextColor
font.bold: true
- font.pointSize: root.font.pointSize * 0.95
+ font.pointSize: root.font.pointSize * 0.82
font.family: root.font.family
style: Text.Raised
styleColor: Qt.rgba(0, 0, 0, 0.40)
@@ -629,7 +629,7 @@ Column {
text: model.name || ""
color: "#ffffff"
font.bold: true
- font.pointSize: root.font.pointSize * 0.85
+ font.pointSize: root.font.pointSize * 0.78
font.family: root.font.family
style: Text.Raised
styleColor: Qt.rgba(0, 0, 0, 0.40)
@@ -638,7 +638,7 @@ Column {
Text {
text: (model.realName && model.realName !== model.name) ? model.realName : ""
color: Qt.rgba(1, 1, 1, 0.65)
- font.pointSize: root.font.pointSize * 0.70
+ font.pointSize: root.font.pointSize * 0.65
font.family: root.font.family
visible: text !== ""
}
@@ -662,7 +662,7 @@ Column {
Item {
id: passwordField
- height: root.font.pointSize * 3.8
+ height: root.font.pointSize * 4.1
width: parent.width
anchors.horizontalCenter: parent.horizontalCenter
@@ -747,6 +747,8 @@ Column {
horizontalAlignment: TextInput.AlignHCenter
font.bold: true
+ font.pointSize: root.font.pointSize * 0.82
+ font.family: root.font.family
color: config.PasswordFieldTextColor
focus: config.PasswordFocus == "true" ? true : false
echoMode: passwordIcon.checked ? TextInput.Normal : TextInput.Password
@@ -810,7 +812,7 @@ Column {
Item {
id: login
- height: root.font.pointSize * 4.2
+ height: root.font.pointSize * 4.5
width: parent.width
anchors.horizontalCenter: parent.horizontalCenter
@@ -876,7 +878,7 @@ Column {
anchors.centerIn: parent
font.bold: true
- font.pointSize: root.font.pointSize
+ font.pointSize: root.font.pointSize * 0.82
font.family: root.font.family
color: "#ffffff"
style: Text.Raised
@@ -903,18 +905,19 @@ Column {
Item {
id: powerButtonsRow
- height: root.font.pointSize * 5.5
+ height: root.font.pointSize * 7.6
width: parent.width
anchors.horizontalCenter: parent.horizontalCenter
Row {
anchors.horizontalCenter: parent.horizontalCenter
- anchors.verticalCenter: parent.verticalCenter
- spacing: root.font.pointSize * 1.5
+ anchors.bottom: parent.bottom
+ anchors.bottomMargin: root.font.pointSize * 0.3
+ spacing: root.font.pointSize * 1.8
// Reboot gomb
Column {
- spacing: root.font.pointSize * 0.45
+ spacing: root.font.pointSize * 0.5
Item {
width: root.font.pointSize * 4.2
@@ -978,7 +981,7 @@ Column {
// Shutdown gomb
Column {
- spacing: root.font.pointSize * 0.45
+ spacing: root.font.pointSize * 0.5
Item {
width: root.font.pointSize * 4.2
diff --git a/raveos-sddm-theme/sddm-rave-theme/Components/KeyboardLayoutIndicator.qml b/raveos-sddm-theme/sddm-rave-theme/Components/KeyboardLayoutIndicator.qml
index cd1f73d..ffe10fa 100644
--- a/raveos-sddm-theme/sddm-rave-theme/Components/KeyboardLayoutIndicator.qml
+++ b/raveos-sddm-theme/sddm-rave-theme/Components/KeyboardLayoutIndicator.qml
@@ -16,8 +16,8 @@ Item {
// Number of available layouts
property int layoutsCount: (typeof keyboard !== "undefined" && keyboard && keyboard.layouts) ? keyboard.layouts.length : 0
- // Show if we have layout info or a valid locale fallback
- visible: currentShortName !== ""
+ // Show if we have layout info or a valid locale fallback and not hidden
+ visible: (config.HideKeyboardLayout !== "false") ? false : (currentShortName !== "")
// Get current layout shortname (e.g. "US", "HU")
property string currentShortName: ""
diff --git a/raveos-sddm-theme/sddm-rave-theme/Components/LoginForm.qml b/raveos-sddm-theme/sddm-rave-theme/Components/LoginForm.qml
index d3fd1b4..779a21a 100644
--- a/raveos-sddm-theme/sddm-rave-theme/Components/LoginForm.qml
+++ b/raveos-sddm-theme/sddm-rave-theme/Components/LoginForm.qml
@@ -1,5 +1,5 @@
-// Config created by Keyitdev https://git.rp1.hu/gabeszm/sddm-rave-theme
-// Copyright (C) 2022-2025 Keyitdev
+// Config created by gabeszm https://git.rp1.hu/gabeszm/sddm-rave-theme
+// Copyright (C) 2026 gabeszm
// Based on https://github.com/MarianArlt/sddm-sugar-dark
// Distributed under the GPLv3+ License https://www.gnu.org/licenses/gpl-3.0.html
@@ -14,10 +14,10 @@ ColumnLayout {
property int p: config.ScreenPadding == "" ? 0 : config.ScreenPadding
property string a: config.FormPosition
- spacing: root.font.pointSize * 0.9
+ spacing: root.font.pointSize * 1.3
clip: true
- readonly property real innerPadding: root.font.pointSize * 0.9
+ readonly property real innerPadding: root.font.pointSize * 1.6
Clock {
id: clock
@@ -56,13 +56,14 @@ ColumnLayout {
}
}
- // Billentyűzet kiosztás jelző (külön sorban, hogy akksi/wifi hiányában is látszódjon)
+ // Billentyűzet kiosztás jelző (letiltva a felhasználói kérésnek megfelelően)
KeyboardLayoutIndicator {
id: keyboardLayoutIndicator
+ visible: false
Layout.alignment: Qt.AlignHCenter
- Layout.preferredHeight: keyboardLayoutIndicator.implicitHeight
- Layout.bottomMargin: visible ? root.font.pointSize * 0.3 : 0
+ Layout.preferredHeight: 0
+ Layout.bottomMargin: 0
Layout.leftMargin: innerPadding
Layout.rightMargin: innerPadding
}
@@ -83,6 +84,7 @@ ColumnLayout {
Layout.fillWidth: true
Layout.alignment: Qt.AlignHCenter
Layout.preferredHeight: sessionSelect.height
+ Layout.topMargin: root.font.pointSize * 2.0
Layout.leftMargin: innerPadding
Layout.rightMargin: innerPadding
}
diff --git a/raveos-sddm-theme/sddm-rave-theme/Components/NetworkIndicator.qml b/raveos-sddm-theme/sddm-rave-theme/Components/NetworkIndicator.qml
index c3c5eca..6300841 100644
--- a/raveos-sddm-theme/sddm-rave-theme/Components/NetworkIndicator.qml
+++ b/raveos-sddm-theme/sddm-rave-theme/Components/NetworkIndicator.qml
@@ -1,5 +1,5 @@
-// Config created by Keyitdev https://git.rp1.hu/gabeszm/sddm-rave-theme
-// Copyright (C) 2022-2025 Keyitdev
+// Config created by gabeszm https://git.rp1.hu/gabeszm/sddm-rave-theme
+// Copyright (C) 2026 gabeszm
// Distributed under the GPLv3+ License https://www.gnu.org/licenses/gpl-3.0.html
import QtQuick 2.15
diff --git a/raveos-sddm-theme/sddm-rave-theme/Components/ParticleOverlay.qml b/raveos-sddm-theme/sddm-rave-theme/Components/ParticleOverlay.qml
index 6fa02f9..27d5b71 100644
--- a/raveos-sddm-theme/sddm-rave-theme/Components/ParticleOverlay.qml
+++ b/raveos-sddm-theme/sddm-rave-theme/Components/ParticleOverlay.qml
@@ -1,5 +1,5 @@
-// Config created by Keyitdev https://git.rp1.hu/gabeszm/sddm-rave-theme
-// Copyright (C) 2022-2025 Keyitdev
+// Config created by gabeszm https://git.rp1.hu/gabeszm/sddm-rave-theme
+// Copyright (C) 2026 gabeszm
// Distributed under the GPLv3+ License https://www.gnu.org/licenses/gpl-3.0.html
import QtQuick 2.15
diff --git a/raveos-sddm-theme/sddm-rave-theme/Components/SessionButton.qml b/raveos-sddm-theme/sddm-rave-theme/Components/SessionButton.qml
index ed614b6..045e298 100644
--- a/raveos-sddm-theme/sddm-rave-theme/Components/SessionButton.qml
+++ b/raveos-sddm-theme/sddm-rave-theme/Components/SessionButton.qml
@@ -1,5 +1,5 @@
-// Config created by Keyitdev https://git.rp1.hu/gabeszm/sddm-rave-theme
-// Copyright (C) 2022-2025 Keyitdev
+// Config created by gabeszm https://git.rp1.hu/gabeszm/sddm-rave-theme
+// Copyright (C) 2026 gabeszm
// Based on https://github.com/MarianArlt/sddm-sugar-dark
// Distributed under the GPLv3+ License https://www.gnu.org/licenses/gpl-3.0.html
@@ -11,7 +11,7 @@ Item {
height: root.font.pointSize * 1.8
width: parent.width
-
+
property var selectedSession: selectSession.currentIndex
property string textConstantSession
property int loginButtonWidth
@@ -29,7 +29,7 @@ Item {
model: sessionModel
currentIndex: model.lastIndex
textRole: "name"
-
+
Keys.onPressed: function(event) {
if ((event.key == Qt.Key_Left || event.key == Qt.Key_Right) && !popup.opened) {
popup.open();
@@ -40,7 +40,7 @@ Item {
// minus padding
width: popupHandler.width - root.font.pointSize * 1.5
anchors.horizontalCenter: popupHandler.horizontalCenter
-
+
contentItem: Text {
verticalAlignment: Text.AlignVCenter
horizontalAlignment: Text.AlignHCenter
@@ -50,7 +50,7 @@ Item {
font.family: root.font.family
color: config.DropdownTextColor
}
-
+
background: Rectangle {
color: selectSession.highlightedIndex === index ? Qt.rgba(1, 1, 1, 0.15) : "transparent"
radius: config.RoundCorners !== "" ? parseInt(config.RoundCorners) / 4 : root.font.pointSize * 0.4
diff --git a/raveos-sddm-theme/sddm-rave-theme/Components/ToastNotification.qml b/raveos-sddm-theme/sddm-rave-theme/Components/ToastNotification.qml
index cfe507e..672f346 100644
--- a/raveos-sddm-theme/sddm-rave-theme/Components/ToastNotification.qml
+++ b/raveos-sddm-theme/sddm-rave-theme/Components/ToastNotification.qml
@@ -1,5 +1,5 @@
-// Config created by Keyitdev https://git.rp1.hu/gabeszm/sddm-rave-theme
-// Copyright (C) 2022-2025 Keyitdev
+// Config created by gabeszm https://git.rp1.hu/gabeszm/sddm-rave-theme
+// Copyright (C) 2026 gabeszm
// Distributed under the GPLv3+ License https://www.gnu.org/licenses/gpl-3.0.html
import QtQuick 2.15
diff --git a/raveos-sddm-theme/sddm-rave-theme/Components/UserSwitcher.qml b/raveos-sddm-theme/sddm-rave-theme/Components/UserSwitcher.qml
index ee8852e..f87b4d0 100644
--- a/raveos-sddm-theme/sddm-rave-theme/Components/UserSwitcher.qml
+++ b/raveos-sddm-theme/sddm-rave-theme/Components/UserSwitcher.qml
@@ -1,5 +1,5 @@
-// Config created by Keyitdev https://git.rp1.hu/gabeszm/sddm-rave-theme
-// Copyright (C) 2022-2025 Keyitdev
+// Config created by gabeszm https://git.rp1.hu/gabeszm/sddm-rave-theme
+// Copyright (C) 2026 gabeszm
// Distributed under the GPLv3+ License https://www.gnu.org/licenses/gpl-3.0.html
import QtQuick 2.15
diff --git a/raveos-sddm-theme/sddm-rave-theme/Components/VirtualKeyboardButton.qml b/raveos-sddm-theme/sddm-rave-theme/Components/VirtualKeyboardButton.qml
index f109dd1..7430091 100644
--- a/raveos-sddm-theme/sddm-rave-theme/Components/VirtualKeyboardButton.qml
+++ b/raveos-sddm-theme/sddm-rave-theme/Components/VirtualKeyboardButton.qml
@@ -1,5 +1,5 @@
-// Config created by Keyitdev https://git.rp1.hu/gabeszm/sddm-rave-theme
-// Copyright (C) 2022-2025 Keyitdev
+// Config created by gabeszm https://git.rp1.hu/gabeszm/sddm-rave-theme
+// Copyright (C) 2026 gabeszm
// Distributed under the GPLv3+ License https://www.gnu.org/licenses/gpl-3.0.html
import QtQuick 2.15
@@ -20,7 +20,7 @@ Item {
visible: virtualKeyboard.status == Loader.Ready && config.HideVirtualKeyboard == "false"
checkable: true
onClicked: virtualKeyboard.switchState()
-
+
Keys.onReturnPressed: {
toggle();
virtualKeyboard.switchState();
@@ -91,4 +91,4 @@ Item {
}
]
}
-} \ No newline at end of file
+}