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

Method setSizeConstraintRect

3rdparty/qcustomplot/qcustomplot.cpp:3373–3381  ·  view source on GitHub ↗

! Sets to which rect of a layout element the size constraints apply. Size constraints can be set via \ref setMinimumSize and \ref setMaximumSize. The outer rect (\ref outerRect) includes the margins (e.g. in the case of a QCPAxisRect the axis labels), whereas the inner rect (\ref rect) does not. \see setMinimumSize, setMaximumSize */

Source from the content-addressed store, hash-verified

3371 \see setMinimumSize, setMaximumSize
3372*/
3373void QCPLayoutElement::setSizeConstraintRect(SizeConstraintRect constraintRect)
3374{
3375 if (mSizeConstraintRect != constraintRect)
3376 {
3377 mSizeConstraintRect = constraintRect;
3378 if (mParentLayout)
3379 mParentLayout->sizeConstraintsChanged();
3380 }
3381}
3382
3383/*!
3384 Sets the margin \a group of the specified margin \a sides.

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected