Fix a focus artifact on Windows and adjust colors for not-so-stellar

monitors.

svn path=/trunk/; revision=44556
This commit is contained in:
Gerald Combs 2012-08-17 22:04:20 +00:00
parent c12c712d9c
commit 29d4ead8ad
2 changed files with 7 additions and 3 deletions

View File

@ -84,7 +84,8 @@ MainWelcome::MainWelcome(QWidget *parent) :
setStyleSheet(
"MainWelcome {"
" background: palette(base);"
" background: palette(light);"
" color: palette(dark);"
" padding: 2em;"
" }"
"QListWidget {"
@ -129,8 +130,8 @@ MainWelcome::MainWelcome(QWidget *parent) :
// " background-color: palette(midlight);"
// "}"
"QListWidget::item:selected {"
" background-color: palette(window);"
" color: palette(window-text);"
" background-color: palette(mid);"
" color: palette(light);"
"}"
);

View File

@ -96,6 +96,9 @@
<verstretch>5</verstretch>
</sizepolicy>
</property>
<property name="focusPolicy">
<enum>Qt::NoFocus</enum>
</property>
<property name="verticalScrollBarPolicy">
<enum>Qt::ScrollBarAlwaysOff</enum>
</property>