! Returns the axis type that describes the opposite axis of an axis with the specified \a type. */
| 8773 | Returns the axis type that describes the opposite axis of an axis with the specified \a type. |
| 8774 | */ |
| 8775 | QCPAxis::AxisType QCPAxis::opposite(QCPAxis::AxisType type) |
| 8776 | { |
| 8777 | switch (type) |
| 8778 | { |
| 8779 | case atLeft: return atRight; break; |
| 8780 | case atRight: return atLeft; break; |
| 8781 | case atBottom: return atTop; break; |
| 8782 | case atTop: return atBottom; break; |
| 8783 | default: qDebug() << Q_FUNC_INFO << "invalid axis type"; return atLeft; break; |
| 8784 | } |
| 8785 | } |
| 8786 | |
| 8787 | /* inherits documentation from base class */ |
| 8788 | void QCPAxis::selectEvent(QMouseEvent *event, bool additive, const QVariant &details, bool *selectionStateChanged) |
nothing calls this directly
no outgoing calls
no test coverage detected