diff options
author | Zeno Albisser <zeno.albisser@digia.com> | 2013-06-17 15:57:43 +0200 |
---|---|---|
committer | Zeno Albisser <zeno.albisser@digia.com> | 2013-06-18 12:49:58 +0200 |
commit | 398159d941942886b40105680820f497e5ca90a5 (patch) | |
tree | 6fe2c06690f3fb19270a37ffb52fe14f6049306b /examples | |
parent | 787c8f0a614696ef803aed88ddb9a56d5f66f191 (diff) | |
download | qtwebengine-398159d941942886b40105680820f497e5ca90a5.tar.gz |
Add initial API layer for QtQuick and connect the signals accordingly.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/qtquick/quickwindow.qml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/qtquick/quickwindow.qml b/examples/qtquick/quickwindow.qml index bd6504d6b..688014b6f 100644 --- a/examples/qtquick/quickwindow.qml +++ b/examples/qtquick/quickwindow.qml @@ -8,6 +8,7 @@ ApplicationWindow { height: 600 width: 800 visible: true + title: webContentsView.title toolBar: ToolBar { id: navigationBar @@ -28,8 +29,8 @@ ApplicationWindow { } ToolButton { id: reloadButton - iconName: "view-refresh" - iconSource: ":/icons/view-refresh.png" + iconName: webContentsView.loading ? "process-stop" : "view-refresh" + iconSource: webContentsView.loading ? ":/icons/process-stop.png" : ":/icons/view-refresh.png" onClicked: webContentsView.reload() } TextField { |