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

Method maxChanged

src/frontend/dockwidgets/CartesianPlotDock.cpp:1038–1047  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1036}
1037
1038void CartesianPlotDock::maxChanged(const Dimension dim, const int index, double max) {
1039 DEBUG(Q_FUNC_INFO << ", value = " << max);
1040 CONDITIONAL_RETURN_NO_LOCK;
1041
1042 // selected x/y range
1043 for (auto* plot : m_plotList) {
1044 if (!qFuzzyCompare(max, plot->range(dim, index).end()))
1045 plot->setMax(dim, index, max);
1046 }
1047}
1048
1049void CartesianPlotDock::minDateTimeChanged(const QObject* sender, const Dimension dim, qint64 value) {
1050 CONDITIONAL_LOCK_RETURN;

Callers 4

updateRangeListMethod · 0.95
retransformScaleMethod · 0.80
TestChangePlotRangeMethod · 0.80

Calls 3

rangeMethod · 0.80
setMaxMethod · 0.80
endMethod · 0.45

Tested by 2

TestChangePlotRangeMethod · 0.64