diff options
| author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2025-02-07 14:58:57 +0100 |
|---|---|---|
| committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2025-03-23 03:16:39 +0100 |
| commit | c4cef19d5827997a21e1d979646ddba576c3d1c4 (patch) | |
| tree | f540dd89b5a0b1a01ffcc39c71df959c7e752a3b /src/concurrent/doc/snippets/snippets.pro | |
| parent | 984074eea2781e0672010c5e3bff2273422ec190 (diff) | |
QGIM: support associative containers for multi-role items
If the range used with QGenericItemModel contains associative containers
that map from Qt::ItemDataRole, int, or QString to QVariant, then we
interpret such values as multi-role items, and look up the respective
value for the role requested.
Add test coverage and documentation.
This change does not implement QAbstractItemModel::itemData/setItemData.
Change-Id: I00aa8da9369a20ea4ddb58bb24c45fef9465b33f
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
Diffstat (limited to 'src/concurrent/doc/snippets/snippets.pro')
0 files changed, 0 insertions, 0 deletions
