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

Method minDateTimeChanged

src/frontend/dockwidgets/CartesianPlotDock.cpp:1049–1058  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1047}
1048
1049void CartesianPlotDock::minDateTimeChanged(const QObject* sender, const Dimension dim, qint64 value) {
1050 CONDITIONAL_LOCK_RETURN;
1051
1052 // selected x range
1053 const int index{sender->property("row").toInt()};
1054 DEBUG(Q_FUNC_INFO << ", x range index: " << index)
1055 for (auto* plot : m_plotList)
1056 plot->setMin(dim, index, value);
1057 updatePlotRangeList();
1058}
1059
1060void CartesianPlotDock::maxDateTimeChanged(const QObject* sender, const Dimension dim, qint64 value) {
1061 CONDITIONAL_LOCK_RETURN;

Callers 1

updateRangeListMethod · 0.95

Calls 2

setMinMethod · 0.80
propertyMethod · 0.45

Tested by

no test coverage detected