From 88fdf1b138afaead559456d1734eae88b4778f83 Mon Sep 17 00:00:00 2001 From: Miika Turkia Date: Tue, 7 Jan 2014 22:01:28 +0200 Subject: Show import dialog only when needed for CSV config We do not need any import dialog when importing normal XML based divelogs. With this they are imported directly after file selection dialog. However, when CSV files are detected in the import list, the configuration dialog is displayed and applied for them. (CSV files are detected by file extension.) Signed-off-by: Miika Turkia Signed-off-by: Dirk Hohndel --- qt-ui/divelogimportdialog.ui | 111 +++++++++---------------------------------- 1 file changed, 22 insertions(+), 89 deletions(-) (limited to 'qt-ui/divelogimportdialog.ui') diff --git a/qt-ui/divelogimportdialog.ui b/qt-ui/divelogimportdialog.ui index ac2315636..36f62de54 100644 --- a/qt-ui/divelogimportdialog.ui +++ b/qt-ui/divelogimportdialog.ui @@ -7,7 +7,7 @@ 0 0 515 - 440 + 370 @@ -33,7 +33,7 @@ QFrame::NoFrame - Import Dive Log File + Import CSV Dive Log Files Qt::AlignCenter @@ -45,82 +45,15 @@ 0 - - - DiveLog - - - - - 10 - 10 - 441 - 65 - - - - - 0 - 0 - - - - Import File - - - - - - - - - ... - - - - - - - CSV + CSV options - - - - 10 - 10 - 441 - 65 - - - - - 0 - 0 - - - - Import File - - - - - - - - - ... - - - - - 210 - 88 + 10 281 65 @@ -138,7 +71,7 @@ 210 - 159 + 80 281 65 @@ -165,8 +98,8 @@ - 16 - 88 + 10 + 10 185 246 @@ -183,14 +116,14 @@ - - 1 - false + + 1 + - 0 + 1 @@ -206,12 +139,12 @@ - - 1 - false + + 1 + @@ -223,14 +156,14 @@ - - 1 - false + + 1 + - 0 + 1 @@ -274,14 +207,14 @@ - - 1 - false + + 1 + - 0 + 1 -- cgit v1.2.3-70-g09d2