summaryrefslogtreecommitdiffstats
path: root/Plugins/CsvImport/CsvImportOptions.ui
blob: f0f2728af9279b7c19a9ef6b2ebf6f54c0614387 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>csvImportOptions</class>
 <widget class="QWidget" name="csvImportOptions">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>365</width>
    <height>106</height>
   </rect>
  </property>
  <property name="windowTitle">
   <string notr="true">Form</string>
  </property>
  <layout class="QGridLayout" name="gridLayout">
   <item row="1" column="1">
    <widget class="QComboBox" name="separatorCombo">
     <property name="cfg" stdset="0">
      <string notr="true">CsvImport.Separator</string>
     </property>
     <item>
      <property name="text">
       <string>, (comma)</string>
      </property>
     </item>
     <item>
      <property name="text">
       <string>; (semicolon)</string>
      </property>
     </item>
     <item>
      <property name="text">
       <string>\t (tab)</string>
      </property>
     </item>
     <item>
      <property name="text">
       <string>  (whitespace)</string>
      </property>
     </item>
     <item>
      <property name="text">
       <string>Custom:</string>
      </property>
     </item>
    </widget>
   </item>
   <item row="0" column="0" colspan="3">
    <widget class="QCheckBox" name="firstRowAsColumnsCheck">
     <property name="toolTip">
      <string>&lt;p&gt;Enable this if the first data line in your CSV file represents column names. You don't want column names to be imported into the table as a regular data.&lt;/p&gt;</string>
     </property>
     <property name="text">
      <string>First line represents CSV column names</string>
     </property>
     <property name="cfg" stdset="0">
      <string notr="true">CsvImport.FirstRowAsColumns</string>
     </property>
    </widget>
   </item>
   <item row="1" column="0">
    <widget class="QLabel" name="separatorLabel">
     <property name="text">
      <string>Field separator:</string>
     </property>
    </widget>
   </item>
   <item row="1" column="2">
    <widget class="QLineEdit" name="separatorEdit">
     <property name="maximumSize">
      <size>
       <width>30</width>
       <height>16777215</height>
      </size>
     </property>
     <property name="cfg" stdset="0">
      <string notr="true">CsvImport.CustomSeparator</string>
     </property>
    </widget>
   </item>
   <item row="2" column="0">
    <widget class="QCheckBox" name="nullCheck">
     <property name="toolTip">
      <string>If enabled, then text value provided on the right will be interpreted as NULL</string>
     </property>
     <property name="text">
      <string>NULL values:</string>
     </property>
     <property name="cfg" stdset="0">
      <string notr="true">CsvImport.NullValues</string>
     </property>
    </widget>
   </item>
   <item row="2" column="1" colspan="2">
    <widget class="QLineEdit" name="nullEdit">
     <property name="toolTip">
      <string>If your CSV data contains null values, define how are they represented in the CSV.</string>
     </property>
     <property name="cfg" stdset="0">
      <string notr="true">CsvImport.NullValueString</string>
     </property>
    </widget>
   </item>
  </layout>
 </widget>
 <resources/>
 <connections/>
</ui>