Warning, /frameworks/khtml/src/README.HTMLWidget is written in an unsupported language. File is not indexed.
0001 KDE HTML Widget 0002 =============== 0003 0004 Developers 0005 ---------- 0006 0007 The first version was written by 0008 0009 Torben Weis <weis@stud.uni-frankfurt.de> 0010 0011 It was extended by 0012 0013 Josip A. Gracin <grac@fly.cc.fer.hr>, 0014 Martin Jones <mjones@kde.org>, 0015 Waldo Bastian <bastian@kde.org> 0016 Lars Knoll <knoll@kde.org> 0017 Antti Koivisto <koivisto@iki.fi> 0018 Dirk Mueller <mueller@kde.org> 0019 Peter Kelly <pmk@post.com> 0020 0021 It is currently primarily maintained and developed by 0022 Lars Knoll, Dirk Mueller and Antti Koivisto. 0023 0024 0025 Revision History 0026 ---------------- 0027 0028 This library is called libkhtml. 0029 This library used to be called libkhtmlw. With the release of KDE 1.1 a 0030 source incompatible version called libkhtml has been created. 0031 libkhtmlw will not be maintained any more, all application writers are 0032 urgently requested to make use of the new libkhtml library. 0033 0034 0035 Starting Point 0036 -------------- 0037 0038 You can add the widget to your program by doing something like: 0039 0040 #include <khtml.h> 0041 0042 . 0043 . 0044 . 0045 0046 KHTMLWidget *view = new KHTMLWidget( parent, "Name" ); 0047 view->show(); 0048 0049 view->begin( "file:/tmp/test.html" ); 0050 view->parse(); 0051 view->write( "<HTML><TITLE>...." ); 0052 view->write( "..." ); 0053 . 0054 . 0055 . 0056 view->write( "</HTML>" ); 0057 view->end(); 0058 0059 0060 After doing this, control must be returned to the event loop as the HTML 0061 is parsed in the background using a Qt timer. 0062 0063 For more information see the full documentation in JavaDoc format included 0064 in the header files. 0065 0066