diff options
author | Willem Ferguson <willem@localhost.localdomain> | 2016-01-25 07:34:03 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-01-25 07:10:08 -0800 |
commit | 9bc7ef7567bae55d0bf9953f7ecea76c7877b28b (patch) | |
tree | 20dab5a5f22cb51b8bd5826d6ad1645f091f60e8 /qt-mobile/qml/DownloadFromDiveComputer.qml | |
parent | bf2db7f673fc160aa1b0a514a6d33e5212fb9d7c (diff) | |
download | subsurface-9bc7ef7567bae55d0bf9953f7ecea76c7877b28b.tar.gz |
Layout proposal for download from dove computer screen
This is a proposal for the layout of this page and which may be
useful during further development of the download code.
Signed-off-by: Willem Ferguson <willem@localhost.localdomain>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile/qml/DownloadFromDiveComputer.qml')
-rw-r--r-- | qt-mobile/qml/DownloadFromDiveComputer.qml | 117 |
1 files changed, 69 insertions, 48 deletions
diff --git a/qt-mobile/qml/DownloadFromDiveComputer.qml b/qt-mobile/qml/DownloadFromDiveComputer.qml index a401d5712..d18c37bb8 100644 --- a/qt-mobile/qml/DownloadFromDiveComputer.qml +++ b/qt-mobile/qml/DownloadFromDiveComputer.qml @@ -28,45 +28,57 @@ Item { ColumnLayout { height: parent.height Layout.fillWidth: true - Text { text: "Vendor" } - ComboBox { Layout.fillWidth: true } - Text { text: "Dive Computer" } - ComboBox { Layout.fillWidth: true } - Text { text: "Device or mount point" } - RowLayout { - Layout.fillWidth: true - TextField { Layout.fillWidth: true } - SubsurfaceButton { text: "..." } - } - GridLayout { - columns: 2 - CheckBox { text: "Force download of all dives" } - CheckBox { text: "Always prefer downloaded dives" } - CheckBox { text: "Download into new trip" } - CheckBox { text: "Save libdivecomputer logfile" } - CheckBox { text: "Save libdivecomputer dumpfile" } - CheckBox { text: "Choose Bluetooth download mode" } - } + RowLayout { + Text { text: " Vendor name : " } + ComboBox { Layout.fillWidth: true } + } + RowLayout { + Text { text: " Dive Computer:" } + ComboBox { Layout.fillWidth: true } + } +// Text { text: "Device or mount point" } +// RowLayout { +// Layout.fillWidth: true +// TextField { Layout.fillWidth: true } +// SubsurfaceButton { text: "..." } +// } +// GridLayout { +// columns: 2 +// CheckBox { text: "Force download of all dives" } +// CheckBox { text: "Always prefer downloaded dives" } +// CheckBox { text: "Download into new trip" } +// CheckBox { text: "Save libdivecomputer logfile" } +// CheckBox { text: "Save libdivecomputer dumpfile" } +// CheckBox { text: "Choose Bluetooth download mode" } +// } - RowLayout { - Layout.fillWidth: true - ProgressBar { Layout.fillWidth: true } - SubsurfaceButton { text: "Download" } - } - } + RowLayout { + Text { text: " Progress:" } + Layout.fillWidth: true + ProgressBar { Layout.fillWidth: true } + } + RowLayout { + SubsurfaceButton { + text: "Download" + onClicked: { + stackView.pop(); + } + } + SubsurfaceButton { + text: "Quit" + onClicked: { + stackView.pop(); + } + } + } + } } ColumnLayout { height: parent.height Layout.fillWidth: true RowLayout { Text { - text: "Downloaded dives" - } - SubsurfaceButton { - text: "Select All" - } - SubsurfaceButton { - text: "Unselect All" + text: " Downloaded dives" } } TableView { @@ -75,22 +87,31 @@ Item { } } } - RowLayout { - width: parent.width - SubsurfaceButton { - text: "OK" - - onClicked: { - stackView.pop(); - } - } - SubsurfaceButton { - text: "Cancel" - - onClicked: { - stackView.pop(); - } - } + GridLayout { + Layout.fillWidth: true + columns: 5 + SubsurfaceButton { + text: "Accept" + onClicked: { + stackView.pop(); + } + } + SubsurfaceButton { + text: "Quit" + onClicked: { + stackView.pop(); + } + } + Text { + text: "" + Layout.fillWidth: true + } + SubsurfaceButton { + text: "Select All" + } + SubsurfaceButton { + text: "Unselect All" + } } } } |