QML List Model
-
Hi,
i have taken one list modelListModel { id: model1 ListElement { title: "one" } ListElement { title: "two" } ListElement { title: "three" } }
i want to change this model from C++. How can I change ? can anyone hepl please.
Thank You,
Mahesh Babu
maheshbabu.tanuku@gmail.com -
Right way is to write model in pure C++. QQmlListModel is internal class, so you can not use it from C++.