mobile/export: remove most of the export options

A tablet or phone is not a computer. What would you do with a CSV or TeX/LaTeX
file on a phone. Yeah, I get it, feature parity.

This should never have been merged.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2020-02-15 11:44:14 -08:00
parent b8c02c9b03
commit 0178f0c7e7
4 changed files with 7 additions and 112 deletions

View file

@ -166,79 +166,6 @@ Kirigami.ScrollablePage {
explain.text = qsTr("Send the dive data to dive-share.appspot.com website.")
}
}
RadioButton {
Layout.fillWidth: true
text: qsTr("Export CSV dive profile")
exclusiveGroup: radioGroup
onClicked: {
selectedExport = ExportType.EX_CSV_DIVE_PROFILE
explain.text = qsTr("Comma separated values describing the dive profile.")
}
}
RadioButton {
Layout.fillWidth: true
text: qsTr("Export CSV dive details")
exclusiveGroup: radioGroup
onClicked: {
selectedExport = ExportType.EX_CSV_DETAILS
explain.text = qsTr("Comma separated values of the dive information. This includes most of the dive details but no profile information.")
}
}
RadioButton {
Layout.fillWidth: true
text: qsTr("Export CSV profile data")
exclusiveGroup: radioGroup
onClicked: {
selectedExport = ExportType.EX_CSV_PROFILE
explain.text = qsTr("Write profile data to a CSV file.")
}
}
RadioButton {
Layout.fillWidth: true
visible: false // TEMPORARY MEASURE, until a non UI PNG generation is ready
text: qsTr("Export Dive profile")
exclusiveGroup: radioGroup
onClicked: {
selectedExport = ExportType.EX_PROFILE_PNG
explain.text = qsTr("Write the profile image as PNG file.")
}
}
RadioButton {
Layout.fillWidth: true
text: qsTr("Export Worldmap")
exclusiveGroup: radioGroup
onClicked: {
selectedExport = ExportType.EX_WORLD_MAP
explain.text = qsTr("HTML export of the dive locations, visualized on a world map.")
}
}
RadioButton {
Layout.fillWidth: true
text: qsTr("Export TeX")
exclusiveGroup: radioGroup
onClicked: {
selectedExport = ExportType.EX_TEX
explain.text = qsTr("Write dive as TeX macros to file.")
}
}
RadioButton {
Layout.fillWidth: true
text: qsTr("Export LaTeX")
exclusiveGroup: radioGroup
onClicked: {
selectedExport = ExportType.EX_LATEX
explain.text = qsTr("Write dive as LaTeX macros to file.")
}
}
RadioButton {
Layout.fillWidth: true
text: qsTr("Export Image depths")
exclusiveGroup: radioGroup
onClicked: {
selectedExport = ExportType.EX_IMAGE_DEPTHS
explain.text = qsTr("Write depths of images to file.")
}
}
Text {
id: explain
Layout.fillWidth: true