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

Method selectTest

src/qt/qcustomplot.cpp:1471–1477  ·  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

1469 \see selectEvent, deselectEvent, mousePressEvent, wheelEvent, QCustomPlot::setInteractions
1470*/
1471double QCPLayerable::selectTest(const QPointF &pos, bool onlySelectable, QVariant *details) const
1472{
1473 Q_UNUSED(pos)
1474 Q_UNUSED(onlySelectable)
1475 Q_UNUSED(details)
1476 return -1.0;
1477}
1478
1479/*! \internal
1480

Callers 4

Q_FOREACHFunction · 0.45
layoutElementAtMethod · 0.45
axisRectAtMethod · 0.45
layerableListAtMethod · 0.45

Calls 15

maxFunction · 0.85
realVisibilityMethod · 0.80
axisRectMethod · 0.80
constEndMethod · 0.80
constBeginMethod · 0.80
distanceSquaredToLineMethod · 0.80
keyRangeMethod · 0.80
valueRangeMethod · 0.80
pixelPositionMethod · 0.80
normalizedMethod · 0.80
alphaMethod · 0.80

Tested by

no test coverage detected