mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
bf2db7f673
commit
9bc7ef7567
1 changed files with 69 additions and 48 deletions
|
@ -28,45 +28,57 @@ Item {
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
height: parent.height
|
height: parent.height
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Text { text: "Vendor" }
|
RowLayout {
|
||||||
ComboBox { Layout.fillWidth: true }
|
Text { text: " Vendor name : " }
|
||||||
Text { text: "Dive Computer" }
|
ComboBox { Layout.fillWidth: true }
|
||||||
ComboBox { Layout.fillWidth: true }
|
}
|
||||||
Text { text: "Device or mount point" }
|
RowLayout {
|
||||||
RowLayout {
|
Text { text: " Dive Computer:" }
|
||||||
Layout.fillWidth: true
|
ComboBox { Layout.fillWidth: true }
|
||||||
TextField { Layout.fillWidth: true }
|
}
|
||||||
SubsurfaceButton { text: "..." }
|
// Text { text: "Device or mount point" }
|
||||||
}
|
// RowLayout {
|
||||||
GridLayout {
|
// Layout.fillWidth: true
|
||||||
columns: 2
|
// TextField { Layout.fillWidth: true }
|
||||||
CheckBox { text: "Force download of all dives" }
|
// SubsurfaceButton { text: "..." }
|
||||||
CheckBox { text: "Always prefer downloaded dives" }
|
// }
|
||||||
CheckBox { text: "Download into new trip" }
|
// GridLayout {
|
||||||
CheckBox { text: "Save libdivecomputer logfile" }
|
// columns: 2
|
||||||
CheckBox { text: "Save libdivecomputer dumpfile" }
|
// CheckBox { text: "Force download of all dives" }
|
||||||
CheckBox { text: "Choose Bluetooth download mode" }
|
// 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 {
|
RowLayout {
|
||||||
Layout.fillWidth: true
|
Text { text: " Progress:" }
|
||||||
ProgressBar { Layout.fillWidth: true }
|
Layout.fillWidth: true
|
||||||
SubsurfaceButton { text: "Download" }
|
ProgressBar { Layout.fillWidth: true }
|
||||||
}
|
}
|
||||||
}
|
RowLayout {
|
||||||
|
SubsurfaceButton {
|
||||||
|
text: "Download"
|
||||||
|
onClicked: {
|
||||||
|
stackView.pop();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
SubsurfaceButton {
|
||||||
|
text: "Quit"
|
||||||
|
onClicked: {
|
||||||
|
stackView.pop();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
height: parent.height
|
height: parent.height
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
RowLayout {
|
RowLayout {
|
||||||
Text {
|
Text {
|
||||||
text: "Downloaded dives"
|
text: " Downloaded dives"
|
||||||
}
|
|
||||||
SubsurfaceButton {
|
|
||||||
text: "Select All"
|
|
||||||
}
|
|
||||||
SubsurfaceButton {
|
|
||||||
text: "Unselect All"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
TableView {
|
TableView {
|
||||||
|
@ -75,22 +87,31 @@ Item {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
RowLayout {
|
GridLayout {
|
||||||
width: parent.width
|
Layout.fillWidth: true
|
||||||
SubsurfaceButton {
|
columns: 5
|
||||||
text: "OK"
|
SubsurfaceButton {
|
||||||
|
text: "Accept"
|
||||||
onClicked: {
|
onClicked: {
|
||||||
stackView.pop();
|
stackView.pop();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
SubsurfaceButton {
|
SubsurfaceButton {
|
||||||
text: "Cancel"
|
text: "Quit"
|
||||||
|
onClicked: {
|
||||||
onClicked: {
|
stackView.pop();
|
||||||
stackView.pop();
|
}
|
||||||
}
|
}
|
||||||
}
|
Text {
|
||||||
|
text: ""
|
||||||
|
Layout.fillWidth: true
|
||||||
|
}
|
||||||
|
SubsurfaceButton {
|
||||||
|
text: "Select All"
|
||||||
|
}
|
||||||
|
SubsurfaceButton {
|
||||||
|
text: "Unselect All"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue