diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2017-05-26 17:53:25 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-05-27 11:07:20 -0700 |
commit | 38e24512b74dcfb0f473fe0c8003c66e99354409 (patch) | |
tree | da874a08a20503079978a32a9a2fe2ee92c06213 /mobile-widgets | |
parent | 7858376727ee467ae59a18d84d40e3148ea3e38b (diff) | |
download | subsurface-38e24512b74dcfb0f473fe0c8003c66e99354409.tar.gz |
QML UI: add the Downloaded Dive Model
Still to do:
- select the dives to save
- record the downloaded dives
but download is already working. :)
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets')
-rw-r--r-- | mobile-widgets/qml/DownloadFromDiveComputer.qml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mobile-widgets/qml/DownloadFromDiveComputer.qml b/mobile-widgets/qml/DownloadFromDiveComputer.qml index 4587f2e98..a8f052626 100644 --- a/mobile-widgets/qml/DownloadFromDiveComputer.qml +++ b/mobile-widgets/qml/DownloadFromDiveComputer.qml @@ -44,6 +44,14 @@ Kirigami.Page { deviceData.diveId : 0 deviceData.saveDump : false deviceData.saveLog : false + + onFinished : { + importModel.repopulate() + } + } + + DCImportModel { + id: importModel } ColumnLayout { @@ -98,6 +106,8 @@ Kirigami.Page { Layout.fillWidth: true // The tableview should fill Layout.fillHeight: true // all remaining vertical space height: parent.height // on this screen + model : importModel + QQC1.TableViewColumn { width: parent.width / 2 role: "datetime" |