MCPcopy Index your code
hub / github.com/Audio4Linux/JDSP4Linux / selectTest

Method selectTest

3rdparty/qcustomplot/qcustomplot.cpp:1503–1509  ·  view source on GitHub ↗

! This function is used to decide whether a click hits a layerable object or not. \a pos is a point in pixel coordinates on the QCustomPlot surface. This function returns the shortest pixel distance of this point to the object. If the object is either invisible or the distance couldn't be determined, -1.0 is returned. Further, if \a onlySelectable is true and the object is not selectabl

Source from the content-addressed store, hash-verified

1501 QCPAbstractPlottable1D::selectTestRect
1502*/
1503double QCPLayerable::selectTest(const QPointF &pos, bool onlySelectable, QVariant *details) const
1504{
1505 Q_UNUSED(pos)
1506 Q_UNUSED(onlySelectable)
1507 Q_UNUSED(details)
1508 return -1.0;
1509}
1510
1511/*! \internal
1512

Callers 5

foreachFunction · 0.45
layoutElementAtMethod · 0.45
axisRectAtMethod · 0.45
layerableListAtMethod · 0.45
onContextMenuRequestMethod · 0.45

Calls 15

axisRectMethod · 0.80
constEndMethod · 0.80
constBeginMethod · 0.80
keyRangeMethod · 0.80
valueRangeMethod · 0.80
pixelPositionMethod · 0.80
distanceSquaredToLineMethod · 0.80
normalizedMethod · 0.80
alphaMethod · 0.80
intersectsMethod · 0.80
lengthMethod · 0.80

Tested by

no test coverage detected