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

Method setVisible

src/backend/worksheet/plots/cartesian/ProcessBehaviorChart.cpp:274–283  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

272}
273
274void ProcessBehaviorChart::setVisible(bool on) {
275 Q_D(ProcessBehaviorChart);
276 beginMacro(on ? i18n("%1: set visible", name()) : i18n("%1: set invisible", name()));
277 d->dataCurve->setVisible(on);
278 d->centerCurve->setVisible(on);
279 d->upperLimitCurve->setVisible(on);
280 d->lowerLimitCurve->setVisible(on);
281 WorksheetElement::setVisible(on);
282 endMacro();
283}
284
285/*!
286 * override the default implementation to handle the visibility of the internal curves

Callers 3

updateControlLimitsMethod · 0.45
updateLabelsMethod · 0.45
loadMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected