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

Method rangeDragAxis

3rdparty/qcustomplot/qcustomplot.cpp:18125–18131  ·  view source on GitHub ↗

! Returns the range drag axis of the \a orientation provided. If multiple axes were set, returns the first one (use \ref rangeDragAxes to retrieve a list with all set axes). \see setRangeDragAxes */

Source from the content-addressed store, hash-verified

18123 \see setRangeDragAxes
18124*/
18125QCPAxis *QCPAxisRect::rangeDragAxis(Qt::Orientation orientation)
18126{
18127 if (orientation == Qt::Horizontal)
18128 return mRangeDragHorzAxis.isEmpty() ? nullptr : mRangeDragHorzAxis.first().data();
18129 else
18130 return mRangeDragVertAxis.isEmpty() ? nullptr : mRangeDragVertAxis.first().data();
18131}
18132
18133/*!
18134 Returns the range zoom axis of the \a orientation provided. If multiple axes were set, returns

Callers 1

rangeDragMethod · 0.80

Calls 2

isEmptyMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected