Add transparency support

This commit is contained in:
Vinyl Darkscratch 2018-03-07 00:23:57 -08:00
parent b29385fd4d
commit df7094c852
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ class Journal(QWidget):
self.label = QLabel(self)
self.change_image('default_en')
self.setWindowFlags(self.windowFlags() | QtCore.Qt.FramelessWindowHint)
self.setWindowFlags(self.windowFlags() | Qt.FramelessWindowHint)
self.setAttribute(Qt.WA_TranslucentBackground)
self.setAttribute(Qt.WA_NoSystemBackground)
self.setWindowTitle('')