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

Method rugLengthChanged

src/frontend/dockwidgets/HistogramDock.cpp:439–445  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

437}
438
439void HistogramDock::rugLengthChanged(double value) const {
440 CONDITIONAL_RETURN_NO_LOCK;
441
442 const double length = Worksheet::convertToSceneUnits(value, Worksheet::Unit::Point);
443 for (auto* curve : std::as_const(m_curvesList))
444 curve->setRugLength(length);
445}
446
447void HistogramDock::rugWidthChanged(double value) const {
448 CONDITIONAL_RETURN_NO_LOCK;

Callers

nothing calls this directly

Calls 1

setRugLengthMethod · 0.45

Tested by

no test coverage detected