[PyKDE] QPixmap to QWidget

Tom Badran tb100 at doc.ic.ac.uk
Fri Nov 28 12:58:01 GMT 2003

I have a QPixmap object that i use for image data, and a QWidget object i wish 
to draw too. The qwidget has the same minimum size as the size of the 
QPixmap. Whats the best way of copying the QPixmap data to the QWidget data 
so that it is drawn on screen?



 ^__^            | Tom Badran
 (oo)\______     | Imperial College
 (__)\       )\/\| Department of Computing
    ||----w |    | -----------------------
    ||     ||    | Using Debian SID
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: signature
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20031128/85e89cc1/attachment.bin

More information about the PyQt mailing list