def __init__(self, parent=None):
QWidget.__init__(self, parent)
+ self.logWindow = LogWindow(self)
+
self.pix = QLabel(self)
self.config_screen = ConfigScreen(self)
self.main_screen = MainScreen(self)
self.showLogWindow)
def showLogWindow(self, link):
- log = LogWindow(self)
- log.show()
- log.raise_()
- log.activateWindow()
+ self.logWindow.show()
+ self.logWindow.raise_()
+ self.logWindow.activateWindow()
def animatePixmap(self, y):
self.pix.move(0, y)