Renato,
I managed to figure out how to deal with nested fields and ListView
delegates.
The trick is to access the model by using the delegate's index number.
In the example we were working with like this:
text: aDocument.contents.City[index].Name
A longer example here:
https://pastebin.canonical.com/87051/
Using the database you provided here:
https://chinstrap.canonical.com/~renatofilho/u1db/world.db.u1db
Cheers,
Kevin
--
Mailing list: https://launchpad.net/~uonedb-qt
Post to : [email protected]
Unsubscribe : https://launchpad.net/~uonedb-qt
More help : https://help.launchpad.net/ListHelp