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

Method insetAlignment

projects/gui/3rdparty/qcustomplot/qcustomplot.cpp:4916–4929  ·  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

4914 meaning, if the inset placement (\ref setInsetPlacement) is \ref ipBorderAligned.
4915*/
4916Qt::Alignment QCPLayoutInset::insetAlignment(int index) const
4917{
4918 if (elementAt(index))
4919 return mInsetAlignment.at(index);
4920 else
4921 {
4922 qDebug() << Q_FUNC_INFO << "Invalid element index:" << index;
4923#if QT_VERSION < QT_VERSION_CHECK(5, 2, 0)
4924 return nullptr;
4925#else
4926 return {};
4927#endif
4928 }
4929}
4930
4931/*!
4932 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