[PyQt] Display image by html in QTextEdit

darkstar01uk darkstar01uk at yahoo.co.uk
Mon Nov 9 01:12:21 GMT 2009


Hi all

I am teaching myself Python and PyQt, playing around with a Twitter client
at the moment using the python-twitter module. I am using html to format the
Twitter messages and setHtml() to display in a QTextEdit. I'm having a
problem displaying the users' avatars / pictures. Is it possible to display
an image direct from the internet? Using an img src= tag works fine for
locally saved files but will not fetch internet images.
Am I missing something?
Using Python 2.5.4 Qt 4.4.3 PyQt 4.4.4 on Debian Lenny with KDE 3.5.10

Cheers

-- 
View this message in context: http://old.nabble.com/Display-image-by-html-in-QTextEdit-tp26232373p26232373.html
Sent from the PyQt mailing list archive at Nabble.com.



More information about the PyQt mailing list