[Qt-interest] Question on QListView, QAbstractItemModel, and QSortFilterProxyModel
christopherx
christopherx at xandros.com
Tue Feb 17 02:31:47 CET 2009
Hello there:
I'm a newbee to Qt,4, and have a question if you can help.
I have a data model built with QAbstractItemModel (subclassed from)
in a tree fashion (ie. RootItem has childrent A, B, and A has children
C, C1, and B has children D, D1 etc.. But I only like to display one
level of nodes at a time, ie (A, B or C, C1) with QListView. It seems
not possible.
And I tried with QSortFilterProxyModel, but no success; Any of you
had this issue before ? How to you handle this ?
Thanks,
Chris
More information about the Qt-interest-old
mailing list