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

Method rangeZoomAxes

3rdparty/qcustomplot/qcustomplot.cpp:18178–18197  ·  view source on GitHub ↗

! Returns all range zoom axes of the \a orientation provided. \see rangeDragAxis, setRangeDragAxes */

Source from the content-addressed store, hash-verified

18176 \see rangeDragAxis, setRangeDragAxes
18177*/
18178QList<QCPAxis*> QCPAxisRect::rangeZoomAxes(Qt::Orientation orientation)
18179{
18180 QList<QCPAxis*> result;
18181 if (orientation == Qt::Horizontal)
18182 {
18183 foreach (QPointer<QCPAxis> axis, mRangeZoomHorzAxis)
18184 {
18185 if (!axis.isNull())
18186 result.append(axis.data());
18187 }
18188 } else
18189 {
18190 foreach (QPointer<QCPAxis> axis, mRangeZoomVertAxis)
18191 {
18192 if (!axis.isNull())
18193 result.append(axis.data());
18194 }
18195 }
18196 return result;
18197}
18198
18199/*!
18200 Returns the range zoom factor of the \a orientation provided.

Callers 2

wheelEventMethod · 0.80
processRectZoomMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected