MCPcopy Create free account
hub / github.com/cutechess/cutechess / opposite

Method opposite

projects/gui/3rdparty/qcustomplot/qcustomplot.cpp:9473–9484  ·  view source on GitHub ↗

! Returns the axis type that describes the opposite axis of an axis with the specified \a type. */

Source from the content-addressed store, hash-verified

9471 Returns the axis type that describes the opposite axis of an axis with the specified \a type.
9472*/
9473QCPAxis::AxisType QCPAxis::opposite(QCPAxis::AxisType type)
9474{
9475 switch (type)
9476 {
9477 case atLeft: return atRight;
9478 case atRight: return atLeft;
9479 case atBottom: return atTop;
9480 case atTop: return atBottom;
9481 }
9482 qDebug() << Q_FUNC_INFO << "invalid axis type";
9483 return atLeft;
9484}
9485
9486/* inherits documentation from base class */
9487void QCPAxis::selectEvent(QMouseEvent *event, bool additive, const QVariant &details, bool *selectionStateChanged)

Callers 1

resignGameMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected