MCPcopy Create free account
hub / github.com/PlotJuggler/PlotJuggler / curveKey

Function curveKey

pj_plotting/widget/src/PlotWidget.cpp:67–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65}
66
67QString curveKey(const QString& source_name, const QString& x_name = {}, const QString& y_name = {}) {
68 if (!x_name.isEmpty() || !y_name.isEmpty()) {
69 return QStringLiteral("xy:") + x_name + QStringLiteral("\n") + y_name;
70 }
71 return QStringLiteral("ts:") + source_name;
72}
73
74// The session-scoped curve-color registry (issue #68), reached through the
75// SessionManager the widget already holds. Returns nullptr when no session is

Callers 2

xmlLoadStateMethod · 0.70
applyCurveElementMethod · 0.70

Calls 1

isEmptyMethod · 0.45

Tested by

no test coverage detected