Since you retrieve this from C++ it would be easier if you returned a list.
A map is only useful if you have more than one data aspect per item.
If you insist on using a less ideal data type, then you need to get the keys as a list to feed to the view's model property.
Inside the delegate you then use the current key as proivded by that list to do the data lookup.
Originally you wrote TreeView, so you are using a TableView now?
Well, my first try would be to make the delegate as large as you want it to be.
Cheers,
_
Bookmarks