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

Method cancel

src/qt/qcustomplot.cpp:2870–2877  ·  view source on GitHub ↗

! If there is currently a selection interaction going on (\ref isActive), the interaction is canceled. The selection rect will emit the \ref canceled signal. */

Source from the content-addressed store, hash-verified

2868 canceled. The selection rect will emit the \ref canceled signal.
2869*/
2870void QCPSelectionRect::cancel()
2871{
2872 if (mActive)
2873 {
2874 mActive = false;
2875 Q_EMIT canceled(mRect, 0);
2876 }
2877}
2878
2879/*! \internal
2880

Callers 2

setSelectionRectModeMethod · 0.45
mouseReleaseEventMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected