(self, event)
| 520 | render.drawText(p, 2 + (self.addrWidth + 2 + cursorCol) * charWidth, 2 + y * charHeight, caretTextColor, byteStr) |
| 521 | |
| 522 | def wheelEvent(self, event): |
| 523 | if event.orientation() == Qt.Horizontal: |
| 524 | return |
| 525 | self.wheelDelta -= event.delta() |
| 526 | if (self.wheelDelta <= -40) or (self.wheelDelta >= 40): |
| 527 | lines = self.wheelDelta // 40 |
| 528 | self.wheelDelta -= lines * 40 |
| 529 | self.scrollLines(lines) |
| 530 | |
| 531 | def scrollBarMoved(self, value): |
| 532 | if self.updatingScrollBar: |
nothing calls this directly
no test coverage detected