khtml Module
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"; KHTMLPart *w = new KHTMLPart(); w->openUrl(url); w->view()->resize(500, 400); w->show();
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.
- Author(s):
-
Torben Weis <weis@stud.uni-frankfurt.de>
Josip A. Gracin <grac@fly.cc.fer.hr>
Martin Jones <mjones@kde.org>
Waldo Bastian <bastian@kde.org>
Lars Knoll <knoll@kde.org>
Antti Koivisto <koivisto@iki.fi>
Dirk Mueller <mueller@kde.org>
Peter Kelly <pmk@post.com>
George Staikos <staikos@kde.org>
Allan Sandfeld Jensen <kde@carewolf.com>
Germain Garand <germain@ebooksfrance.org>
Maksim Orlovich <maksim@kde.org>
KHTML has also heavily benefited from the work of Apple Computer, Inc.
- Maintainer(s):
-
Allan Sandfeld Jensen
Germain Garand
Maksim Orlovich
- License(s):
- LGPLv2
Namespaces
D | G | |
DOM | global |