diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2010-03-02 05:55:06 (GMT) |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2010-03-02 05:55:06 (GMT) |
commit | feb79bba984520fa30bad83eb4a6f34cfb86a697 (patch) | |
tree | 9e3ad14e243c84f0dea08bf2dfca19b070fe450d /examples/declarative | |
parent | 26e6b837ceb90ed3d0df63b39a1cd0ec4dc7aeae (diff) | |
download | Qt-feb79bba984520fa30bad83eb4a6f34cfb86a697.zip Qt-feb79bba984520fa30bad83eb4a6f34cfb86a697.tar.gz Qt-feb79bba984520fa30bad83eb4a6f34cfb86a697.tar.bz2 |
Move WebView to an extension plugin.
Using WebView now requires:
import org.webkit 1.0
Task-number: QT-2995
Diffstat (limited to 'examples/declarative')
-rw-r--r-- | examples/declarative/webview/autosize.qml | 1 | ||||
-rw-r--r-- | examples/declarative/webview/content/FieldText.qml | 2 | ||||
-rw-r--r-- | examples/declarative/webview/content/Mapping/Map.qml | 1 | ||||
-rw-r--r-- | examples/declarative/webview/evalandattach.qml | 1 | ||||
-rw-r--r-- | examples/declarative/webview/googleMaps.qml | 1 | ||||
-rw-r--r-- | examples/declarative/webview/inline-html.qml | 1 | ||||
-rw-r--r-- | examples/declarative/webview/newwindows.qml | 1 | ||||
-rw-r--r-- | examples/declarative/webview/qdeclarative-in-html.qml | 1 | ||||
-rw-r--r-- | examples/declarative/webview/transparent.qml | 1 |
9 files changed, 9 insertions, 1 deletions
diff --git a/examples/declarative/webview/autosize.qml b/examples/declarative/webview/autosize.qml index 74c6844..3c00ee6 100644 --- a/examples/declarative/webview/autosize.qml +++ b/examples/declarative/webview/autosize.qml @@ -1,4 +1,5 @@ import Qt 4.6 +import org.webkit 1.0 // The WebView size is determined by the width, height, // preferredWidth, and preferredHeight properties. diff --git a/examples/declarative/webview/content/FieldText.qml b/examples/declarative/webview/content/FieldText.qml index 19b6acc..d282209 100644 --- a/examples/declarative/webview/content/FieldText.qml +++ b/examples/declarative/webview/content/FieldText.qml @@ -85,7 +85,7 @@ Item { font.bold: true text: label opacity: textEdit.text == '' ? 1 : 0 - opacity: Behavior { + Behavior on opacity { NumberAnimation { property: "opacity" duration: 250 diff --git a/examples/declarative/webview/content/Mapping/Map.qml b/examples/declarative/webview/content/Mapping/Map.qml index 2e98940..6c3b021 100644 --- a/examples/declarative/webview/content/Mapping/Map.qml +++ b/examples/declarative/webview/content/Mapping/Map.qml @@ -1,4 +1,5 @@ import Qt 4.6 +import org.webkit 1.0 Item { id: page diff --git a/examples/declarative/webview/evalandattach.qml b/examples/declarative/webview/evalandattach.qml index 94301cd..d219d84 100644 --- a/examples/declarative/webview/evalandattach.qml +++ b/examples/declarative/webview/evalandattach.qml @@ -1,4 +1,5 @@ import Qt 4.6 +import org.webkit 1.0 Item { height: 640 diff --git a/examples/declarative/webview/googleMaps.qml b/examples/declarative/webview/googleMaps.qml index 1886961..a04fecb 100644 --- a/examples/declarative/webview/googleMaps.qml +++ b/examples/declarative/webview/googleMaps.qml @@ -6,6 +6,7 @@ // order to create a Map. import Qt 4.6 +import org.webkit 1.0 import "content/Mapping" Map { diff --git a/examples/declarative/webview/inline-html.qml b/examples/declarative/webview/inline-html.qml index 23b4555..41dfec3 100644 --- a/examples/declarative/webview/inline-html.qml +++ b/examples/declarative/webview/inline-html.qml @@ -1,4 +1,5 @@ import Qt 4.6 +import org.webkit 1.0 // Inline HTML with loose formatting can be // set on the html property. diff --git a/examples/declarative/webview/newwindows.qml b/examples/declarative/webview/newwindows.qml index 5dd4cd5..c62aba6 100644 --- a/examples/declarative/webview/newwindows.qml +++ b/examples/declarative/webview/newwindows.qml @@ -4,6 +4,7 @@ // allow it on WebView with settings.javascriptCanOpenWindows: true import Qt 4.6 +import org.webkit 1.0 Grid { columns: 3 diff --git a/examples/declarative/webview/qdeclarative-in-html.qml b/examples/declarative/webview/qdeclarative-in-html.qml index 77180ec..172ea4b 100644 --- a/examples/declarative/webview/qdeclarative-in-html.qml +++ b/examples/declarative/webview/qdeclarative-in-html.qml @@ -1,4 +1,5 @@ import Qt 4.6 +import org.webkit 1.0 // The WebView supports QML data through the HTML OBJECT tag Rectangle { diff --git a/examples/declarative/webview/transparent.qml b/examples/declarative/webview/transparent.qml index 9332f3e..5530819 100644 --- a/examples/declarative/webview/transparent.qml +++ b/examples/declarative/webview/transparent.qml @@ -1,4 +1,5 @@ import Qt 4.6 +import org.webkit 1.0 // The WebView background is transparent // if the HTML does not specify a background |