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

Method orientationChangedSlot

src/backend/worksheet/plots/cartesian/LollipopPlot.cpp:339–344  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

337// ###### SLOTs for changes triggered via QActions in the context menu ########
338// ##############################################################################
339void LollipopPlot::orientationChangedSlot(QAction* action) {
340 if (action == orientationHorizontalAction)
341 this->setOrientation(Axis::Orientation::Horizontal);
342 else
343 this->setOrientation(Axis::Orientation::Vertical);
344}
345
346// ##############################################################################
347// ####################### Private implementation ###############################

Callers

nothing calls this directly

Calls 1

setOrientationMethod · 0.95

Tested by

no test coverage detected