[Qt-interest] Question on QListView, QAbstractItemModel, and QSortFilterProxyModel
André Somers
andre at familiesomers.nl
Tue Feb 17 23:48:46 CET 2009
Hi,
"christopherx" <christopherx at xandros.com> schreef in bericht
news:499ADBBD.6020508 at xandros.com...
> I tried setRootIndex() in the model, It no seems to work.
You have to set it on the *view*, not on the model.
> there is no item displayed in the view. My listview displays blank.
> However, from the debug messages that I put in model's index(), data()
> methods, the system does found all the A1, A2 ...
>
> Do you know why ?
Nope, not really ;-) I don't own a code-sensitive crystal sphere ;-)
André
More information about the Qt-interest-old
mailing list