MCPcopy Index your code
hub / github.com/Audio4Linux/JDSP4Linux / QCPAbstractItem

Method QCPAbstractItem

3rdparty/qcustomplot/qcustomplot.cpp:12931–12945  ·  view source on GitHub ↗

! Base class constructor which initializes base class members. */

Source from the content-addressed store, hash-verified

12929 Base class constructor which initializes base class members.
12930*/
12931QCPAbstractItem::QCPAbstractItem(QCustomPlot *parentPlot) :
12932 QCPLayerable(parentPlot),
12933 mClipToAxisRect(false),
12934 mSelectable(true),
12935 mSelected(false)
12936{
12937 parentPlot->registerItem(this);
12938
12939 QList<QCPAxisRect*> rects = parentPlot->axisRects();
12940 if (!rects.isEmpty())
12941 {
12942 setClipToAxisRect(true);
12943 setClipAxisRect(rects.first());
12944 }
12945}
12946
12947QCPAbstractItem::~QCPAbstractItem()
12948{

Callers

nothing calls this directly

Calls 3

registerItemMethod · 0.80
axisRectsMethod · 0.80
isEmptyMethod · 0.45

Tested by

no test coverage detected