summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/visual/webview/zooming/zoomTextOnly.qml
blob: 55cd9bc99e5ebfa0c3635ed984d8de38cfb0a4e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import Qt 4.6

WebView {
    width: 200
    height: 250
    url: "zoomTextOnly.html"
    settings.zoomTextOnly: true
    zoomFactor:
        SequentialAnimation {
            running: true
            repeat: true
            NumberAnimation { from: 2; to: 0.25; duration: 1000 }
            NumberAnimation { from: 0.25; to: 2; duration: 1000 }
        }
}