! 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
| 3285 | setSizeConstraintRect (see \ref rect and \ref outerRect). |
| 3286 | */ |
| 3287 | void 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 |
nothing calls this directly
no test coverage detected