Clean up the confusing appearance of the checked but disabled button

This commit is contained in:
David Sansome 2010-09-30 21:14:23 +00:00
parent 200a306f57
commit f172f51726

View File

@ -14,16 +14,9 @@ QPushButton:hover {
stop: 0 palette(light), stop: 1 palette(button));
}
QPushButton:checked {
QPushButton:checked:!disabled {
border: 1px solid palette(text);
color: palette(highlighted-text);
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 palette(highlight), stop: 1 %darkhighlight);
}
QPushButton:checked:disabled {
border: 1px solid palette(text);
color: palette(text);
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 palette(button), stop: 1 palette(dark));
}