[PyQt] problem with model/view

Vicent Mas uvep at ono.com
Fri Jun 27 10:37:01 BST 2008


El Friday 27 June 2008 Phil Thompson escribió:
> 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

Right answer, of course.

Thanks Phil.

-- 
::

	Share what you know, learn what you don't




More information about the PyQt mailing list