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

Method rangeDrag

qcustomplot/qcustomplot.cpp:19401–19412  ·  view source on GitHub ↗

undocumented getter */

Source from the content-addressed store, hash-verified

19399
19400/* undocumented getter */
19401bool QCPColorScale::rangeDrag() const
19402{
19403 if (!mAxisRect)
19404 {
19405 qDebug() << Q_FUNC_INFO << "internal axis rect was deleted";
19406 return false;
19407 }
19408
19409 return mAxisRect.data()->rangeDrag().testFlag(QCPAxis::orientation(mType)) &&
19410 mAxisRect.data()->rangeDragAxis(QCPAxis::orientation(mType)) &&
19411 mAxisRect.data()->rangeDragAxis(QCPAxis::orientation(mType))->orientation() == QCPAxis::orientation(mType);
19412}
19413
19414/* undocumented getter */
19415bool QCPColorScale::rangeZoom() const

Callers 1

mousePressEventMethod · 0.80

Calls 3

orientationFunction · 0.85
dataMethod · 0.80
rangeDragAxisMethod · 0.80

Tested by

no test coverage detected