[Qt-qml] List Model Search
Vinayakam Murugan
mvinayakam at gmail.com
Tue Mar 1 09:28:00 CET 2011
Hello
Is there an inbuilt mechanism to search within a ListModel?
ListModel{
ListElement{
id:1
name:xyz
}
ListElement{
id:2
name:abc
}
ListElement{
id:3
name:def
}
}
Here I would like to accept the id as an input from another script and
return the name. Is there a way to do this without a loop?
Warm Regards
~~~~~~~~~~~~~~~
Vinayak
http://www.flickr.com/photos/rightplacerighttime/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-qml/attachments/20110301/7de7d2c2/attachment.html
More information about the Qt-qml
mailing list