PDA

View Full Version : xml file to qml dynamic list..................



goli
17th July 2011, 14:58
have a xml file with a lot of child nodes. and i want to parse it to qml list. But i don’t want that all the data will be shown at the beginning.
i want it that each node will be shown and open when the user press on it.
i want it to be load from the xml file only when the user ask for it.
i am trying to use
QAbstractListModel but i don't know how to load dynamoc....
does anyone know how to do this, using qt/qml?