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

Method rugLengthChanged

src/frontend/dockwidgets/KDEPlotDock.cpp:260–266  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

258}
259
260void KDEPlotDock::rugLengthChanged(double value) {
261 CONDITIONAL_RETURN_NO_LOCK;
262
263 const double length = Worksheet::convertToSceneUnits(value, Worksheet::Unit::Point);
264 for (auto* plot : m_plots)
265 plot->rugCurve()->setRugLength(length);
266}
267
268void KDEPlotDock::rugWidthChanged(double value) {
269 CONDITIONAL_RETURN_NO_LOCK;

Callers

nothing calls this directly

Calls 2

rugCurveMethod · 0.80
setRugLengthMethod · 0.45

Tested by

no test coverage detected