summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativewebview/resources/propertychanges.qml
blob: 8210e85affb0ef4cce424ae545e14301c5200b83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
import QtQuick 1.0
import QtWebKit 1.0

Item {
    width: 240
    height: 160
    Grid {
        anchors.fill: parent
        objectName: "newWindowParent"
        id: newWindowParent
    }

    Row {
        anchors.fill: parent
        id: oldWindowParent
        objectName: "oldWindowParent"
    }

    Loader {
        sourceComponent: webViewComponent
    }
    Component {
            id: webViewComponent
            WebView {
                id: webView
                objectName: "webView"
                newWindowComponent: webViewComponent
                newWindowParent: oldWindowParent
                url: "basic.html"
                renderingEnabled: true
                pressGrabTime: 200
            }
    }
}