tests/auto/declarative/qmlvisual/webview/zooming/resolution.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 WebView {
       
     5     width: 200 * zoomFactor
       
     6     height: 250 * zoomFactor
       
     7     scale: 1/zoomFactor
       
     8     url: "resolution.html"
       
     9     SequentialAnimation on zoomFactor {
       
    10         loops: Animation.Infinite
       
    11         NumberAnimation { from: 1; to: 0.25; duration: 2000 }
       
    12         NumberAnimation { from: 0.25; to: 1; duration: 2000 }
       
    13         NumberAnimation { from: 1; to: 5; duration: 2000 }
       
    14         NumberAnimation { from: 5; to: 1; duration: 2000 }
       
    15     }
       
    16 }