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

Function isObjectTopicItem

pj_widgets/src/CurveTreeView.cpp:156–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154}
155
156bool isObjectTopicItem(const QTreeWidgetItem* item) {
157 return item != nullptr && !item->data(kNameColumn, kObjectTopicRole).toString().isEmpty();
158}
159
160// A value-only leaf (string field): has a Value cell but is excluded from drags.
161bool isValueOnlyItem(const QTreeWidgetItem* item) {

Callers 2

Calls 3

toStringMethod · 0.80
isEmptyMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected