From cc4c8562890784e1b4ca55612f8963e59f2e6bce Mon Sep 17 00:00:00 2001 From: Warwick Allison Date: Thu, 30 Apr 2009 16:42:11 +1000 Subject: doc --- src/declarative/fx/qfxwebview.cpp | 27 +++++++++++---------------- 1 file changed, 11 insertions(+), 16 deletions(-) diff --git a/src/declarative/fx/qfxwebview.cpp b/src/declarative/fx/qfxwebview.cpp index 05730f9..fe694ea 100644 --- a/src/declarative/fx/qfxwebview.cpp +++ b/src/declarative/fx/qfxwebview.cpp @@ -221,7 +221,13 @@ public: if the idealHeight is changed after the content is loaded. \code - + WebView { + url: "http://www.nokia.com" + width: 490 + height: 400 + scale: 0.5 + smooth: true + } \endcode \image webview.png @@ -998,23 +1004,12 @@ QString QFxWebView::html() const \qmlproperty string WebView::html This property holds HTML text set directly - The html property can be set as a string (using CDATA for large blocks), - or as xhtml inline using the XML namespace http://www.w3.org/1999/xhtml: + The html property can be set as a string. \code - - -

This is valid xHTML.

- -
- \endcode - - \code - - <CDATA[ -

This is just HTML. - ]]>html> - + WebView { + html: "

This is HTML." + } \endcode */ void QFxWebView::setHtml(const QString &html, const QUrl &baseUrl) -- cgit v0.12