| 901 | } |
| 902 | |
| 903 | void Worksheet::cartesianPlotMousePressCursorMode(int cursorNumber, QPointF logicPos) { |
| 904 | if (cartesianPlotCursorMode() == CartesianPlotActionMode::ApplyActionToAll) { |
| 905 | const auto& plots = children<CartesianPlot>(AbstractAspect::ChildIndexFlag::Recursive | AbstractAspect::ChildIndexFlag::IncludeHidden); |
| 906 | for (auto* plot : plots) |
| 907 | plot->mousePressCursorMode(cursorNumber, logicPos); |
| 908 | } else { |
| 909 | auto* plot = static_cast<CartesianPlot*>(QObject::sender()); |
| 910 | plot->mousePressCursorMode(cursorNumber, logicPos); |
| 911 | } |
| 912 | |
| 913 | cursorPosChanged(cursorNumber, logicPos.x()); |
| 914 | } |
| 915 | |
| 916 | void Worksheet::cartesianPlotMouseMoveZoomSelectionMode(QPointF logicPos) { |
| 917 | auto senderPlot = static_cast<CartesianPlot*>(QObject::sender()); |
nothing calls this directly
no test coverage detected