Some tweaks to the display of the media items.

This commit is contained in:
Raoul Snyman 2010-07-20 23:27:21 +02:00
parent 425b80d57a
commit 9c5e9f1443
1 changed files with 5 additions and 6 deletions

View File

@ -39,19 +39,18 @@ from openlp.core.utils import check_latest_version, AppLocation, add_actions, \
log = logging.getLogger(__name__)
MEDIA_MANAGER_STYLE = """
QToolBox::tab:selected {
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 palette(mid), stop: 0.4999 palette(button), stop: 0.5 palette(dark), stop: 1.0 palette(mid));
}
QToolBox::tab {
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 palette(button), stop: 1.0 palette(dark));
stop: 0 palette(button), stop: 0.4999 palette(light), stop: 0.5 palette(mid), stop: 1.0 palette(button));
border-width: 1px;
border-style: outset;
border-color: palette(dark);
border-radius: 5px;
}
QToolBox::tab:selected {
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 palette(light), stop: 1.0 palette(button));
border-color: palette(button);
}
"""
class VersionThread(QtCore.QThread):
"""