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

Method rugOffsetChanged

src/frontend/dockwidgets/XYCurveDock.cpp:867–873  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

865}
866
867void XYCurveDock::rugOffsetChanged(double value) {
868 CONDITIONAL_RETURN_NO_LOCK;
869
870 const double offset = Worksheet::convertToSceneUnits(value, Worksheet::Unit::Point);
871 for (auto* curve : std::as_const(m_curvesList))
872 curve->setRugOffset(offset);
873}
874
875//*************************************************************
876//*********** SLOTs for changes triggered in XYCurve **********

Callers

nothing calls this directly

Calls 1

setRugOffsetMethod · 0.45

Tested by

no test coverage detected