blob: db0688782854f5d866ab4ce82f157a2166e8a5bb (
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
}
}
}
|