[PyKDE] PyQt4: Promoting a custom widget in qt4 designer

Eriol eriol at huine.org
Mon Dec 4 15:09:24 GMT 2006


Alle 11:23, lunedì 4 dicembre 2006, Andreas Pakulat ha scritto:
> You're creating the label without a parent widget, so it becomes a
> top-level window. Pass self to the constructor of QLabel and it works.

Thanks a lot! :D
I just started using PyQt and I didn't realize this detail.

-- 
 Eriol - *p = NULL; - EIBTI 
 GPG Key ID 297BE0CA




More information about the PyQt mailing list