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

Method QCPItemPosition

qcustomplot/qcustomplot.cpp:11499–11508  ·  view source on GitHub ↗

! Creates a new QCPItemPosition. You shouldn't create QCPItemPosition instances directly, even if you want to make a new item subclass. Use \ref QCPAbstractItem::createPosition instead, as explained in the subclassing section of the QCPAbstractItem documentation. */

Source from the content-addressed store, hash-verified

11497 explained in the subclassing section of the QCPAbstractItem documentation.
11498*/
11499QCPItemPosition::QCPItemPosition(QCustomPlot *parentPlot, QCPAbstractItem *parentItem, const QString &name) :
11500 QCPItemAnchor(parentPlot, parentItem, name),
11501 mPositionTypeX(ptAbsolute),
11502 mPositionTypeY(ptAbsolute),
11503 mKey(0),
11504 mValue(0),
11505 mParentAnchorX(0),
11506 mParentAnchorY(0)
11507{
11508}
11509
11510QCPItemPosition::~QCPItemPosition()
11511{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected