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

Method setOrientation

src/backend/worksheet/plots/cartesian/ReferenceRange.cpp:211–215  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

209/* ============================ setter methods and undo commands ================= */
210STD_SETTER_CMD_IMPL_F_S(ReferenceRange, SetOrientation, ReferenceRange::Orientation, orientation, updateOrientation)
211void ReferenceRange::setOrientation(Orientation orientation) {
212 Q_D(ReferenceRange);
213 if (orientation != d->orientation)
214 exec(new ReferenceRangeSetOrientationCmd(d, orientation, ki18n("%1: set orientation")));
215}
216
217STD_SETTER_CMD_IMPL_F_S(ReferenceRange, SetPositionLogicalStart, QPointF, positionLogicalStart, retransform)
218void ReferenceRange::setPositionLogicalStart(QPointF pos) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected