HP ThinPro - Login Screen Customization

13
QPushButton#connectButton {
/* A shaded gradient from white to medium green */
background: qlineargradient(x1:0.5,y1:0, x2:0.5,y2:1,
stop:0 white, stop:1 rgb(100,150,100));
font-weight: bold;
}
QPushButton#cancelButton {
/* A shaded gradient from white to medium red */
background: qlineargradient(x1:0.5,y1:0, x2:0.5,y2:1,
stop:0 white, stop:1 rgb(150,100,100));
}
Additional customization
The file login.rtf provides additional customization options for the login dialog box, as follows:
window-position: X,Y—Specifies the position of the login dialog box. The values can either be absolute offsets
from the upper-left corner or percentages of the full screen width and height.
button-location: [right|left]—Specifies whether the buttons are left or right aligned.
title-enabled: [0|1]—Specifies whether the title field is displayed.
title-text: textStringSpecifies text to be used as the title instead of the default text.
icon-enabled: [0|1]—Specifies whether the dialog box icon is displayed.
username-enabled: [0|1]—Specifies whether the username box is displayed.
password-enabled: [0|1]Specifies whether the password box is displayed.
domain-enabled: [0|1]—Specifies whether the domain box is displayed.
smartcard-enabled: [0|1]—Specifies whether the smart card checkbox is displayed.
rememberme-enabled: [0|1]—Specifies whether the Remember Me checkbox is displayed.
loginbutton-enabled: [0|1]—Specifies whether the Log In button is displayed.
cancelbutton-enabled: [0|1]—Specifies whether the Cancel button is displayed.
icon-path: path—Specifies the path to the icon to be displayed in the upper-left corner of the login dialog box. This
option is available only in HP ThinPro 6.0 or later.
Example
This uses the same example as Appearance customization
.
1. Modify the default login.rtf file to contain these new lines:
rememberme-enabled: 0
icon-path: /usr/share/pixmaps/HP_Logo_300.png
Now, the Remember Me checkbox is not displayed and the default login icon is replaced with the HP logo: