! 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). */
| 3340 | setSizeConstraintRect (see \ref rect and \ref outerRect). |
| 3341 | */ |
| 3342 | void QCPLayoutElement::setMaximumSize(const QSize &size) |
| 3343 | { |
| 3344 | if (mMaximumSize != size) |
| 3345 | { |
| 3346 | mMaximumSize = size; |
| 3347 | if (mParentLayout) |
| 3348 | mParentLayout->sizeConstraintsChanged(); |
| 3349 | } |
| 3350 | } |
| 3351 | |
| 3352 | /*! \overload |
| 3353 |
no test coverage detected