KHTML
KDE HTML Parser and Widget
If you want a fully-fledged HTML browser widget in your application, you can use KHTMLPart to do so.
KUrl url = "http://www.kde.org";
w->openUrl(url);
w->view()->resize(500, 400);
w->show();
KHTMLView * view() const
Returns a pointer to the HTML document's view.
Definition: khtml_part.cpp:1059
For more information, see the documentation for KHTMLPart.
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.
- Maintainer(s):
- Allan Sandfeld Jensen
Germain Garand
Maksim Orlovich
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.