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

Method rugOffsetChanged

src/frontend/dockwidgets/KDEPlotDock.cpp:276–282  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

274}
275
276void KDEPlotDock::rugOffsetChanged(double value) {
277 CONDITIONAL_RETURN_NO_LOCK;
278
279 const double offset = Worksheet::convertToSceneUnits(value, Worksheet::Unit::Point);
280 for (auto* plot : m_plots)
281 plot->rugCurve()->setRugOffset(offset);
282}
283
284//*************************************************************
285//*********** SLOTs for changes triggered in KDEPlot **********

Callers

nothing calls this directly

Calls 2

rugCurveMethod · 0.80
setRugOffsetMethod · 0.45

Tested by

no test coverage detected