Am Montag, 12. November 2007 schrieb Dirk Wagener:
> Hi
>
> I have:
>
> QMessageBox.about(None, "Title Text", text )
>
>
> with
>
> text = "<html><body bgcolor="#ff0000" text="#ffffff">
>
> <h2>Test image:</h2>
>
> <center><img src="images/test.bmp" border="1" color="white"></center>
>
> </body></html>"
>
>
> How do I get the QMessageBox() to use the bgcolor (red) and also to
> display the image?
> Currently it uses the default grey background color and shows a
> placeholder  for the image.

For the image issue: using QMimeSourceFactory comes to my mind..

Pete
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to