diff options
author | Yann Bodson <yann.bodson@nokia.com> | 2009-10-09 07:08:03 (GMT) |
---|---|---|
committer | Yann Bodson <yann.bodson@nokia.com> | 2009-10-09 07:08:03 (GMT) |
commit | 165785ed7ad463100e144467a09708742259836c (patch) | |
tree | 7c2898b81f57257f036e50e31f0b48d89aedca89 /examples/declarative/webview | |
parent | 79be9b9d7b9b3fd6620c4425278657ba573d1794 (diff) | |
download | Qt-165785ed7ad463100e144467a09708742259836c.zip Qt-165785ed7ad463100e144467a09708742259836c.tar.gz Qt-165785ed7ad463100e144467a09708742259836c.tar.bz2 |
Do not use 'resources:' in examples
Diffstat (limited to 'examples/declarative/webview')
-rw-r--r-- | examples/declarative/webview/newwindows.qml | 33 |
1 files changed, 17 insertions, 16 deletions
diff --git a/examples/declarative/webview/newwindows.qml b/examples/declarative/webview/newwindows.qml index 59e3b3e..e2ed58f 100644 --- a/examples/declarative/webview/newwindows.qml +++ b/examples/declarative/webview/newwindows.qml @@ -7,22 +7,23 @@ import Qt 4.6 Row { id: pages - height: 200 - resources: [ - Component { - id: webViewPage - Rectangle { - width: webView.width - height: webView.height - WebView { - id: webView - newWindowComponent: webViewPage - newWindowParent: pages - url: "newwindows.html" - } - } + height: 200; width: 500 + + Component { + id: webViewPage + Rectangle { + width: webView.width + height: webView.height + border.color: "gray" + + WebView { + id: webView + newWindowComponent: webViewPage + newWindowParent: pages + url: "newwindows.html" + } } - ] - width: 500 + } + Loader { sourceComponent: webViewPage } } |