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

Method rugWidthChanged

src/frontend/dockwidgets/KDEPlotDock.cpp:268–274  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

266}
267
268void KDEPlotDock::rugWidthChanged(double value) {
269 CONDITIONAL_RETURN_NO_LOCK;
270
271 const double width = Worksheet::convertToSceneUnits(value, Worksheet::Unit::Point);
272 for (auto* plot : m_plots)
273 plot->rugCurve()->setRugWidth(width);
274}
275
276void KDEPlotDock::rugOffsetChanged(double value) {
277 CONDITIONAL_RETURN_NO_LOCK;

Callers

nothing calls this directly

Calls 2

rugCurveMethod · 0.80
setRugWidthMethod · 0.45

Tested by

no test coverage detected