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

Method rugOffsetChanged

src/frontend/dockwidgets/HistogramDock.cpp:455–461  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

453}
454
455void HistogramDock::rugOffsetChanged(double value) const {
456 CONDITIONAL_RETURN_NO_LOCK;
457
458 const double offset = Worksheet::convertToSceneUnits(value, Worksheet::Unit::Point);
459 for (auto* curve : std::as_const(m_curvesList))
460 curve->setRugOffset(offset);
461}
462
463//*************************************************************
464//*********** SLOTs for changes triggered in Histogram *******

Callers

nothing calls this directly

Calls 1

setRugOffsetMethod · 0.45

Tested by

no test coverage detected