Fix a focus artifact on Windows and adjust colors for not-so-stellar
monitors. svn path=/trunk/; revision=44556
This commit is contained in:
parent
c12c712d9c
commit
29d4ead8ad
|
@ -84,7 +84,8 @@ MainWelcome::MainWelcome(QWidget *parent) :
|
||||||
|
|
||||||
setStyleSheet(
|
setStyleSheet(
|
||||||
"MainWelcome {"
|
"MainWelcome {"
|
||||||
" background: palette(base);"
|
" background: palette(light);"
|
||||||
|
" color: palette(dark);"
|
||||||
" padding: 2em;"
|
" padding: 2em;"
|
||||||
" }"
|
" }"
|
||||||
"QListWidget {"
|
"QListWidget {"
|
||||||
|
@ -129,8 +130,8 @@ MainWelcome::MainWelcome(QWidget *parent) :
|
||||||
// " background-color: palette(midlight);"
|
// " background-color: palette(midlight);"
|
||||||
// "}"
|
// "}"
|
||||||
"QListWidget::item:selected {"
|
"QListWidget::item:selected {"
|
||||||
" background-color: palette(window);"
|
" background-color: palette(mid);"
|
||||||
" color: palette(window-text);"
|
" color: palette(light);"
|
||||||
"}"
|
"}"
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
@ -96,6 +96,9 @@
|
||||||
<verstretch>5</verstretch>
|
<verstretch>5</verstretch>
|
||||||
</sizepolicy>
|
</sizepolicy>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="focusPolicy">
|
||||||
|
<enum>Qt::NoFocus</enum>
|
||||||
|
</property>
|
||||||
<property name="verticalScrollBarPolicy">
|
<property name="verticalScrollBarPolicy">
|
||||||
<enum>Qt::ScrollBarAlwaysOff</enum>
|
<enum>Qt::ScrollBarAlwaysOff</enum>
|
||||||
</property>
|
</property>
|
||||||
|
|
Loading…
Reference in New Issue