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

Method realVisibility

src/qt/qcustomplot.cpp:1432–1435  ·  view source on GitHub ↗

! Returns whether this layerable is visible, taking the visibility of the layerable parent and the visibility of this layerable's layer into account. This is the method that is consulted to decide whether a layerable shall be drawn or not. If this layerable has a direct layerable parent (usually set via hierarchies implemented in subclasses, like in the case of \ref QCPLayoutElement),

Source from the content-addressed store, hash-verified

1430 true.
1431*/
1432bool QCPLayerable::realVisibility() const
1433{
1434 return mVisible && (!mLayer || mLayer->visible()) && (!mParentLayerable || mParentLayerable.data()->realVisibility());
1435}
1436
1437/*!
1438 This function is used to decide whether a click hits a layerable object or not.

Callers 7

Q_FOREACHFunction · 0.80
selectTestMethod · 0.80
rescaleMethod · 0.80
layoutElementAtMethod · 0.80
axisRectAtMethod · 0.80
layerableListAtMethod · 0.80
rescaleDataRangeMethod · 0.80

Calls 1

dataMethod · 0.45

Tested by

no test coverage detected