← Back to team overview

openlp-core team mailing list archive

[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:
  Raoul Snyman (raoul-snyman)
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/186251

fixed transparent display for OS X
-- 
https://code.launchpad.net/~marmyshev/openlp/20_bug_1117098/+merge/186251
Your team OpenLP Core is subscribed to branch 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-18 06:52:47 +0000
@@ -175,8 +175,10 @@
     def setTransparency(self, enabled):
         if enabled:
             self.setAutoFillBackground(False)
+            self.setStyleSheet("QGraphicsView {background: transparent; border: 0px;}")
         else:
             self.setAttribute(QtCore.Qt.WA_NoSystemBackground, False)
+            self.setStyleSheet("QGraphicsView {}")
         self.setAttribute(QtCore.Qt.WA_TranslucentBackground, enabled)
         self.repaint()
 


Follow ups