blob: 569f4a5ce4403bacc51cb78a996d7b45c9efa238 (
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.7
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
}
}
}
|