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

Method insetRect

qcustomplot/qcustomplot.cpp:4906–4915  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

4904 meaning, if the inset placement (\ref setInsetPlacement) is \ref ipFree.
4905*/
4906QRectF QCPLayoutInset::insetRect(int index) const
4907{
4908 if (elementAt(index))
4909 return mInsetRect.at(index);
4910 else
4911 {
4912 qDebug() << Q_FUNC_INFO << "Invalid element index:" << index;
4913 return QRectF();
4914 }
4915}
4916
4917/*!
4918 Sets the inset placement type of the element with the specified \a index to \a placement.

Callers

nothing calls this directly

Calls 1

atMethod · 0.80

Tested by

no test coverage detected