MCPcopy Create free account
hub / github.com/OpenBoard-org/OpenBoard / mouseMoveEvent

Method mouseMoveEvent

src/desktop/UBCustomCaptureWindow.cpp:98–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96
97
98void UBCustomCaptureWindow::mouseMoveEvent ( QMouseEvent * event )
99{
100 if (mIsSelecting)
101 {
102 mSelectionBand->setGeometry(QRect(mOrigin, event->pos()).normalized());
103 }
104
105 event->accept();
106}
107
108
109void UBCustomCaptureWindow::mousePressEvent ( QMouseEvent * event )

Callers

nothing calls this directly

Calls 2

posMethod · 0.80
acceptMethod · 0.45

Tested by

no test coverage detected