On 04.12.06 03:38:47, Eriol wrote:
> I'm trying to use custom widget promotion in qt4 designer. I attach an 
> example of what I'm doing: what's wrong with it?
> I have searched for documentation about this, but I didn't find anything 
> for Python.

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.

Andreas

-- 
Cold hands, no gloves.

_______________________________________________
PyKDE mailing list    [email protected]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to