From 5c90f4944c6b2f470ed8067b70d5e834b5e323fc Mon Sep 17 00:00:00 2001 From: Tim Bentley Date: Wed, 7 Apr 2010 20:09:13 +0100 Subject: [PATCH] remove display background --- openlp/core/ui/maindisplay.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/openlp/core/ui/maindisplay.py b/openlp/core/ui/maindisplay.py index e59ce2060..fbfe5dfb4 100644 --- a/openlp/core/ui/maindisplay.py +++ b/openlp/core/ui/maindisplay.py @@ -94,6 +94,8 @@ class MainDisplay(DisplayWidget): DisplayWidget.__init__(self, None) self.parent = parent self.setWindowTitle(u'OpenLP Display') + self.setAttribute(QtCore.Qt.WA_TranslucentBackground) + self.setWindowFlags(QtCore.Qt.FramelessWindowHint) self.screens = screens self.mediaObject = Phonon.MediaObject(self) self.video = Phonon.VideoWidget() @@ -226,6 +228,7 @@ class MainDisplay(DisplayWidget): ``frame`` Image frame to be rendered """ + self.display_image.setPixmap(self.transparent) if not self.displayBlank: if transition: if self.frame is not None: