From fc2ca3a804310fccd8cef1d4ba425bbf3f3ba010 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sun, 25 Jun 2017 15:52:07 -0700 Subject: QML UI: DC Download progress indicator For now just do an indeterminate busy indicator - we can get more fancy and use the libdivecomputer progress event, later. Signed-off-by: Dirk Hohndel --- mobile-widgets/qml/DownloadFromDiveComputer.qml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mobile-widgets/qml/DownloadFromDiveComputer.qml') diff --git a/mobile-widgets/qml/DownloadFromDiveComputer.qml b/mobile-widgets/qml/DownloadFromDiveComputer.qml index 85a052692..e9afd92ab 100644 --- a/mobile-widgets/qml/DownloadFromDiveComputer.qml +++ b/mobile-widgets/qml/DownloadFromDiveComputer.qml @@ -38,6 +38,7 @@ Kirigami.Page { onFinished : { importModel.repopulate() acceptButton.enabled = true + dcDownloadProgress.visible = false manager.appendTextToLog("DCDownloadThread finished") } } @@ -85,7 +86,9 @@ Kirigami.Page { } ProgressBar { + id: dcDownloadProgress Layout.fillWidth: true + indeterminate: true visible: false } @@ -108,6 +111,7 @@ Kirigami.Page { downloadThread.deviceData.product = product; } manager.appendTextToLog("DCDownloadThread started for " + downloadThread.deviceData.devName) + dcDownloadProgress.visible = true downloadThread.start() } } -- cgit v1.2.3-70-g09d2