MCPcopy Create free account
hub / github.com/KDE/labplot / ErrorBar

Method ErrorBar

src/backend/worksheet/plots/cartesian/ErrorBar.cpp:36–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34CURVE_COLUMN_CONNECT(ErrorBar, YMinus, yMinus, update)
35
36ErrorBar::ErrorBar(const QString& name, Dimension dim)
37 : AbstractAspect(name, AspectType::AbstractAspect)
38 , d_ptr(new ErrorBarPrivate(this, dim)) {
39 Q_D(ErrorBar);
40 d->line = new Line(QString());
41 d->line->setHidden(true);
42 d->line->setCreateXmlElement(false);
43 addChild(d->line);
44 connect(d->line, &Line::updatePixmapRequested, this, &ErrorBar::updatePixmapRequested);
45 connect(d->line, &Line::updateRequested, this, &ErrorBar::updateRequested);
46}
47
48ErrorBar::~ErrorBar() {
49 delete d_ptr;

Callers

nothing calls this directly

Calls 3

setCreateXmlElementMethod · 0.80
QStringClass · 0.50
setHiddenMethod · 0.45

Tested by

no test coverage detected