| 962 | } |
| 963 | |
| 964 | void CartesianPlotDock::rangePointsChanged(const QString& text) { |
| 965 | CONDITIONAL_LOCK_RETURN; |
| 966 | |
| 967 | const int value = text.toInt(); |
| 968 | auto type = static_cast<CartesianPlot::RangeType>(ui.cbRangeType->currentIndex()); |
| 969 | if (type == CartesianPlot::RangeType::First) { |
| 970 | for (auto* plot : m_plotList) |
| 971 | plot->setRangeFirstValues(value); |
| 972 | } else { |
| 973 | for (auto* plot : m_plotList) |
| 974 | plot->setRangeLastValues(value); |
| 975 | } |
| 976 | } |
| 977 | |
| 978 | void CartesianPlotDock::autoScaleChanged(const Dimension dim, const int rangeIndex, bool state) { |
| 979 | DEBUG(Q_FUNC_INFO << ", state = " << state) |
nothing calls this directly
no test coverage detected