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

Method setMaximumSize

qcustomplot/qcustomplot.cpp:3316–3324  ·  view source on GitHub ↗

! Sets the maximum size of this layout element. A parent layout tries to respect the \a size here by changing row/column sizes in the layout accordingly. Whether this constraint applies to the inner or the outer rect can be specified with \ref setSizeConstraintRect (see \ref rect and \ref outerRect). */

Source from the content-addressed store, hash-verified

3314 setSizeConstraintRect (see \ref rect and \ref outerRect).
3315*/
3316void QCPLayoutElement::setMaximumSize(const QSize &size)
3317{
3318 if (mMaximumSize != size)
3319 {
3320 mMaximumSize = size;
3321 if (mParentLayout)
3322 mParentLayout->sizeConstraintsChanged();
3323 }
3324}
3325
3326/*! \overload
3327

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected