openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #00882
[Merge] lp:~raoul-snyman/openlp/bitsandbobs into lp:openlp
Raoul Snyman has proposed merging lp:~raoul-snyman/openlp/bitsandbobs into lp:openlp.
Requested reviews:
OpenLP Core (openlp-core)
Some text anti-aliasing.
--
https://code.launchpad.net/~raoul-snyman/openlp/bitsandbobs/+merge/15270
Your team OpenLP Core is subscribed to branch lp:openlp.
=== modified file 'openlp/core/lib/renderer.py'
--- openlp/core/lib/renderer.py 2009-11-21 14:32:19 +0000
+++ openlp/core/lib/renderer.py 2009-11-26 09:05:28 +0000
@@ -549,6 +549,7 @@
# setup defaults
painter = QtGui.QPainter()
painter.begin(self._frame)
+ painter.setRenderHint(QtGui.QPainter.Antialiasing);
if footer :
font = self.footerFont
else:
=== modified file 'openlp/core/ui/mainwindow.py'
--- openlp/core/ui/mainwindow.py 2009-11-21 14:32:19 +0000
+++ openlp/core/ui/mainwindow.py 2009-11-26 09:05:28 +0000
@@ -556,7 +556,7 @@
here. Currently it is set to default to monitor 0 if the saved
monitor number does not exist.
"""
- screen_number = int(self.generalConfig.get_config(u'Monitor', 0))
+ screen_number = int(self.generalConfig.get_config(u'monitor', 0))
monitor_exists = False
for screen in self.screenList:
if screen[u'number'] == screen_number:
@@ -575,16 +575,16 @@
if self.mainDisplay.isVisible():
self.mainDisplay.setFocus()
self.activateWindow()
- if str_to_bool(self.generalConfig.get_config(u'Auto Open', False)):
+ if str_to_bool(self.generalConfig.get_config(u'auto open', False)):
self.ServiceManagerContents.onLoadService(True)
- if str_to_bool(self.generalConfig.get_config(u'Screen Blank', False)) \
- and str_to_bool(self.generalConfig.get_config(u'Blank Warning', False)):
+ if str_to_bool(self.generalConfig.get_config(u'screen blank', False)) \
+ and str_to_bool(self.generalConfig.get_config(u'blank warning', False)):
QtGui.QMessageBox.question(None,
self.trUtf8(u'OpenLP Main Display Blanked'),
self.trUtf8(u'The Main Display has been blanked out'),
QtGui.QMessageBox.StandardButtons(QtGui.QMessageBox.Ok),
QtGui.QMessageBox.Ok)
- #self.LiveController.blackPushButton.setChecked(True)
+ self.LiveController.blankButton.setChecked(True)
def onHelpAboutItemClicked(self):
"""
Follow ups