Couple more visual tweaks, to make OpenLP look good in Windows.

Print the location of file OpenLP is logging to in debug mode.
This commit is contained in:
Raoul Snyman 2010-02-21 12:28:35 +02:00
parent 70251a4321
commit 174a85d969
2 changed files with 9 additions and 6 deletions

View File

@ -47,9 +47,11 @@ QMainWindow::separator
QDockWidget::title
{
border: none;
/*background: palette(dark);*/
border: 1px solid palette(dark);
padding-left: 5px;
padding-top: 3px;
padding-top: 2px;
margin: 1px 0;
}
QToolBar
@ -169,6 +171,7 @@ def main():
qt_args = []
if options.loglevel.lower() in ['d', 'debug']:
log.setLevel(logging.DEBUG)
print 'Logging to:', filename
elif options.loglevel.lower() in ['w', 'warning']:
log.setLevel(logging.WARNING)
else:

View File

@ -39,16 +39,16 @@ from openlp.core.utils import check_latest_version
media_manager_style = """
QToolBox::tab {
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 palette(midlight), stop: 1.0 palette(mid));
stop: 0 palette(button), stop: 1.0 palette(dark));
border-width: 1px;
border-style: outset;
border-color: palette(midlight);
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(mid));
border-color: palette(light);
stop: 0 palette(light), stop: 1.0 palette(button));
border-color: palette(dark);
}
"""
class versionThread(QtCore.QThread):