mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Hooking up av1.xslt for log import
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
This commit is contained in:
parent
25ce819a9a
commit
8766054581
4 changed files with 7 additions and 2 deletions
|
@ -23,6 +23,7 @@ const DiveLogImportDialog::CSVAppConfig DiveLogImportDialog::CSVApps[CSVAPPS] =
|
|||
{ "SensusCSV", 9, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, "," },
|
||||
{ "Seabear CSV", 0, 1, 5, -1, -1, -1, -1, -1, 2, 3, 4, 6, -1, ";" },
|
||||
{ "SubsurfaceCSV", -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, "Tab" },
|
||||
{ "AV1", 0, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, " " },
|
||||
{ NULL, SILENCE_WARNING }
|
||||
};
|
||||
|
||||
|
@ -34,7 +35,8 @@ enum Known {
|
|||
XP5,
|
||||
SENSUS,
|
||||
SEABEAR,
|
||||
SUBSURFACE
|
||||
SUBSURFACE,
|
||||
AV1
|
||||
};
|
||||
|
||||
ColumnNameProvider::ColumnNameProvider(QObject *parent) : QAbstractListModel(parent)
|
||||
|
@ -348,6 +350,7 @@ DiveLogImportDialog::DiveLogImportDialog(QStringList fn, QWidget *parent) : QDia
|
|||
specialCSV << SENSUS;
|
||||
specialCSV << SUBSURFACE;
|
||||
specialCSV << DL7;
|
||||
specialCSV << AV1;
|
||||
|
||||
for (int i = 0; !CSVApps[i].name.isNull(); ++i)
|
||||
ui->knownImports->addItem(CSVApps[i].name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue