module khtml


Table of contents
Modules
khtml Classes
All Classes

KDE HTML Parser and Widget

If you want a fully-fledged HTML browser widget in your application, you can use KHTMLPart to do so.

from khtml import KHTMLPart

url = "http://www.kde.org"
w   = 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.

KHTML is likely to be superseded by WebKit in KDE 4.1 / Qt 4.4.

Authors:

Torben Weis
Josip A. Gracin
Martin Jones
Waldo Bastian
Lars Knoll
Antti Koivisto
Dirk Mueller
Peter Kelly



Maintainers:

Lars Knoll
Dirk Mueller
Antti Koivisto


Licenses:

LGPLv2