MCPcopy 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
16void PanTool::mousePressEvent(QMouseEvent *event) {
17 if (_viewer) {
18 _viewer->togglePan(true, event->pos());
19 event->accept();
20 }
21}
22
23void PanTool::mouseReleaseEvent(QMouseEvent *event) {
24 if (_viewer) {

Callers

nothing calls this directly

Calls 1

togglePanMethod · 0.80

Tested by

no test coverage detected