mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
QML UI: stub out saving downloaded dives
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
4ad02634e9
commit
057f46f854
1 changed files with 8 additions and 6 deletions
|
@ -35,6 +35,7 @@ Kirigami.Page {
|
||||||
|
|
||||||
onFinished : {
|
onFinished : {
|
||||||
importModel.repopulate()
|
importModel.repopulate()
|
||||||
|
acceptButton.enabled = true
|
||||||
manager.appendTextToLog("DCDownloadThread finished")
|
manager.appendTextToLog("DCDownloadThread finished")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -118,14 +119,15 @@ Kirigami.Page {
|
||||||
RowLayout {
|
RowLayout {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Button {
|
Button {
|
||||||
|
id: acceptButton
|
||||||
text: qsTr("Accept")
|
text: qsTr("Accept")
|
||||||
|
enabled: false
|
||||||
onClicked: {
|
onClicked: {
|
||||||
stackView.pop();
|
manager.appendTextToLog("Save downloaded dives")
|
||||||
}
|
for (var i = 0; i < importModel.rowCount(); i++) {
|
||||||
}
|
// figure out which ones are selected
|
||||||
Button {
|
// save the selected dive to the diveTable
|
||||||
text: qsTr("Quit")
|
}
|
||||||
onClicked: {
|
|
||||||
stackView.pop();
|
stackView.pop();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue