diff options
author | Simon Rettberg | 2017-11-13 13:41:39 +0100 |
---|---|---|
committer | Simon Rettberg | 2017-11-13 13:41:39 +0100 |
commit | cacd16116201eb578e09d29a889785c19e99caf5 (patch) | |
tree | cd2821655699d390451427f648f52c72b37b9477 /src/loginform.cpp | |
parent | Increase font size in text fields a bit (diff) | |
download | slxgreeter-cacd16116201eb578e09d29a889785c19e99caf5.tar.gz slxgreeter-cacd16116201eb578e09d29a889785c19e99caf5.tar.xz slxgreeter-cacd16116201eb578e09d29a889785c19e99caf5.zip |
Improve style a bit: Pull b-l-logo down, a bit smaller, better dropdown style
Diffstat (limited to 'src/loginform.cpp')
-rw-r--r-- | src/loginform.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/loginform.cpp b/src/loginform.cpp index 0a65bdd..2fb09df 100644 --- a/src/loginform.cpp +++ b/src/loginform.cpp @@ -12,6 +12,7 @@ #include <QPixmap> #include <QMessageBox> #include <QMenu> +#include <QListView> #include <iostream> @@ -63,6 +64,7 @@ void LoginForm::initialize() QPixmap icon(":/resources/bwlp.svg"); // This project came from Razor-qt ui->iconLabel->setPixmap(icon.scaled(ui->iconLabel->size(), Qt::KeepAspectRatio, Qt::SmoothTransformation)); + ui->leaveComboBox->setView(new QListView()); //addLeaveEntry(power->canHibernate(), "system-suspend-hibernate", tr("Hibernate"), "hibernate"); //addLeaveEntry(power->canSuspend(), "system-suspend", tr("Suspend"), "suspend"); |