forked from openlp/openlp
remove display background
This commit is contained in:
parent
6a0ff1ae3c
commit
5c90f4944c
@ -94,6 +94,8 @@ class MainDisplay(DisplayWidget):
|
|||||||
DisplayWidget.__init__(self, None)
|
DisplayWidget.__init__(self, None)
|
||||||
self.parent = parent
|
self.parent = parent
|
||||||
self.setWindowTitle(u'OpenLP Display')
|
self.setWindowTitle(u'OpenLP Display')
|
||||||
|
self.setAttribute(QtCore.Qt.WA_TranslucentBackground)
|
||||||
|
self.setWindowFlags(QtCore.Qt.FramelessWindowHint)
|
||||||
self.screens = screens
|
self.screens = screens
|
||||||
self.mediaObject = Phonon.MediaObject(self)
|
self.mediaObject = Phonon.MediaObject(self)
|
||||||
self.video = Phonon.VideoWidget()
|
self.video = Phonon.VideoWidget()
|
||||||
@ -226,6 +228,7 @@ class MainDisplay(DisplayWidget):
|
|||||||
``frame``
|
``frame``
|
||||||
Image frame to be rendered
|
Image frame to be rendered
|
||||||
"""
|
"""
|
||||||
|
self.display_image.setPixmap(self.transparent)
|
||||||
if not self.displayBlank:
|
if not self.displayBlank:
|
||||||
if transition:
|
if transition:
|
||||||
if self.frame is not None:
|
if self.frame is not None:
|
||||||
|
Loading…
Reference in New Issue
Block a user