HP t520 Login Screen Customization - Page 12

QLineEdit, QComboBox, Then, you might customize the login header, as follows

Page 12 highlights

Then, you might customize the login header, as follows: QLabel#loginHeader { /* Change the login text at the top */ qproperty-text: "Login Here..."; color: rgb(192,255,204); font-size: 24pt; font-weight: bold; } Note Text that is overridden in the .qss file is not localized when the locale changes. You can manually localize this string. (It is UTF-8 encoded.) You might customize the background on the text-entry areas, as follows: /* Black text on white background, 12pt font */ QLineEdit, QComboBox{ background-color: white; color: black; font-size: 12pt; } You might customize the Connect (or Log In) button and Cancel button, as follows: QPushButton { border-radius: 6; color: black; font-size: 14pt; } 12

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15

12
Then, you might customize the login header, as follows:
QLabel#loginHeader {
/* Change the login text at the top */
qproperty-text: "Login Hereā€¦";
color: rgb(192,255,204);
font-size: 24pt;
font-weight: bold;
}
Note
Text that is overridden in the .qss file is not localized when the locale changes. You can manually localize this string. (It is
UTF-8 encoded.)
You might customize the background on the text-entry areas, as follows:
/* Black text on white background, 12pt font */
QLineEdit, QComboBox{
background-color: white;
color: black;
font-size: 12pt;
}
You might customize the Connect (or Log In) button and Cancel button, as follows:
QPushButton {
border-radius: 6;
color: black;
font-size: 14pt;
}