From 4c49670cdba403090067d8b92940b577d16ba550 Mon Sep 17 00:00:00 2001 From: Miika Turkia Date: Wed, 16 Oct 2013 22:05:19 +0300 Subject: GUI for CSV import This patch implements GUI for importing CSV log files. One is able to configure what columns contain time, depth and temperature fields. Pre-configured log applications currently included are ADP log viewer and XP5. (Both of these use actually tab as separator, so the field separator currently hard-coded.) [Dirk Hohndel: minor fixes] Signed-off-by: Miika Turkia Signed-off-by: Dirk Hohndel --- qt-ui/csvimportdialog.ui | 253 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 253 insertions(+) create mode 100644 qt-ui/csvimportdialog.ui (limited to 'qt-ui/csvimportdialog.ui') diff --git a/qt-ui/csvimportdialog.ui b/qt-ui/csvimportdialog.ui new file mode 100644 index 000000000..ec5002baf --- /dev/null +++ b/qt-ui/csvimportdialog.ui @@ -0,0 +1,253 @@ + + + CSVImportDialog + + + + 0 + 0 + 400 + 300 + + + + Dialog + + + + + 30 + 240 + 341 + 32 + + + + Qt::Horizontal + + + QDialogButtonBox::Cancel|QDialogButtonBox::Ok + + + + + + 40 + 10 + 331 + 71 + + + + Import File (CSV) + + + + + 0 + 30 + 291 + 29 + + + + + + + 300 + 30 + 25 + 27 + + + + ... + + + + + + + 200 + 80 + 121 + 61 + + + + Field Separator + + + + + 0 + 30 + 111 + 29 + + + + + + + + 40 + 80 + 151 + 151 + + + + Field Configuration + + + + + 60 + 30 + 56 + 29 + + + + 0 + + + 0 + + + + + + 60 + 70 + 56 + 29 + + + + 0 + + + 1 + + + + + + 60 + 110 + 56 + 29 + + + + 0 + + + 15 + + + + + + 0 + 30 + 41 + 19 + + + + Time + + + + + + 0 + 70 + 51 + 19 + + + + Depth + + + + + + 0 + 110 + 41 + 19 + + + + Temp + + + + + + + 200 + 159 + 181 + 61 + + + + Pre-configured imports + + + + + 0 + 30 + 161 + 29 + + + + -1 + + + + + + + + buttonBox + accepted() + CSVImportDialog + accept() + + + 248 + 254 + + + 157 + 274 + + + + + buttonBox + rejected() + CSVImportDialog + reject() + + + 316 + 260 + + + 286 + 274 + + + + + -- cgit v1.2.3-70-g09d2