! Sets to which rect of a layout element the size constraints apply. Size constraints can be set via \ref setMinimumSize and \ref setMaximumSize. The outer rect (\ref outerRect) includes the margins (e.g. in the case of a QCPAxisRect the axis labels), whereas the inner rect (\ref rect) does not. \see setMinimumSize, setMaximumSize */
| 3339 | \see setMinimumSize, setMaximumSize |
| 3340 | */ |
| 3341 | void QCPLayoutElement::setSizeConstraintRect(SizeConstraintRect constraintRect) |
| 3342 | { |
| 3343 | if (mSizeConstraintRect != constraintRect) |
| 3344 | { |
| 3345 | mSizeConstraintRect = constraintRect; |
| 3346 | if (mParentLayout) |
| 3347 | mParentLayout->sizeConstraintsChanged(); |
| 3348 | } |
| 3349 | } |
| 3350 | |
| 3351 | /*! |
| 3352 | Sets the margin \a group of the specified margin \a sides. |
nothing calls this directly
no test coverage detected