blob: 3dd4e51c2ec03d1fd56d46d86905c137dc8b544b (
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
|
import Qt 4.6
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
}
}
}
|