MCPcopy Create free account
hub / github.com/CieNTi/serial_port_plotter / insetAlignment

Method insetAlignment

qcustomplot/qcustomplot.cpp:4891–4900  ·  view source on GitHub ↗

! Returns the alignment of the element with the specified \a index. The alignment only has a meaning, if the inset placement (\ref setInsetPlacement) is \ref ipBorderAligned. */

Source from the content-addressed store, hash-verified

4889 meaning, if the inset placement (\ref setInsetPlacement) is \ref ipBorderAligned.
4890*/
4891Qt::Alignment QCPLayoutInset::insetAlignment(int index) const
4892{
4893 if (elementAt(index))
4894 return mInsetAlignment.at(index);
4895 else
4896 {
4897 qDebug() << Q_FUNC_INFO << "Invalid element index:" << index;
4898 return 0;
4899 }
4900}
4901
4902/*!
4903 Returns the rect of the element with the specified \a index. The rect only has a

Callers

nothing calls this directly

Calls 1

atMethod · 0.80

Tested by

no test coverage detected