PDA

View Full Version : QTextBrowser display logo ?



probine
11th January 2007, 13:23
I have a QTextBrowser and I want to display a logo from a website in it.

How ?

momesana
11th January 2007, 15:53
Use html/css instructions.

something like that may work (didn't test it though):
QString s = "<img src=':images/xy.png' alt='some image' />";
textBrowser->append(s);