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

Method endSelection

src/qt/qcustomplot.cpp:2911–2916  ·  view source on GitHub ↗

! \internal This method is called by QCustomPlot to indicate that an ongoing selection rect interaction has finished by the user releasing the mouse button. The default implementation deactivates the selection rect and emits the \ref accepted signal. */

Source from the content-addressed store, hash-verified

2909 selection rect and emits the \ref accepted signal.
2910*/
2911void QCPSelectionRect::endSelection(QMouseEvent *event)
2912{
2913 mRect.setBottomRight(event->pos());
2914 mActive = false;
2915 Q_EMIT accepted(mRect, event);
2916}
2917
2918/*! \internal
2919

Callers 1

mouseReleaseEventMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected