[Qt-interest] QTextBrowser strange behavior!

M. Bashir Al-Noimi admin at mbnoimi.net
Tue Jun 15 06:38:40 CEST 2010


Hi,


I'm working on creating reports for my database so I used QTextBrowser 
for its embedded print functionality but I noticed that it changes HTML 
codes in strange way look at this exmaple:


When I tried to set this web page as source html:

Original HTML image

It changed its HTML code and appeared it as following:

Wrong HTML image



why this happened? and how I can render html page in its original code?


PS

In the attachment you'll find .ui and .html files to review them by 
yourself.

-- 
Best Regards
Muhammad Bashir Al-Noimi
My Blog: http://mbnoimi.net

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100615/22ebcac3/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2010-06-15_063310.png
Type: image/png
Size: 1429 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100615/22ebcac3/attachment.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2010-06-15_062808.png
Type: image/png
Size: 7700 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100615/22ebcac3/attachment-0001.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: HtmlRenderTest.zip
Type: application/octet-stream
Size: 1261 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100615/22ebcac3/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: admin.vcf
Type: text/x-vcard
Size: 414 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100615/22ebcac3/attachment.vcf 


More information about the Qt-interest-old mailing list