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

Method curveCoordinateSystemIndexChanged

src/backend/worksheet/InfoElement.cpp:549–561  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

547}
548
549void InfoElement::curveCoordinateSystemIndexChanged(int /*index*/) {
550 auto* curve = static_cast<XYCurve*>(QObject::sender());
551 auto cSystemIndex = curve->coordinateSystemIndex();
552
553 for (auto& custompoint : markerpoints) {
554 if (custompoint.curve == curve) {
555 custompoint.customPoint->setCoordinateSystemIndex(cSystemIndex);
556 break;
557 }
558 }
559
560 retransform();
561}
562
563void InfoElement::curveVisibilityChanged() {
564 XYCurve* curve = static_cast<XYCurve*>(QObject::sender());

Callers

nothing calls this directly

Calls 2

coordinateSystemIndexMethod · 0.80

Tested by

no test coverage detected