undocumented getter */
| 20156 | |
| 20157 | /* undocumented getter */ |
| 20158 | bool QCPColorScale::rangeDrag() const |
| 20159 | { |
| 20160 | if (!mAxisRect) |
| 20161 | { |
| 20162 | qDebug() << Q_FUNC_INFO << "internal axis rect was deleted"; |
| 20163 | return false; |
| 20164 | } |
| 20165 | |
| 20166 | return mAxisRect.data()->rangeDrag().testFlag(QCPAxis::orientation(mType)) && |
| 20167 | mAxisRect.data()->rangeDragAxis(QCPAxis::orientation(mType)) && |
| 20168 | mAxisRect.data()->rangeDragAxis(QCPAxis::orientation(mType))->orientation() == QCPAxis::orientation(mType); |
| 20169 | } |
| 20170 | |
| 20171 | /* undocumented getter */ |
| 20172 | bool QCPColorScale::rangeZoom() const |
no test coverage detected