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

Method orientationChangedSlot

src/backend/worksheet/plots/cartesian/BoxPlot.cpp:626–631  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

624// ###### SLOTs for changes triggered via QActions in the context menu ########
625// ##############################################################################
626void BoxPlot::orientationChangedSlot(QAction* action) {
627 if (action == orientationHorizontalAction)
628 this->setOrientation(Axis::Orientation::Horizontal);
629 else
630 this->setOrientation(Axis::Orientation::Vertical);
631}
632
633// ##############################################################################
634// ####################### Private implementation ###############################

Callers

nothing calls this directly

Calls 1

setOrientationMethod · 0.95

Tested by

no test coverage detected