summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qmlvisual/webview/zooming/renderControl.qml
diff options
context:
space:
mode:
authorck <qt-info@nokia.com>2010-04-23 12:44:44 (GMT)
committerck <qt-info@nokia.com>2010-04-23 12:44:44 (GMT)
commit9c25bcd50a5eabd8c3bfa63ef27949aeb12eaa7f (patch)
tree319dafa676dab5bfa108cb23baa2bf981b628936 /tests/auto/declarative/qmlvisual/webview/zooming/renderControl.qml
parentbd9adf630d8f95cfb2cb18731ee581de4efda167 (diff)
parent868b5aff25a31f3531d5f0be5b16ef2bfc78667f (diff)
downloadQt-9c25bcd50a5eabd8c3bfa63ef27949aeb12eaa7f.zip
Qt-9c25bcd50a5eabd8c3bfa63ef27949aeb12eaa7f.tar.gz
Qt-9c25bcd50a5eabd8c3bfa63ef27949aeb12eaa7f.tar.bz2
Merge branch 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-1
Conflicts: tests/auto/declarative/qdeclarativedom/data/importlib/sublib/qmldir tools/assistant/tools/assistant/assistant.pro tools/assistant/tools/assistant/centralwidget.cpp tools/assistant/tools/assistant/helpviewer_qtb.cpp tools/assistant/tools/assistant/helpviewer_qwv.cpp tools/assistant/tools/assistant/mainwindow.cpp
Diffstat (limited to 'tests/auto/declarative/qmlvisual/webview/zooming/renderControl.qml')
-rw-r--r--tests/auto/declarative/qmlvisual/webview/zooming/renderControl.qml21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/auto/declarative/qmlvisual/webview/zooming/renderControl.qml b/tests/auto/declarative/qmlvisual/webview/zooming/renderControl.qml
new file mode 100644
index 0000000..52a569e
--- /dev/null
+++ b/tests/auto/declarative/qmlvisual/webview/zooming/renderControl.qml
@@ -0,0 +1,21 @@
+import Qt 4.6
+import org.webkit 1.0
+
+Rectangle {
+ width: 200
+ height: 250
+ clip: true
+ WebView {
+ id: webview
+ width: 400
+ url: "renderControl.html"
+ SequentialAnimation on x {
+ loops: Animation.Infinite
+ NumberAnimation { from: 100; to: 0; duration: 200 }
+ PropertyAction { target: webview; property: "renderingEnabled"; value: false }
+ NumberAnimation { from: 0; to: -100; duration: 200 }
+ PropertyAction { target: webview; property: "renderingEnabled"; value: true }
+ NumberAnimation { from: -100; to: 100; duration: 400 }
+ }
+ }
+}