MCPcopy Create free account
hub / github.com/comaps/comaps / mousePressEvent

Method mousePressEvent

qt/qt_common/map_widget.cpp:479–487  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

477}
478
479void 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
489void MapWidget::mouseMoveEvent(QMouseEvent * e)
490{

Callers

nothing calls this directly

Calls 2

IsLeftButtonFunction · 0.85
TouchEventMethod · 0.45

Tested by

no test coverage detected