! 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 */
| 3371 | \see setMinimumSize, setMaximumSize |
| 3372 | */ |
| 3373 | void QCPLayoutElement::setSizeConstraintRect(SizeConstraintRect constraintRect) |
| 3374 | { |
| 3375 | if (mSizeConstraintRect != constraintRect) |
| 3376 | { |
| 3377 | mSizeConstraintRect = constraintRect; |
| 3378 | if (mParentLayout) |
| 3379 | mParentLayout->sizeConstraintsChanged(); |
| 3380 | } |
| 3381 | } |
| 3382 | |
| 3383 | /*! |
| 3384 | Sets the margin \a group of the specified margin \a sides. |
nothing calls this directly
no test coverage detected