############################################################################## ###### SLOTs for changes triggered via QActions in the context menu ######## ##############################################################################
| 348 | // ###### SLOTs for changes triggered via QActions in the context menu ######## |
| 349 | // ############################################################################## |
| 350 | void 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 ############################### |
nothing calls this directly
no test coverage detected