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

Method rangeDragAxes

3rdparty/qcustomplot/qcustomplot.cpp:18152–18171  ·  view source on GitHub ↗

! Returns all range drag axes of the \a orientation provided. \see rangeZoomAxis, setRangeZoomAxes */

Source from the content-addressed store, hash-verified

18150 \see rangeZoomAxis, setRangeZoomAxes
18151*/
18152QList<QCPAxis*> QCPAxisRect::rangeDragAxes(Qt::Orientation orientation)
18153{
18154 QList<QCPAxis*> result;
18155 if (orientation == Qt::Horizontal)
18156 {
18157 foreach (QPointer<QCPAxis> axis, mRangeDragHorzAxis)
18158 {
18159 if (!axis.isNull())
18160 result.append(axis.data());
18161 }
18162 } else
18163 {
18164 foreach (QPointer<QCPAxis> axis, mRangeDragVertAxis)
18165 {
18166 if (!axis.isNull())
18167 result.append(axis.data());
18168 }
18169 }
18170 return result;
18171}
18172
18173/*!
18174 Returns all range zoom axes of the \a orientation provided.

Callers 1

mousePressEventMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected