diff options
author | Miika Turkia <miika.turkia@gmail.com> | 2014-11-25 19:47:04 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-11-25 13:19:49 -0800 |
commit | 1b74947bf56a2ef3b38470044d991a75ed0c5e30 (patch) | |
tree | a4b63ce2d76ee024870d5b1dc8d6039f7b391702 /qt-ui/divelogimportdialog.ui | |
parent | 3b3d8949f7b3aede87fd779b314c6604020cbd16 (diff) | |
download | subsurface-1b74947bf56a2ef3b38470044d991a75ed0c5e30.tar.gz |
Allow user to select date format on manual CSV import
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/divelogimportdialog.ui')
-rw-r--r-- | qt-ui/divelogimportdialog.ui | 72 |
1 files changed, 47 insertions, 25 deletions
diff --git a/qt-ui/divelogimportdialog.ui b/qt-ui/divelogimportdialog.ui index 97b698901..accf3fe2a 100644 --- a/qt-ui/divelogimportdialog.ui +++ b/qt-ui/divelogimportdialog.ui @@ -296,6 +296,53 @@ <string>Manual dives</string> </attribute> <layout class="QGridLayout" name="gridLayout_4"> + <item row="0" column="1"> + <widget class="QGroupBox" name="groupBox_5"> + <property name="title"> + <string>Field separator</string> + </property> + <layout class="QHBoxLayout" name="horizontalLayout"> + <item> + <widget class="QComboBox" name="ManualSeparator"/> + </item> + </layout> + </widget> + </item> + <item row="2" column="1"> + <widget class="QGroupBox" name="groupBox_8"> + <property name="toolTip"> + <string>Choose day, month and year order for date format. The field separator can be any of the characters .-/.</string> + </property> + <property name="title"> + <string>Date format</string> + </property> + <widget class="QComboBox" name="DateFormat"> + <property name="geometry"> + <rect> + <x>20</x> + <y>40</y> + <width>131</width> + <height>27</height> + </rect> + </property> + <item> + <property name="text"> + <string>dd.mm.yyyy</string> + </property> + </item> + <item> + <property name="text"> + <string>mm/dd/yyyy</string> + </property> + </item> + <item> + <property name="text"> + <string>yyyy-mm-dd</string> + </property> + </item> + </widget> + </widget> + </item> <item row="1" column="1"> <widget class="QGroupBox" name="groupBox_6"> <property name="title"> @@ -544,31 +591,6 @@ </layout> </widget> </item> - <item row="0" column="1"> - <widget class="QGroupBox" name="groupBox_5"> - <property name="title"> - <string>Field separator</string> - </property> - <layout class="QHBoxLayout" name="horizontalLayout"> - <item> - <widget class="QComboBox" name="ManualSeparator"/> - </item> - </layout> - </widget> - </item> - <item row="2" column="1"> - <spacer name="verticalSpacer_2"> - <property name="orientation"> - <enum>Qt::Vertical</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>20</width> - <height>40</height> - </size> - </property> - </spacer> - </item> </layout> </widget> </widget> |