HP Smart Zero Core 4.4 Administrator's Guide
border-width: 6px;
border-radius: 16px;
/* Make sure it is at least 400 pixels wide */
min-width: 400px;
}
ヘッダーのテキストのカスタマイズ
ここでは、ログイン ヘッダーのテキストをカスタマイズする方法を例で示します。
LoginArea QLabel#loginHeader {
/* Change the login text at the top */
qproperty-text: "Login Here";
color: white;
font-size: 16pt;
font-weight: bold;
}
注記: .qss ファイルで置き換えられたテキストは、ロケールを変更してもローカライズされません。
ヘッダーのアイコンのカスタマイズ
ここでは、ログイン ヘッダーの右上隅にあるアイコンをカスタマイズする方法を例で示します。
LoginArea QLabel#loginIcon {
/* Substitute my company logo for the normal one. */
image: url (/writable/misc/MyCompanyLogo .png);
min-width: 48px;
min-height: 48px;
}
表示要素が有効になっていない場合、次のように異なるスタイルを適用できます。
QPushButton#connectButton:disabled {
/* Flat gray */
background: rgb(204,204,204);
border-radius: 3;
color: rgb(102,102,102);
font-size: 12pt;
}
62
付録 B クライアント ログイン画面のカスタマイズ