MCPcopy Create free account
hub / github.com/LUX-Core/lux / mouseReleaseEvent

Method mouseReleaseEvent

src/qt/qcustomplot.cpp:1744–1748  ·  view source on GitHub ↗

! This event gets called when the user releases the mouse button, after this layerable has become the mouse grabber by accepting the preceding \ref mousePressEvent. The current pixel position of the cursor on the QCustomPlot widget is accessible via \c event->pos(). The parameter \a startPos indicates the position where the initial \ref mousePressEvent occured, that started the mouse in

Source from the content-addressed store, hash-verified

1742 \see mousePressEvent, mouseMoveEvent, mouseDoubleClickEvent, wheelEvent
1743*/
1744void QCPLayerable::mouseReleaseEvent(QMouseEvent *event, const QPointF &startPos)
1745{
1746 Q_UNUSED(startPos)
1747 event->ignore();
1748}
1749
1750/*!
1751 This event gets called when the user presses the mouse button a second time in a double-click,

Callers

nothing calls this directly

Calls 12

noAntialiasingOnDragFunction · 0.85
ignoreMethod · 0.80
isActiveMethod · 0.80
endSelectionMethod · 0.80
cancelMethod · 0.45
isEmptyMethod · 0.45
beginMethod · 0.45
dataRangeMethod · 0.45
acceptMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected