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

Function isValueOnlyItem

pj_widgets/src/CurveTreeView.cpp:161–163  ·  view source on GitHub ↗

A value-only leaf (string field): has a Value cell but is excluded from drags.

Source from the content-addressed store, hash-verified

159
160// A value-only leaf (string field): has a Value cell but is excluded from drags.
161bool isValueOnlyItem(const QTreeWidgetItem* item) {
162 return item != nullptr && item->data(kNameColumn, kValueOnlyRole).toBool();
163}
164
165// Flags for a curve leaf. A draggable leaf is a normal drag source; a value-only
166// leaf (string field) stays selectable/highlightable but is never dragged and is

Callers 3

selectedCurveNamesMethod · 0.85

Calls 1

dataMethod · 0.45

Tested by

no test coverage detected