From 0178f0c7e78d8e61e5794f33e519a87c56039c06 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 15 Feb 2020 11:44:14 -0800 Subject: 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 --- mobile-widgets/qml/Export.qml | 73 ------------------------------------------- 1 file changed, 73 deletions(-) (limited to 'mobile-widgets/qml/Export.qml') diff --git a/mobile-widgets/qml/Export.qml b/mobile-widgets/qml/Export.qml index 7384bcbe2..2b1b004ab 100644 --- a/mobile-widgets/qml/Export.qml +++ b/mobile-widgets/qml/Export.qml @@ -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 -- cgit v1.2.3-70-g09d2