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

Method positionLogicalEndChanged

src/frontend/dockwidgets/ReferenceRangeDock.cpp:158–169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156}
157
158void ReferenceRangeDock::positionLogicalEndChanged(double pos) {
159 CONDITIONAL_LOCK_RETURN;
160
161 for (auto* range : m_rangeList) {
162 auto positionLogical = range->positionLogicalEnd();
163 if (range->orientation() == ReferenceRange::Orientation::Horizontal)
164 positionLogical.setY(pos);
165 else
166 positionLogical.setX(pos);
167 range->setPositionLogicalEnd(positionLogical);
168 }
169}
170
171void ReferenceRangeDock::positionLogicalDateTimeStartChanged(qint64 pos) {
172 CONDITIONAL_RETURN_NO_LOCK; // Feedback needed

Callers

nothing calls this directly

Calls 4

setYMethod · 0.80
setXMethod · 0.80
setPositionLogicalEndMethod · 0.80
orientationMethod · 0.45

Tested by

no test coverage detected