MCPcopy Create free account
hub / github.com/ckaiser/Lightscreen / mousePressEvent

Method mousePressEvent

tools/windowpicker.cpp:261–268  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

259}
260
261void WindowPicker::mousePressEvent(QMouseEvent *event)
262{
263 qApp->setOverrideCursor(QCursor(mCrosshair));
264 mCrosshairLabel->setMinimumWidth(mCrosshairLabel->width());
265 mCrosshairLabel->setMinimumHeight(mCrosshairLabel->height());
266 mCrosshairLabel->setPixmap(QPixmap());
267 QWidget::mousePressEvent(event);
268}
269
270void WindowPicker::mouseReleaseEvent(QMouseEvent *event)
271{

Callers

nothing calls this directly

Calls 2

QPixmapClass · 0.85
setPixmapMethod · 0.80

Tested by

no test coverage detected