Commit fc42f5c26bbc257cf782679f7b40075e05322647
| |   |
| 136 | 136 | For example: |
| 137 | 137 | |
| 138 | 138 | \code |
| <object type="application/x-pdf" data="http://qtsoftware.com/document.pdf" width="500" height="400"> |
| <object type="application/x-pdf" data="http://www.example.com/document.pdf" width="500" height="400"> |
| 140 | 140 | <param name="showTableOfContents" value="true" /> |
| 141 | 141 | <param name="hideThumbnails" value="false" /> |
| 142 | 142 | </object> |
| … | … | |
| 149 | 149 | \row \o mimeType |
| 150 | 150 | \o "application/x-pdf" |
| 151 | 151 | \row \o url |
| \o "http://qtsoftware.com/document.pdf" |
| \o "http://www.example.com/document.pdf" |
| 153 | 153 | \row \o argumentNames |
| 154 | 154 | \o "showTableOfContents" "hideThumbnails" |
| 155 | 155 | \row \o argumentVaues |
| |   |
| 27 | 27 | QWidget *parent = 0; |
| 28 | 28 | //! [Using QWebView] |
| 29 | 29 | QWebView *view = new QWebView(parent); |
| view->load(QUrl("http://qtsoftware.com/")); |
| view->load(QUrl("http://qt.nokia.com/")); |
| 31 | 31 | view->show(); |
| 32 | 32 | //! [Using QWebView] |
| 33 | 33 | return app.exec(); |