Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/computationalpathologygroup/ASAP
/ mousePressEvent
Method
mousePressEvent
ASAP/basictools/PanTool.cpp:16–21 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
14
}
15
16
void PanTool::mousePressEvent(QMouseEvent *event) {
17
if (_viewer) {
18
_viewer->togglePan(true, event->pos());
19
event->accept();
20
}
21
}
22
23
void PanTool::mouseReleaseEvent(QMouseEvent *event) {
24
if (_viewer) {
Callers
nothing calls this directly
Calls
1
togglePan
Method · 0.80
Tested by
no test coverage detected