PDA

View Full Version : How to traversal the QListView ?



charlse
5th January 2009, 17:40
Hi All:
Is anybody know how to traversal the QListView ?
If you have some ideas, please tell me .
Thanks for your suggestions.

wysota
5th January 2009, 21:19
Qt3 or Qt4? If th latter then access the listview's model and iterate over its rows using the QAbstractItemModel::index() method.

oob2
6th January 2009, 19:38
If Qt3, using QListViewItemIterator