KHTMLPart to do so.
</p>
<p>
<pre class="fragment">
KUrl url = "http://www.kde.org";
KHTMLPart *w = new KHTMLPart();
w-&gt;openUrl(url);
w-&gt;view()-&gt;resize(500, 400);
w-&gt;show();
</pre>
</p>
<p>
For more information, see the documentation for KHTMLPart.
</p>
<p>
Note that using KHTMLPart may introduce security vulnerabilities
and unnecessary bloat to your application. Qt's text widgets are
rich-text capable, and will interpret a limited subset of HTML.
</p>
<p>

<dl compact><dt><b>Author(s):</b></dt>