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

Method mouseDoubleClickEvent

qt/qt_common/map_widget.cpp:469–477  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

467}
468
469void MapWidget::mouseDoubleClickEvent(QMouseEvent * e)
470{
471 if (m_screenshotMode)
472 return;
473
474 QOpenGLWidget::mouseDoubleClickEvent(e);
475 if (IsLeftButton(e))
476 m_framework.Scale(Framework::SCALE_MAG_LIGHT, GetDevicePoint(e), true);
477}
478
479void MapWidget::mousePressEvent(QMouseEvent * e)
480{

Callers

nothing calls this directly

Calls 2

IsLeftButtonFunction · 0.85
ScaleMethod · 0.45

Tested by

no test coverage detected