| 477 | } |
| 478 | |
| 479 | void MapWidget::mousePressEvent(QMouseEvent * e) |
| 480 | { |
| 481 | if (m_screenshotMode) |
| 482 | return; |
| 483 | |
| 484 | QOpenGLWidget::mousePressEvent(e); |
| 485 | if (IsLeftButton(e)) |
| 486 | m_framework.TouchEvent(GetDfTouchEventFromQMouseEvent(e, df::TouchEvent::TOUCH_DOWN)); |
| 487 | } |
| 488 | |
| 489 | void MapWidget::mouseMoveEvent(QMouseEvent * e) |
| 490 | { |
nothing calls this directly
no test coverage detected