! Returns all range zoom axes of the \a orientation provided. \see rangeDragAxis, setRangeDragAxes */
| 18176 | \see rangeDragAxis, setRangeDragAxes |
| 18177 | */ |
| 18178 | QList<QCPAxis*> QCPAxisRect::rangeZoomAxes(Qt::Orientation orientation) |
| 18179 | { |
| 18180 | QList<QCPAxis*> result; |
| 18181 | if (orientation == Qt::Horizontal) |
| 18182 | { |
| 18183 | foreach (QPointer<QCPAxis> axis, mRangeZoomHorzAxis) |
| 18184 | { |
| 18185 | if (!axis.isNull()) |
| 18186 | result.append(axis.data()); |
| 18187 | } |
| 18188 | } else |
| 18189 | { |
| 18190 | foreach (QPointer<QCPAxis> axis, mRangeZoomVertAxis) |
| 18191 | { |
| 18192 | if (!axis.isNull()) |
| 18193 | result.append(axis.data()); |
| 18194 | } |
| 18195 | } |
| 18196 | return result; |
| 18197 | } |
| 18198 | |
| 18199 | /*! |
| 18200 | Returns the range zoom factor of the \a orientation provided. |
no outgoing calls
no test coverage detected