MCPcopy Create free account
hub / github.com/OpenOrienteering/mapper / _mouseDoubleClickEvent

Method _mouseDoubleClickEvent

src/gui/map/map_widget.cpp:1104–1113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1102}
1103
1104void MapWidget::_mouseDoubleClickEvent(QMouseEvent* event)
1105{
1106 if (tool && tool->mouseDoubleClickEvent(event, view->viewToMapF(viewportToView(event->pos())), this))
1107 {
1108 event->accept();
1109 return;
1110 }
1111
1112 QWidget::mouseDoubleClickEvent(event);
1113}
1114
1115void MapWidget::wheelEvent(QWheelEvent* event)
1116{

Callers

nothing calls this directly

Calls 4

viewToMapFMethod · 0.80
posMethod · 0.80
mouseDoubleClickEventMethod · 0.45
acceptMethod · 0.45

Tested by

no test coverage detected