From d330a64cf43078516c9ffa32b4f9c68d6498fcb2 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Fri, 7 Aug 2020 10:21:01 +0200 Subject: Clean up loginform UI --- src/loginform.cpp | 2 +- src/loginform.ui | 26 ++++++++------------------ 2 files changed, 9 insertions(+), 19 deletions(-) diff --git a/src/loginform.cpp b/src/loginform.cpp index 885a567..a53c7ab 100644 --- a/src/loginform.cpp +++ b/src/loginform.cpp @@ -127,7 +127,7 @@ void LoginForm::initialize() ui->loginButton->setText(Settings::userSessionButtonText()); } if (!Settings::guestSessionStartText().isEmpty()) { - ui->guestStartText->setText(Settings::guestSessionStartText()); + ui->guestStartLabel->setText(Settings::guestSessionStartText()); } if (!Settings::guestSessionStartButtonText().isEmpty()) { ui->guestStartButton->setText(Settings::guestSessionStartButtonText()); diff --git a/src/loginform.ui b/src/loginform.ui index b74b68e..fcf7f6a 100644 --- a/src/loginform.ui +++ b/src/loginform.ui @@ -35,7 +35,7 @@ QLineEdit { background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #aaa, stop:0.1 #eee, stop:1 #fff); } -#hostnameLabel { +#hostnameLabel, #guestStartLabel { color: white; } @@ -48,6 +48,7 @@ QComboBox, QPushButton { border: 1px solid #aaa; background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #ccc, stop:0.1 #bbb, stop:1 #888); + color: #000; } #messageLabel { @@ -68,8 +69,9 @@ QComboBox::down-arrow { QComboBox QListView { border: none; background-color: rgb(200, 200, 200); - border-radius: 0; + border-radius: 0; font-size: 12pt; + width: 160px; } QComboBox QAbstractItemView::item { @@ -228,9 +230,6 @@ QComboBox QAbstractItemView::item { true - - color: rgb(0, 0, 0); - Gast-Login @@ -248,13 +247,9 @@ QComboBox QAbstractItemView::item { 10 75 - false true - - color: rgb(0, 0, 0); - Campus-Login @@ -293,7 +288,7 @@ QComboBox QAbstractItemView::item { Bitstream Vera Sans - 12 + 13 75 true @@ -335,7 +330,7 @@ QComboBox QAbstractItemView::item { Bitstream Vera Sans - 12 + 13 75 true @@ -380,20 +375,18 @@ QComboBox QAbstractItemView::item { + 10 75 true - - color: rgb(0, 0, 0); - Starten einer Gast-Sitzung - + 0 @@ -412,9 +405,6 @@ QComboBox QAbstractItemView::item { true - - color: rgb(255, 255, 255); - Wenn Sie sich als Gast einloggen, dürfen Sie nur die Webseiten der Universtität Freiburg besuchen. -- cgit v1.2.3-55-g7522