MCPcopy Create free account
hub / github.com/KDAB/GammaRay / mapToSource

Method mapToSource

ui/remoteviewwidget.cpp:850–853  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

848}
849
850QPoint RemoteViewWidget::mapToSource(QPoint pos) const
851{
852 return (pos - QPoint(m_x, m_y)) / m_zoom;
853}
854
855QPointF RemoteViewWidget::mapToSource(QPointF pos) const
856{

Callers 3

repaintMethod · 0.45
onIndexClickedMethod · 0.45
mapToSourceRowFunction · 0.45

Calls 6

QPointClass · 0.85
QPointFClass · 0.85
deviceMethod · 0.80
timestampMethod · 0.80
QRectFClass · 0.50
idMethod · 0.45

Tested by

no test coverage detected