Added a ToStringRole to summarize the model items (for tool tip and QR code).

This commit is contained in:
2026-01-15 14:04:37 +01:00
parent c15e5425a7
commit caffa1c18a
4 changed files with 26 additions and 2 deletions

View File

@ -14,7 +14,7 @@ class ModelItem {
// TODO change return value to list of changed roles
bool setItemData(const QMap<int, QVariant>& changedValues);
// QString toString() const;
QString toString() const;
QJsonObject toJsonObject() const;
private: