MCPcopy Index your code
hub / github.com/Audio4Linux/JDSP4Linux / setInsetAlignment

Method setInsetAlignment

3rdparty/qcustomplot/qcustomplot.cpp:4967–4973  ·  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

4965 alignment flags will be ignored.
4966*/
4967void QCPLayoutInset::setInsetAlignment(int index, Qt::Alignment alignment)
4968{
4969 if (elementAt(index))
4970 mInsetAlignment[index] = alignment;
4971 else
4972 qDebug() << Q_FUNC_INFO << "Invalid element index:" << index;
4973}
4974
4975/*!
4976 If the inset placement (\ref setInsetPlacement) is \ref ipFree, this function is used to set the

Callers 2

AeqPreviewPlotMethod · 0.80
moveLegendMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected