MCPcopy Create free account
hub / github.com/CieNTi/serial_port_plotter / setRangeDragAxes

Method setRangeDragAxes

qcustomplot/qcustomplot.cpp:17527–17535  ·  view source on GitHub ↗

! \overload Sets the axes whose range will be dragged when \ref setRangeDrag enables mouse range dragging on the QCustomPlot widget. Pass 0 if no axis shall be dragged in the respective orientation. Use the overload taking a list of axes, if multiple axes (more than one per orientation) shall react to dragging interactions. \see setRangeZoomAxes */

Source from the content-addressed store, hash-verified

17525 \see setRangeZoomAxes
17526*/
17527void QCPAxisRect::setRangeDragAxes(QCPAxis *horizontal, QCPAxis *vertical)
17528{
17529 QList<QCPAxis*> horz, vert;
17530 if (horizontal)
17531 horz.append(horizontal);
17532 if (vertical)
17533 vert.append(vertical);
17534 setRangeDragAxes(horz, vert);
17535}
17536
17537/*! \overload
17538

Callers 1

setTypeMethod · 0.80

Calls 2

appendMethod · 0.80
clearMethod · 0.60

Tested by

no test coverage detected