From 398159d941942886b40105680820f497e5ca90a5 Mon Sep 17 00:00:00 2001 From: Zeno Albisser Date: Mon, 17 Jun 2013 15:57:43 +0200 Subject: Add initial API layer for QtQuick and connect the signals accordingly. --- examples/qtquick/quickwindow.qml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'examples') 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 { -- cgit v1.2.1