openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #21854
[Merge] lp:~marmyshev/openlp/20_bug_1117098 into lp:openlp/2.0
Dmitriy Marmyshev has proposed merging lp:~marmyshev/openlp/20_bug_1117098 into lp:openlp/2.0.
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/20_bug_1117098/+merge/186100
fixed transparent display for OS X
--
https://code.launchpad.net/~marmyshev/openlp/20_bug_1117098/+merge/186100
Your team OpenLP Core is requested to review the proposed merge of lp:~marmyshev/openlp/20_bug_1117098 into lp:openlp/2.0.
=== modified file 'openlp/core/ui/maindisplay.py'
--- openlp/core/ui/maindisplay.py 2013-03-05 17:14:17 +0000
+++ openlp/core/ui/maindisplay.py 2013-09-17 16:37:43 +0000
@@ -175,8 +175,10 @@
def setTransparency(self, enabled):
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