! Creates an instance of QCPLayoutElement and sets default values. */
| 3179 | Creates an instance of QCPLayoutElement and sets default values. |
| 3180 | */ |
| 3181 | QCPLayoutElement::QCPLayoutElement(QCustomPlot *parentPlot) : |
| 3182 | QCPLayerable(parentPlot), // parenthood is changed as soon as layout element gets inserted into a layout (except for top level layout) |
| 3183 | mParentLayout(0), |
| 3184 | mMinimumSize(), |
| 3185 | mMaximumSize(QWIDGETSIZE_MAX, QWIDGETSIZE_MAX), |
| 3186 | mSizeConstraintRect(scrInnerRect), |
| 3187 | mRect(0, 0, 0, 0), |
| 3188 | mOuterRect(0, 0, 0, 0), |
| 3189 | mMargins(0, 0, 0, 0), |
| 3190 | mMinimumMargins(0, 0, 0, 0), |
| 3191 | mAutoMargins(QCP::msAll) |
| 3192 | { |
| 3193 | } |
| 3194 | |
| 3195 | QCPLayoutElement::~QCPLayoutElement() |
| 3196 | { |
nothing calls this directly
no outgoing calls
no test coverage detected