summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativewebview/resources/webviewbackgroundcolor.qml
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2012-09-26 10:49:56 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-09-27 15:37:57 +0200
commita8b637e9b70bb420690523cd3f77f139813deec8 (patch)
tree4eba1ed7253baaddf76581312bf0318f5293e055 /tests/auto/declarative/qdeclarativewebview/resources/webviewbackgroundcolor.qml
parent3ef5a2374862c82076427ca42e334aaaeb21ca45 (diff)
Add QtQuick1 WebKit integration (from QtWebKit module)
This adds the QML1 QDeclarativeWebView integration to the default build (it was added a while ago) as well as the unit tests. Change-Id: I7324f5a3b00716d4b300e8c11d9ea3b8b9577da3 Reviewed-by: Pierre Rossi <pierre.rossi@gmail.com>
Diffstat (limited to 'tests/auto/declarative/qdeclarativewebview/resources/webviewbackgroundcolor.qml')
-rw-r--r--tests/auto/declarative/qdeclarativewebview/resources/webviewbackgroundcolor.qml10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/auto/declarative/qdeclarativewebview/resources/webviewbackgroundcolor.qml b/tests/auto/declarative/qdeclarativewebview/resources/webviewbackgroundcolor.qml
new file mode 100644
index 00000000..fb46d38b
--- /dev/null
+++ b/tests/auto/declarative/qdeclarativewebview/resources/webviewbackgroundcolor.qml
@@ -0,0 +1,10 @@
+import QtQuick 1.0
+import QtWebKit 1.1
+
+WebView {
+ id: myweb
+ height: 300
+ width: 300
+ focus: true
+ backgroundColor : "red"
+}