Initial import from the monolithic Qt.
[profile/ivi/qtdeclarative.git] / tests / auto / declarative / qmlvisual / webview / javascript / windowObjects.qml
1 import QtQuick 1.0
2 import QtWebKit 1.0
3
4 Column {
5     property string skip: "WebView tests not counting until resources allocated to WebView maintenance"
6     WebView {
7         width: 200
8         height: 200
9         url: "test-objects.html"
10         javaScriptWindowObjects:
11             QtObject {
12                 property string text: btntext.text
13                 WebView.windowObjectName: "qmltext"
14             }
15     }
16     Row {
17         Text { text: "Input:" }
18         Rectangle {
19             width: btntext.width+10
20             height: btntext.height+10
21             border.color: "black"
22             TextInput {
23                 id: btntext
24                 text: "Blah"
25             }
26         }
27     }
28 }