(self, event)
| 72 | self.update() |
| 73 | |
| 74 | def mousePressEvent(self, event): |
| 75 | if event.button() != Qt.LeftButton: |
| 76 | return |
| 77 | frac = float(event.x()) / self.rect().width() |
| 78 | offset = int(frac * self.width * self.block_size) |
| 79 | self.view.navigateToFileOffset(offset) |
nothing calls this directly
no test coverage detected