equal
deleted
inserted
replaced
38 ** $QT_END_LICENSE$ |
38 ** $QT_END_LICENSE$ |
39 ** |
39 ** |
40 ****************************************************************************/ |
40 ****************************************************************************/ |
41 |
41 |
42 import Qt 4.7 |
42 import Qt 4.7 |
43 import org.webkit 1.0 |
43 import QtWebKit 1.0 |
44 |
44 |
45 import "content" |
45 import "content" |
46 |
46 |
47 Rectangle { |
47 Rectangle { |
48 id: webBrowser |
48 id: webBrowser |
49 |
49 |
50 property string urlString : "http://qt.nokia.com/" |
50 property string urlString : "http://www.nokia.com/" |
51 |
51 |
52 width: 800; height: 600 |
52 width: 800; height: 600 |
53 color: "#343434" |
53 color: "#343434" |
54 |
54 |
55 FlickableWebView { |
55 FlickableWebView { |
56 id: webView |
56 id: webView |
57 url: webBrowser.urlString |
57 url: webBrowser.urlString |
|
58 onProgressChanged: header.urlChanged = false |
58 anchors { top: headerSpace.bottom; left: parent.left; right: parent.right; bottom: parent.bottom } |
59 anchors { top: headerSpace.bottom; left: parent.left; right: parent.right; bottom: parent.bottom } |
59 } |
60 } |
60 |
61 |
61 Item { id: headerSpace; width: parent.width; height: 62 } |
62 Item { id: headerSpace; width: parent.width; height: 62 } |
62 |
63 |