MCPcopy Create free account
hub / github.com/CieNTi/serial_port_plotter / endSelection

Method endSelection

qcustomplot/qcustomplot.cpp:2917–2922  ·  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

2915 selection rect and emits the \ref accepted signal.
2916*/
2917void QCPSelectionRect::endSelection(QMouseEvent *event)
2918{
2919 mRect.setBottomRight(event->pos());
2920 mActive = false;
2921 emit accepted(mRect, event);
2922}
2923
2924/*! \internal
2925

Callers 1

mouseReleaseEventMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected