mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
7858376727
commit
38e24512b7
4 changed files with 53 additions and 7 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue