MCPcopy Create free account
hub / github.com/CieNTi/serial_port_plotter / QCPLayoutElement

Method QCPLayoutElement

qcustomplot/qcustomplot.cpp:3181–3193  ·  view source on GitHub ↗

! Creates an instance of QCPLayoutElement and sets default values. */

Source from the content-addressed store, hash-verified

3179 Creates an instance of QCPLayoutElement and sets default values.
3180*/
3181QCPLayoutElement::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
3195QCPLayoutElement::~QCPLayoutElement()
3196{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected