[PyQt] Shouldn't an item view keep a reference to its associatedmodel?

Hans-Peter Jansen hpj at urpla.net
Sat Jul 21 13:31:02 BST 2007


Am Freitag, 20. Juli 2007 13:00 schrieb Florent Rougon:
> Giovanni Bajo <rasky at develer.com> wrote:
> > It is not what Qt does. PyQt doesn't play tricks with object lifetimes:
> > it exposes Qt's underlying object model.
>
> [...]
>
> OK, thanks to you and Phil for the answers. It makes sense now.

and next time, you're facing empty widgets unexpectedly, it will ring a huge 
bell somewhere between your ears.. ;-)

Pete


More information about the PyQt mailing list