43 Qt.WindowStaysOnTopHint | \ |
43 Qt.WindowStaysOnTopHint | \ |
44 Qt.X11BypassWindowManagerHint |
44 Qt.X11BypassWindowManagerHint |
45 if Globals.isWindowsPlatform(): |
45 if Globals.isWindowsPlatform(): |
46 flags |= Qt.ToolTip |
46 flags |= Qt.ToolTip |
47 self.setWindowFlags(flags) |
47 self.setWindowFlags(flags) |
|
48 |
|
49 self.frame.layout().setAlignment( |
|
50 self.verticalLayout, Qt.AlignLeft | Qt.AlignVCenter) |
48 |
51 |
49 self.__timer = QTimer(self) |
52 self.__timer = QTimer(self) |
50 self.__timer.setSingleShot(True) |
53 self.__timer.setSingleShot(True) |
51 self.__timer.timeout.connect(self.close) |
54 self.__timer.timeout.connect(self.close) |
52 |
55 |