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

Method orientationChangedSlot

src/backend/worksheet/plots/cartesian/ReferenceLine.cpp:192–197  ·  view source on GitHub ↗

############################################################################## ###### SLOTs for changes triggered via QActions in the context menu ######## ##############################################################################

Source from the content-addressed store, hash-verified

190// ###### SLOTs for changes triggered via QActions in the context menu ########
191// ##############################################################################
192void ReferenceLine::orientationChangedSlot(QAction* action) {
193 if (action == orientationHorizontalAction)
194 this->setOrientation(Orientation::Horizontal);
195 else
196 this->setOrientation(Orientation::Vertical);
197}
198
199void ReferenceLine::lineStyleChanged(QAction* action) {
200 Q_D(const ReferenceLine);

Callers

nothing calls this directly

Calls 1

setOrientationMethod · 0.95

Tested by

no test coverage detected