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

Method rugWidthChanged

src/frontend/dockwidgets/HistogramDock.cpp:447–453  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

445}
446
447void HistogramDock::rugWidthChanged(double value) const {
448 CONDITIONAL_RETURN_NO_LOCK;
449
450 const double width = Worksheet::convertToSceneUnits(value, Worksheet::Unit::Point);
451 for (auto* curve : std::as_const(m_curvesList))
452 curve->setRugWidth(width);
453}
454
455void HistogramDock::rugOffsetChanged(double value) const {
456 CONDITIONAL_RETURN_NO_LOCK;

Callers

nothing calls this directly

Calls 1

setRugWidthMethod · 0.45

Tested by

no test coverage detected