[PyKDE] Destroying pyqt child widgets
Brent Burley
Brent.Burley at disney.com
Fri Nov 16 21:58:04 GMT 2001
Boudewijn Rempt wrote:
> I haven't encountered PyQt reference leaks yet, but if there are any,
> they should be eradicated with extreme prejudice :-).
Agreed. I'm tracking one down now with QScollView. I'll send details
shortly.
> If I try to use the reparent function, then my entire window disappears.
My typo. Try:
self.label2.reparent(QWidget(), 0, QPoint())
in place of:
self.reparent(QWidget(), 0, QPoint())
-Brent
More information about the PyQt
mailing list