diff options
author | Grace Karanja <gracie.karanja89@gmail.com> | 2015-07-23 14:46:02 +0300 |
---|---|---|
committer | Grace Karanja <gracie.karanja89@gmail.com> | 2015-07-23 14:46:52 +0300 |
commit | e93bb9230f19a054888fc6db09f3757412ab7cc5 (patch) | |
tree | 56a3a1de1bf38c02fdc44aa5633ffe92a05f4a43 /qt-mobile/main.qml | |
parent | b0df506a8c30760d9efb07097ed5a4d9a008bf2b (diff) | |
download | subsurface-e93bb9230f19a054888fc6db09f3757412ab7cc5.tar.gz |
QML UI: Add download from divecomputer window
Add a window to be used when downloading from dive computers.
Signed-off-by: Grace Karanja <gracie.karanja89@gmail.com>
Diffstat (limited to 'qt-mobile/main.qml')
-rw-r--r-- | qt-mobile/main.qml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/qt-mobile/main.qml b/qt-mobile/main.qml index adceb9a02..9553197b6 100644 --- a/qt-mobile/main.qml +++ b/qt-mobile/main.qml @@ -56,6 +56,16 @@ ApplicationWindow { } Button { + id: downloadDivesButton + text: "Download Dives" + onClicked: { + downloadDivesWindow.height = parent.height + downloadDivesWindow.width = parent.width + stackView.push(downloadDivesWindow) + } + } + + Button { id: saveChanges text: "Save Changes" onClicked: { @@ -108,4 +118,9 @@ ApplicationWindow { id: detailsWindow visible: false } + + DownloadFromDiveComputer { + id: downloadDivesWindow + visible: false + } } |