| 214 | } |
| 215 | |
| 216 | void RegisterView::wheelEvent(QWheelEvent* event) |
| 217 | { |
| 218 | if (event->angleDelta().y() < 0 && m_rowEnd < cpu().getRegisterCount(ui.registerTabs->currentIndex())) |
| 219 | { |
| 220 | m_rowStart += 1; |
| 221 | } |
| 222 | else if (event->angleDelta().y() > 0 && m_rowStart > 0) |
| 223 | { |
| 224 | m_rowStart -= 1; |
| 225 | } |
| 226 | |
| 227 | update(); |
| 228 | } |
| 229 | |
| 230 | void RegisterView::mouseDoubleClickEvent(QMouseEvent* event) |
| 231 | { |
nothing calls this directly
no test coverage detected