summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativewebview/data/propertychanges.qml
blob: 0770acfda77c6abc84317d07304bec311ba2092b (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 Qt 4.6
import org.webkit 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
            }
    }
}