[PyKDE] Patch for pyuic layout problems

Phil Thompson phil at river-bank.demon.co.uk
Sun Aug 27 19:34:45 BST 2000

Dan Haffey wrote:
> I happened to notice (by way of nested layout problems) that Phil's pyuic
> compiler doesn't prepend self. on the layout widget initializations, which
> causes them to die prematurely.  Here's a small patch to uic.cpp that
> fixes it.  It crashes on exit now when using nested layouts, but I have yet to
> figure out why.  Maybe someone can figure that one out.

Can you send me a .ui file that demonstrates the problem? Although my
brain is probably still on holiday, I can't see why layout widgets need
to be maintained as Python objects outside the ctor.


More information about the PyQt mailing list