| 295 | } |
| 296 | |
| 297 | void DrawWidget::mouseMoveEvent(QMouseEvent * e) |
| 298 | { |
| 299 | if (m_screenshotMode) |
| 300 | return; |
| 301 | |
| 302 | QOpenGLWidget::mouseMoveEvent(e); |
| 303 | |
| 304 | if (IsLeftButton(e) && !IsAltModifier(e)) |
| 305 | { |
| 306 | m_framework.TouchEvent(GetDfTouchEventFromQMouseEvent(e, df::TouchEvent::TOUCH_MOVE)); |
| 307 | e->accept(); |
| 308 | } |
| 309 | |
| 310 | if (m_selectionMode && m_rubberBand != nullptr && m_rubberBand->isVisible()) |
| 311 | m_rubberBand->setGeometry(QRect(m_rubberBandOrigin, e->pos()).normalized()); |
| 312 | } |
| 313 | |
| 314 | void DrawWidget::VisualizeMwmsBordersInRect(m2::RectD const & rect, bool withVertices, bool fromPackedPolygon, |
| 315 | bool boundingBox) |
nothing calls this directly
no test coverage detected