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

Method setSelectionTolerance

qcustomplot/qcustomplot.cpp:13161–13164  ·  view source on GitHub ↗

! Sets the tolerance that is used to decide whether a click selects an object (e.g. a plottable) or not. If the user clicks in the vicinity of the line of e.g. a QCPGraph, it's only regarded as a potential selection when the minimum distance between the click position and the graph line is smaller than \a pixels. Objects that are defined by an area (e.g. QCPBars) only react to clicks

Source from the content-addressed store, hash-verified

13159 \see setInteractions, QCPLayerable::selectTest
13160*/
13161void QCustomPlot::setSelectionTolerance(int pixels)
13162{
13163 mSelectionTolerance = pixels;
13164}
13165
13166/*!
13167 Sets whether antialiasing is disabled for this QCustomPlot while the user is dragging axes

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected