I'm told on the Qt list that:

myLabel->setPixmap(NULL);

sets a label's pixmap to nothing without giving a warning message.

How do I do that from PyQt? I tried:

pixmapLabel.setPixmap( QPixmap() )

which does give an empty pixmap, byt also prints a warning. Using "None" gave 
a runtime error, as did 0.

-- 
> eatapple
core dump

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

Reply via email to