How to create dynamic ListModels from C++
-
wrote on 28 Jun 2013, 05:50 last edited by
I have to create some message models (ListModels that keeps message infomation) at begining of the my app. I can define it. However i need to create more models at run time dynamically (on demand) and i have to bind them to some views which are dynamically created. How can i do it ? Which approach is suitable for me?
-
wrote on 28 Jun 2013, 10:11 last edited by
Maybe this could be of help: http://qt-project.org/wiki/How_to_use_a_QSqlQueryModel_in_QML
1/2