openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #21851
[Merge] lp:~marmyshev/openlp/bug_1117098 into lp:openlp
Dmitriy Marmyshev has proposed merging lp:~marmyshev/openlp/bug_1117098 into lp:openlp.
Requested reviews:
OpenLP Core (openlp-core)
Related bugs:
Bug #1117098 in OpenLP: "Transparen theme is white on Mac OSX"
https://bugs.launchpad.net/openlp/+bug/1117098
For more details, see:
https://code.launchpad.net/~marmyshev/openlp/bug_1117098/+merge/186095
Fixed transparent display on OS X
--
https://code.launchpad.net/~marmyshev/openlp/bug_1117098/+merge/186095
Your team OpenLP Core is requested to review the proposed merge of lp:~marmyshev/openlp/bug_1117098 into lp:openlp.
=== modified file 'openlp/core/ui/maindisplay.py'
--- openlp/core/ui/maindisplay.py 2013-08-31 18:17:38 +0000
+++ openlp/core/ui/maindisplay.py 2013-09-17 16:26:29 +0000
@@ -167,8 +167,10 @@
"""
if enabled:
self.setAutoFillBackground(False)
+ self.setStyleSheet("QGraphicsView {background: transparent;}")
else:
self.setAttribute(QtCore.Qt.WA_NoSystemBackground, False)
+ self.setStyleSheet("QGraphicsView {background: white;}")
self.setAttribute(QtCore.Qt.WA_TranslucentBackground, enabled)
self.repaint()
Follow ups