[PyQt] problem with model/view

Phil Thompson phil at riverbankcomputing.com
Fri Jun 27 10:18:33 BST 2008


On Fri, 27 Jun 2008 10:22:13 +0200, Vicent Mas <uvep at ono.com> wrote:
> Hi,
> 
> the attached scripts are intended to do the same thing: display a widget
> that 
> contains a QTreeView with two columns and one row. The script right.py
> works 
> just fine. However the other doesn't work and I cannot understand the
> reason. 
> Probably I'm doing something very stupid, but I'm unable to find out what
> is 
> it. Could someone help me, please?

Keep a reference to the model?

Phil



More information about the PyQt mailing list