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