[PyKDE] Embedding icon inside code

Troy Melhase troy at gci.net
Mon Nov 10 09:18:00 GMT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sunday 09 November 2003 23:03, Roland Schulz wrote:
> On Monday 10 November 2003 05:53, Derek Fountain wrote:
> > Is that possible, and if so, how do I do it?

> You can convert the PNG file to a XPM file (in Unix you can use convert for
> this). You just need to pythonize the syntax:

> and than you can insert this xpm file into your python file. Creating a
> QPixmap with this image works with QPixmap(match).

Qt Designer + pyuic can also generate a python sequence for use with QPixmap.  

- -- 
Troy Melhase, troy at gci.net
- --
I am the Christian the Devil warned you about.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/r0kxPPgja6MkvqMRAkzYAKCXhJ1+vE4XXqvJEjF2hn3u27BirACeNPSi
FU84WbupjQsuOPOZAYvtkqQ=
=JezR
-----END PGP SIGNATURE-----




More information about the PyQt mailing list