Commit 0ab3b717 authored by Nils Jeisecke's avatar Nils Jeisecke Committed by The Qt Project
Browse files

Fix TableView delegate to work with C++ models again.


Use the views's delegate 'model' property for accessing both
Qml ListModel and C++ QAbstractItemModel values.

For Qml objects, QObject and QObjectList based models modelData
properties will be used.

For models without roles (Integer, Array, QStringList) modelData
is used directly.

A new manual test for all model types is included.

Change-Id: I9934ff9737e1b687b852f2413b2d7484248c4e6e
Reviewed-by: default avatarJens Bache-Wiig <jens.bache-wiig@digia.com>
parent 58532c55
Showing with 359 additions and 8 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment