undocumented getter */
| 19399 | |
| 19400 | /* undocumented getter */ |
| 19401 | bool 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 */ |
| 19415 | bool QCPColorScale::rangeZoom() const |
no test coverage detected