A value-only leaf (string field): has a Value cell but is excluded from drags.
| 159 | |
| 160 | // A value-only leaf (string field): has a Value cell but is excluded from drags. |
| 161 | bool 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 |
no test coverage detected