[Qt-interest] Overlapping images in QTextBrowser html

SeekAWayOut SeekAWayOut at gmail.com
Thu Sep 23 02:22:21 CEST 2010


On 2010年09月22日 19:08, Harri Pasanen wrote:
> Hi,
>
> I'm looking into producing some HTML where images should overlap.
> It seems that QTextBrowser does not support styles, like
> <div style="position: absolute; z-index: 2; top: 74.5%; left: 81.1%; height:
> 0; width: 0; margin: 0; padding: 0;">
>
> So my options would be
>
> 1. Use QWebView
> 2. reimplement QTextBrowser::loadResource in a derived class and do the image
> compositing myself.
> 3. something else?
>
> Any suggestions?
>

maybe you can use QWebView (QtWebkit)
Hope useful to you.



More information about the Qt-interest-old mailing list