(self)
| 64 | return QSize(640, 32) |
| 65 | |
| 66 | def timerEvent(self): |
| 67 | if not self.started: |
| 68 | self.thread.start() |
| 69 | self.started = True |
| 70 | if self.thread.updated: |
| 71 | self.thread.updated = False |
| 72 | self.update() |
| 73 | |
| 74 | def mousePressEvent(self, event): |
| 75 | if event.button() != Qt.LeftButton: |