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

Method rugWidthChanged

src/frontend/dockwidgets/BoxPlotDock.cpp:565–571  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

563}
564
565void BoxPlotDock::rugWidthChanged(double value) const {
566 CONDITIONAL_RETURN_NO_LOCK;
567
568 const double width = Worksheet::convertToSceneUnits(value, Worksheet::Unit::Point);
569 for (auto* curve : std::as_const(m_boxPlots))
570 curve->setRugWidth(width);
571}
572
573void BoxPlotDock::rugOffsetChanged(double value) const {
574 CONDITIONAL_RETURN_NO_LOCK;

Callers

nothing calls this directly

Calls 1

setRugWidthMethod · 0.45

Tested by

no test coverage detected