Added a ToStringRole to summarize the model items (for tool tip and QR code).
This commit is contained in:
@ -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:
|
||||
|
||||
Reference in New Issue
Block a user