Reorganise and reword divelog export panel

Perform slight reorganisation and rewording of the divelog export
panel. Specifically the wording is changed and expanded to make clear
the 2 types of export of profile data. All the CSV export options are
grouped together. With respect to profile export to CSV format, it is
made clear that one option concerns export of dive computer-related
profile data, whereas the other option involves export of computed
dive profile data from the Dive Profile panel.

Signed-off-by: willemferguson <willemferguson@zoology.up.ac.za>
This commit is contained in:
willemferguson 2020-04-18 15:43:24 +02:00 committed by Dirk Hohndel
parent 56a3377367
commit f690b8e90d
2 changed files with 16 additions and 16 deletions

View file

@ -84,7 +84,7 @@ void DiveLogExportDialog::showExplanation()
if (ui->exportUDDF->isChecked()) {
ui->description->setText(tr("Generic format that is used for data exchange between a variety of diving related programs."));
} else if (ui->exportCSV->isChecked()) {
ui->description->setText(tr("Comma separated values describing the dive profile."));
ui->description->setText(tr("Comma separated values describing the dive profile as downloaded from dive computer."));
} else if (ui->exportCSVDetails->isChecked()) {
ui->description->setText(tr("Comma separated values of the dive information. This includes most of the dive details but no profile information."));
} else if (ui->exportDivelogs->isChecked()) {
@ -106,7 +106,7 @@ void DiveLogExportDialog::showExplanation()
} else if (ui->exportProfile->isChecked()) {
ui->description->setText(tr("Write the profile image as PNG file."));
} else if (ui->exportProfileData->isChecked()) {
ui->description->setText(tr("Write profile data to a CSV file."));
ui->description->setText(tr("Write the computed Profile Panel data to a CSV file."));
}
}

View file

@ -255,9 +255,9 @@
</widget>
</item>
<item>
<widget class="QRadioButton" name="exportCSV">
<widget class="QRadioButton" name="exportCSVDetails">
<property name="text">
<string>CSV dive profile</string>
<string>CSV summary dive details</string>
</property>
<attribute name="buttonGroup">
<string notr="true">exportGroup</string>
@ -265,9 +265,19 @@
</widget>
</item>
<item>
<widget class="QRadioButton" name="exportCSVDetails">
<widget class="QRadioButton" name="exportCSV">
<property name="text">
<string>CSV dive details</string>
<string>CSV Dive computer dive profile</string>
</property>
<attribute name="buttonGroup">
<string notr="true">exportGroup</string>
</attribute>
</widget>
</item>
<item>
<widget class="QRadioButton" name="exportProfileData">
<property name="text">
<string>CSV Computed Profile Panel data</string>
</property>
<attribute name="buttonGroup">
<string notr="true">exportGroup</string>
@ -324,16 +334,6 @@
</attribute>
</widget>
</item>
<item>
<widget class="QRadioButton" name="exportProfileData">
<property name="text">
<string>Profile Data CSV</string>
</property>
<attribute name="buttonGroup">
<string notr="true">exportGroup</string>
</attribute>
</widget>
</item>
</layout>
</widget>
</item>