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

Method setMinimumSize

qcustomplot/qcustomplot.cpp:3287–3295  ·  view source on GitHub ↗

! Sets the minimum size of this layout element. A parent layout tries to respect the \a size here by changing row/column sizes in the layout accordingly. If the parent layout size is not sufficient to satisfy all minimum size constraints of its child layout elements, the layout may set a size that is actually smaller than \a size. QCustomPlot propagates the layout's size constraints t

Source from the content-addressed store, hash-verified

3285 setSizeConstraintRect (see \ref rect and \ref outerRect).
3286*/
3287void QCPLayoutElement::setMinimumSize(const QSize &size)
3288{
3289 if (mMinimumSize != size)
3290 {
3291 mMinimumSize = size;
3292 if (mParentLayout)
3293 mParentLayout->sizeConstraintsChanged();
3294 }
3295}
3296
3297/*! \overload
3298

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected