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

Method updateProperties

src/backend/datapicker/DatapickerPoint.cpp:354–367  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

352}
353
354void DatapickerPointPrivate::updateProperties() {
355 auto* curve = dynamic_cast<DatapickerCurve*>(q->parentAspect());
356 auto* image = dynamic_cast<DatapickerImage*>(q->parentAspect());
357 if (image) {
358 symbol = image->symbol();
359 setVisible(image->pointVisibility());
360 } else if (curve) {
361 symbol = curve->symbol();
362 errorBarBrush = curve->pointErrorBarBrush();
363 errorBarPen = curve->pointErrorBarPen();
364 errorBarSize = curve->pointErrorBarSize();
365 setVisible(curve->pointVisibility());
366 }
367}
368
369/*!
370 Returns the outer bounds of the item as a rectangle.

Callers 1

finalizeAddMethod · 0.45

Calls 2

parentAspectMethod · 0.80
symbolMethod · 0.45

Tested by

no test coverage detected