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