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

Method maxDateTimeChanged

src/frontend/dockwidgets/CartesianPlotDock.cpp:1060–1069  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1058}
1059
1060void CartesianPlotDock::maxDateTimeChanged(const QObject* sender, const Dimension dim, qint64 value) {
1061 CONDITIONAL_LOCK_RETURN;
1062
1063 // selected x range
1064 const int index{sender->property("row").toInt()};
1065 DEBUG(Q_FUNC_INFO << ", x range index: " << index)
1066 for (auto* plot : m_plotList)
1067 plot->setMax(dim, index, value);
1068 updatePlotRangeList();
1069}
1070
1071/*!
1072 * called on scale changes (linear, log) for the x-/y-axis

Callers 1

updateRangeListMethod · 0.95

Calls 2

setMaxMethod · 0.80
propertyMethod · 0.45

Tested by

no test coverage detected