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

Method orientationChangedSlot

src/backend/worksheet/plots/cartesian/BarPlot.cpp:350–355  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

348// ###### SLOTs for changes triggered via QActions in the context menu ########
349// ##############################################################################
350void BarPlot::orientationChangedSlot(QAction* action) {
351 if (action == orientationHorizontalAction)
352 this->setOrientation(Axis::Orientation::Horizontal);
353 else
354 this->setOrientation(Axis::Orientation::Vertical);
355}
356
357// ##############################################################################
358// ####################### Private implementation ###############################

Callers

nothing calls this directly

Calls 1

setOrientationMethod · 0.95

Tested by

no test coverage detected