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