PDA

View Full Version : How to traversal the QListView ?



charlse
5th January 2009, 16: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, 20: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, 18:38
If Qt3, using QListViewItemIterator