diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2017-06-25 15:52:07 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-06-25 15:52:07 -0700 |
commit | fc2ca3a804310fccd8cef1d4ba425bbf3f3ba010 (patch) | |
tree | ebc0592d8ece2b4e7ad88ed90781fb7619e173b6 /mobile-widgets/qml/DownloadFromDiveComputer.qml | |
parent | f5e1df042394ca749e4c7f80c451a6035755c006 (diff) | |
download | subsurface-fc2ca3a804310fccd8cef1d4ba425bbf3f3ba010.tar.gz |
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 <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qml/DownloadFromDiveComputer.qml')
-rw-r--r-- | mobile-widgets/qml/DownloadFromDiveComputer.qml | 4 |
1 files changed, 4 insertions, 0 deletions
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() } } |