[PyKDE] Passing the equivalent of NULL

Derek Fountain derekfountain at yahoo.co.uk
Tue Sep 2 03:41:00 BST 2003

I'm told on the Qt list that:


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

More information about the PyQt mailing list