From 38e24512b74dcfb0f473fe0c8003c66e99354409 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Fri, 26 May 2017 17:53:25 +0200 Subject: 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 Signed-off-by: Dirk Hohndel --- mobile-widgets/qml/DownloadFromDiveComputer.qml | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'mobile-widgets/qml') 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" -- cgit v1.2.3-70-g09d2