HP ThinPro - Login Screen Customization

14
You might customize the Connect (or Log In) button and Cancel button, as follows:
QPushButton { border-radius: 6; color: black; font-size: 14pt;
}
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));
}
The sample .qss files provide more examples of the use of these options.
Additional customization
The.rtf files in the theme directory (other than those named *-sample.rtf, which are ignored) provide additional
customization options for the login dialog box, as follows.
Note
True or false can be used in place of 0 and 1, respectively.
window-position: X,YSpecifies 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: pathSpecifies the path to the icon to be displayed in the window decorations. This option is available
only in HP ThinPro 6.0 or later.