MCPcopy Create free account
hub / github.com/collin80/SavvyCAN / setInsetAlignment

Method setInsetAlignment

qcustomplot.cpp:4938–4944  ·  view source on GitHub ↗

! If the inset placement (\ref setInsetPlacement) is \ref ipBorderAligned, this function is used to set the alignment of the element with the specified \a index to \a alignment. \a alignment is an or combination of the following alignment flags: Qt::AlignLeft, Qt::AlignHCenter, Qt::AlighRight, Qt::AlignTop, Qt::AlignVCenter, Qt::AlignBottom. Any other alignment flags will be ignored.

Source from the content-addressed store, hash-verified

4936 alignment flags will be ignored.
4937*/
4938void QCPLayoutInset::setInsetAlignment(int index, Qt::Alignment alignment)
4939{
4940 if (elementAt(index))
4941 mInsetAlignment[index] = alignment;
4942 else
4943 qDebug() << Q_FUNC_INFO << "Invalid element index:" << index;
4944}
4945
4946/*!
4947 If the inset placement (\ref setInsetPlacement) is \ref ipFree, this function is used to set the

Callers 1

moveLegendMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected