11-11-2012 09:21 AM
I am developing an application using a list view, which will contain various list item types (one with a single picture, one with lots of text and 3 pictures, etc...)
I have beguntaking the road of implementing all in C++ because it did not seem possible leveraging QML as much I I wanted. I have my own DataModel inheriting from the ArrayDataModel class, as well as a ListViewItemFactory inheriting form ListItemProvider and various ListItemListeners. These ListItemListeners contain all the C++ equivalent of the QML code that create a container (containers, layouts, inages, labels, etc...)
My question is, can I use my own datamodel and leverage QML for my ListView and its ListItemComponents instead of the ListItemProvider/ListItemListener equivalent in C++? If possible, why would anyone go about creating these in C++?
Solved! Go to Solution.
11-11-2012 04:12 PM