Qt provides an integrated Web browser component based on WebKit , the popular open source browser engine.
这些范例和演示展示各种不同用途为 WebKit , from displaying Web pages within a Qt user interface to an implementation of a basic function Web browser.
| 范例 | 描述 |
|---|---|
| DOM Traversal * | Shows how to use QWebElement to inspect the document structure of a Web page. |
| Fancy Browser | A more advanced browser example, showing the use of jQuery to perform effects. |
| Form Extractor | How to use JavaScript and C++ together to read page content. |
| Frame Capture | How to use the WebKit browser engine to obtain images of Web pages. |
| Google Chat | A real-world example that shows how an existing Web-based service can be accessed using QtWebKit . |
| Image Analyzer * | A QtWebKit bridge application which contains a web interface and client-side processing. |
| Previewer * | Shows how to make a simple Web page previewer by using Qt's text input widgets together with a QWebView 小部件。 |
| Simple Selector * | A basic demonstration, showing how to use QWebElement to select elements in a Web page. |
| Simple Web Plugin * | Shows how to embed a widget into a Web page displayed using a QWebView 小部件。 |
| Web FTP Client * | Shows how to add support for a new protocol to QtWebKit -based applications. |
| Web Plugin * | Shows how to communicate with a widget embedded into a Web page. |
Examples marked with an asterisk (*) are fully documented.