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

Method startSelection

qcustomplot/qcustomplot.cpp:2891–2896  ·  view source on GitHub ↗

! \internal This method is called by QCustomPlot to indicate that a selection rect interaction was initiated. The default implementation sets the selection rect to active, initializes the selection rect geometry and emits the \ref started signal. */

Source from the content-addressed store, hash-verified

2889 geometry and emits the \ref started signal.
2890*/
2891void QCPSelectionRect::startSelection(QMouseEvent *event)
2892{
2893 mActive = true;
2894 mRect = QRect(event->pos(), event->pos());
2895 emit started(event);
2896}
2897
2898/*! \internal
2899

Callers 1

mousePressEventMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected