Hi,
I would to display items from a C++ model in a QML graphics scene where the position information for each item is in the item itself (there is a model role for position as a QPoint).
AFAIK none of the available QML Views (List, Path and Grid) would allow me to do this as they take ownership of the layout. I can already display the model data using a ListView so I have no problems accesing the C++ ListModel from QML.
What would be the way to approach this? Do I need to write my own QML View component (I hope not)?
Thanks
↧