[Qt-interest] QTreeView + Custom Model

Oliver Ney oliver at dryder.de
Sat Aug 29 21:05:53 CEST 2009


Andreas Pakulat schrieb:

>> I've written some testing code for model, which I think should show that
>> it works fine.
> 
> I suggest you use the "official" model test against your model:
> http://labs.trolltech.com/page/Projects/Itemview/Modeltest

Thanks for the tip Andreas! The problem was a little mistake in my
parent() function. Now everything works as expected.

Regards,

Oliver



More information about the Qt-interest-old mailing list