tests/auto/declarative/qmlvisual/webview/zooming/renderControl.qml
changeset 30 5dc02b23752f
equal deleted inserted replaced
29:b72c6db6890b 30:5dc02b23752f
       
     1 import Qt 4.7
       
     2 import org.webkit 1.0
       
     3 
       
     4 Rectangle {
       
     5     width: 200
       
     6     height: 250
       
     7     clip: true
       
     8     WebView {
       
     9         id: webview
       
    10         width: 400
       
    11         url: "renderControl.html"
       
    12         SequentialAnimation on x {
       
    13                 loops: Animation.Infinite
       
    14                 NumberAnimation { from: 100; to: 0; duration: 200 }
       
    15                 PropertyAction { target: webview; property: "renderingEnabled"; value: false }
       
    16                 NumberAnimation { from: 0; to: -100; duration: 200 }
       
    17                 PropertyAction { target: webview; property: "renderingEnabled"; value: true }
       
    18                 NumberAnimation { from: -100; to: 100; duration: 400 }
       
    19             }
       
    20     }
       
    21 }