Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
850
QPoint RemoteViewWidget::mapToSource(QPoint pos) const
851
{
852
return (pos - QPoint(m_x, m_y)) / m_zoom;
853
}
854
855
QPointF RemoteViewWidget::mapToSource(QPointF pos) const
856
{
Callers
3
repaint
Method · 0.45
onIndexClicked
Method · 0.45
mapToSourceRow
Function · 0.45
Calls
6
QPoint
Class · 0.85
QPointF
Class · 0.85
device
Method · 0.80
timestamp
Method · 0.80
QRectF
Class · 0.50
id
Method · 0.45
Tested by
no test coverage detected