Compare commits
5 Commits
ce65213712
...
3f0f8cb7d1
Author | SHA1 | Date | |
---|---|---|---|
3f0f8cb7d1 | |||
70128628ec | |||
7f9b671d90 | |||
a0a1d5d677 | |||
2002026070 |
102
theme/Main.qml
102
theme/Main.qml
@@ -96,14 +96,16 @@
|
|||||||
color: "#ebdbb2"
|
color: "#ebdbb2"
|
||||||
width: parent.width
|
width: parent.width
|
||||||
text: textConstants.userName
|
text: textConstants.userName
|
||||||
font.pixelSize: 12
|
font.family: "IBM Plex Sans"
|
||||||
|
font.pixelSize: 13
|
||||||
}
|
}
|
||||||
|
|
||||||
TextBox {
|
TextBox {
|
||||||
id: name
|
id: name
|
||||||
width: parent.width; height: 30
|
width: parent.width; height: 30
|
||||||
text: userModel.lastUser
|
text: userModel.lastUser
|
||||||
font.pixelSize: 14
|
font.family: "IBM Plex Sans"
|
||||||
|
font.pixelSize: 13
|
||||||
|
|
||||||
KeyNavigation.backtab: rebootButton; KeyNavigation.tab: password
|
KeyNavigation.backtab: rebootButton; KeyNavigation.tab: password
|
||||||
|
|
||||||
@@ -119,19 +121,21 @@
|
|||||||
// This one, the password field
|
// This one, the password field
|
||||||
Column {
|
Column {
|
||||||
width: parent.width
|
width: parent.width
|
||||||
spacing : 4
|
spacing: 4
|
||||||
Text {
|
Text {
|
||||||
id: lblPassword
|
id: lblPassword
|
||||||
color: "#ebdbb2"
|
color: "#ebdbb2"
|
||||||
width: parent.width
|
width: parent.width
|
||||||
text: textConstants.password
|
text: textConstants.password
|
||||||
font.pixelSize: 12
|
font.family: "IBM Plex Sans"
|
||||||
|
font.pixelSize: 13
|
||||||
}
|
}
|
||||||
|
|
||||||
PasswordBox {
|
PasswordBox {
|
||||||
id: password
|
id: password
|
||||||
width: parent.width; height: 30
|
width: parent.width; height: 30
|
||||||
font.pixelSize: 14
|
font.family: "IBM Plex Sans"
|
||||||
|
font.pixelSize: 13
|
||||||
|
|
||||||
KeyNavigation.backtab: name; KeyNavigation.tab: session
|
KeyNavigation.backtab: name; KeyNavigation.tab: session
|
||||||
|
|
||||||
@@ -144,69 +148,36 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Row {
|
// This one, the session selector
|
||||||
|
Column {
|
||||||
|
width: parent.width
|
||||||
spacing: 4
|
spacing: 4
|
||||||
width: parent.width / 2
|
Text {
|
||||||
z: 100
|
id: lblSession
|
||||||
|
color: "#ebdbb2"
|
||||||
Column {
|
width: parent.width
|
||||||
z: 100
|
text: textConstants.session
|
||||||
width: parent.width * 1.3
|
wrapMode: TextEdit.WordWrap
|
||||||
spacing : 4
|
font.family: "IBM Plex Sans"
|
||||||
anchors.bottom: parent.bottom
|
font.pixelSize: 13
|
||||||
|
|
||||||
Text {
|
|
||||||
id: lblSession
|
|
||||||
color: "#ebdbb2"
|
|
||||||
width: parent.width
|
|
||||||
text: textConstants.session
|
|
||||||
wrapMode: TextEdit.WordWrap
|
|
||||||
font.pixelSize: 12
|
|
||||||
}
|
|
||||||
|
|
||||||
ComboBox {
|
|
||||||
id: session
|
|
||||||
width: parent.width; height: 30
|
|
||||||
font.pixelSize: 14
|
|
||||||
|
|
||||||
arrowIcon: Qt.resolvedUrl("angle-down.png")
|
|
||||||
|
|
||||||
model: sessionModel
|
|
||||||
index: sessionModel.lastIndex
|
|
||||||
|
|
||||||
KeyNavigation.backtab: password; KeyNavigation.tab: layoutBox
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Column {
|
ComboBox {
|
||||||
z: 101
|
id: session
|
||||||
width: parent.width * 0.7
|
width: parent.width; height: 30
|
||||||
spacing : 4
|
font.family: "IBM Plex Sans"
|
||||||
anchors.bottom: parent.bottom
|
font.pixelSize: 13
|
||||||
|
|
||||||
visible: keyboard.enabled && keyboard.layouts.length > 0
|
arrowIcon: Qt.resolvedUrl("angle-down.png")
|
||||||
|
|
||||||
Text {
|
model: sessionModel
|
||||||
id: lblLayout
|
index: sessionModel.lastIndex
|
||||||
color: "#ebdbb2"
|
|
||||||
width: parent.width
|
|
||||||
text: textConstants.layout
|
|
||||||
wrapMode: TextEdit.WordWrap
|
|
||||||
font.pixelSize: 12
|
|
||||||
}
|
|
||||||
|
|
||||||
LayoutBox {
|
KeyNavigation.backtab: password; KeyNavigation.tab: layoutBox
|
||||||
id: layoutBox
|
|
||||||
width: parent.width; height: 30
|
|
||||||
font.pixelSize: 14
|
|
||||||
|
|
||||||
arrowIcon: Qt.resolvedUrl("angle-down.png")
|
|
||||||
|
|
||||||
KeyNavigation.backtab: session; KeyNavigation.tab: loginButton
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// This here's an error message/whatever prompt
|
||||||
Column {
|
Column {
|
||||||
width: parent.width
|
width: parent.width
|
||||||
Text {
|
Text {
|
||||||
@@ -214,10 +185,12 @@
|
|||||||
color: "#ebdbb2"
|
color: "#ebdbb2"
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
text: textConstants.prompt
|
text: textConstants.prompt
|
||||||
font.pixelSize: 10
|
font.family: "IBM Plex Sans"
|
||||||
|
font.pixelSize: 13
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// And this row here has our buttons
|
||||||
Row {
|
Row {
|
||||||
spacing: 4
|
spacing: 4
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
@@ -233,6 +206,9 @@
|
|||||||
onClicked: sddm.login(name.text, password.text, sessionIndex)
|
onClicked: sddm.login(name.text, password.text, sessionIndex)
|
||||||
|
|
||||||
KeyNavigation.backtab: layoutBox; KeyNavigation.tab: shutdownButton
|
KeyNavigation.backtab: layoutBox; KeyNavigation.tab: shutdownButton
|
||||||
|
font.family: "IBM Plex Sans"
|
||||||
|
font.pixelSize: 13
|
||||||
|
textColor: "#282828"
|
||||||
}
|
}
|
||||||
|
|
||||||
Button {
|
Button {
|
||||||
@@ -244,6 +220,9 @@
|
|||||||
onClicked: sddm.powerOff()
|
onClicked: sddm.powerOff()
|
||||||
|
|
||||||
KeyNavigation.backtab: loginButton; KeyNavigation.tab: rebootButton
|
KeyNavigation.backtab: loginButton; KeyNavigation.tab: rebootButton
|
||||||
|
font.family: "IBM Plex Sans"
|
||||||
|
font.pixelSize: 13
|
||||||
|
textColor: "#282828"
|
||||||
}
|
}
|
||||||
|
|
||||||
Button {
|
Button {
|
||||||
@@ -255,6 +234,9 @@
|
|||||||
onClicked: sddm.reboot()
|
onClicked: sddm.reboot()
|
||||||
|
|
||||||
KeyNavigation.backtab: shutdownButton; KeyNavigation.tab: name
|
KeyNavigation.backtab: shutdownButton; KeyNavigation.tab: name
|
||||||
|
font.family: "IBM Plex Sans"
|
||||||
|
font.pixelSize: 13
|
||||||
|
textColor: "#282828"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user