|  | @@ -6,7 +6,7 @@
 | 
	
		
			
				|  |  |     <rect>
 | 
	
		
			
				|  |  |      <x>0</x>
 | 
	
		
			
				|  |  |      <y>0</y>
 | 
	
		
			
				|  |  | -    <width>640</width>
 | 
	
		
			
				|  |  | +    <width>1005</width>
 | 
	
		
			
				|  |  |      <height>480</height>
 | 
	
		
			
				|  |  |     </rect>
 | 
	
		
			
				|  |  |    </property>
 | 
	
	
		
			
				|  | @@ -24,44 +24,49 @@
 | 
	
		
			
				|  |  |         <string>Database</string>
 | 
	
		
			
				|  |  |        </attribute>
 | 
	
		
			
				|  |  |        <layout class="QGridLayout" name="gridLayout_2">
 | 
	
		
			
				|  |  | -       <item row="0" column="0">
 | 
	
		
			
				|  |  | -        <widget class="QPushButton" name="resetDatabasePushButton">
 | 
	
		
			
				|  |  | +       <item row="3" column="3">
 | 
	
		
			
				|  |  | +        <widget class="QLineEdit" name="importCsvLineEdit">
 | 
	
		
			
				|  |  |           <property name="minimumSize">
 | 
	
		
			
				|  |  |            <size>
 | 
	
		
			
				|  |  | -           <width>220</width>
 | 
	
		
			
				|  |  | +           <width>110</width>
 | 
	
		
			
				|  |  |             <height>0</height>
 | 
	
		
			
				|  |  |            </size>
 | 
	
		
			
				|  |  |           </property>
 | 
	
		
			
				|  |  | -         <property name="text">
 | 
	
		
			
				|  |  | -          <string>Reset Database</string>
 | 
	
		
			
				|  |  | +         <property name="placeholderText">
 | 
	
		
			
				|  |  | +          <string>/path/to/file.csv</string>
 | 
	
		
			
				|  |  |           </property>
 | 
	
		
			
				|  |  |          </widget>
 | 
	
		
			
				|  |  |         </item>
 | 
	
		
			
				|  |  | -       <item row="3" column="1" colspan="2">
 | 
	
		
			
				|  |  | -        <widget class="QComboBox" name="tableComboBox">
 | 
	
		
			
				|  |  | +       <item row="3" column="4">
 | 
	
		
			
				|  |  | +        <widget class="QPushButton" name="selectCsvPushButton">
 | 
	
		
			
				|  |  |           <property name="minimumSize">
 | 
	
		
			
				|  |  |            <size>
 | 
	
		
			
				|  |  |             <width>110</width>
 | 
	
		
			
				|  |  |             <height>0</height>
 | 
	
		
			
				|  |  |            </size>
 | 
	
		
			
				|  |  |           </property>
 | 
	
		
			
				|  |  | -         <item>
 | 
	
		
			
				|  |  | -          <property name="text">
 | 
	
		
			
				|  |  | -           <string>Select Table</string>
 | 
	
		
			
				|  |  | -          </property>
 | 
	
		
			
				|  |  | -         </item>
 | 
	
		
			
				|  |  | +         <property name="text">
 | 
	
		
			
				|  |  | +          <string>Select File</string>
 | 
	
		
			
				|  |  | +         </property>
 | 
	
		
			
				|  |  |          </widget>
 | 
	
		
			
				|  |  |         </item>
 | 
	
		
			
				|  |  | -       <item row="3" column="0">
 | 
	
		
			
				|  |  | -        <widget class="QPushButton" name="importCsvPushButton">
 | 
	
		
			
				|  |  | +       <item row="0" column="0">
 | 
	
		
			
				|  |  | +        <widget class="QPushButton" name="resetDatabasePushButton">
 | 
	
		
			
				|  |  |           <property name="minimumSize">
 | 
	
		
			
				|  |  |            <size>
 | 
	
		
			
				|  |  | -           <width>110</width>
 | 
	
		
			
				|  |  | +           <width>220</width>
 | 
	
		
			
				|  |  |             <height>0</height>
 | 
	
		
			
				|  |  |            </size>
 | 
	
		
			
				|  |  |           </property>
 | 
	
		
			
				|  |  |           <property name="text">
 | 
	
		
			
				|  |  | -          <string>Import CSV</string>
 | 
	
		
			
				|  |  | +          <string>Reset Database</string>
 | 
	
		
			
				|  |  | +         </property>
 | 
	
		
			
				|  |  | +        </widget>
 | 
	
		
			
				|  |  | +       </item>
 | 
	
		
			
				|  |  | +       <item row="2" column="0">
 | 
	
		
			
				|  |  | +        <widget class="QPushButton" name="fillUserDataPushButton">
 | 
	
		
			
				|  |  | +         <property name="text">
 | 
	
		
			
				|  |  | +          <string>Fill User Table with test data</string>
 | 
	
		
			
				|  |  |           </property>
 | 
	
		
			
				|  |  |          </widget>
 | 
	
		
			
				|  |  |         </item>
 | 
	
	
		
			
				|  | @@ -78,21 +83,37 @@
 | 
	
		
			
				|  |  |           </property>
 | 
	
		
			
				|  |  |          </widget>
 | 
	
		
			
				|  |  |         </item>
 | 
	
		
			
				|  |  | -       <item row="3" column="3">
 | 
	
		
			
				|  |  | -        <widget class="QLineEdit" name="importCsvLineEdit">
 | 
	
		
			
				|  |  | +       <item row="0" column="3">
 | 
	
		
			
				|  |  | +        <widget class="QLabel" name="label">
 | 
	
		
			
				|  |  | +         <property name="text">
 | 
	
		
			
				|  |  | +          <string>Backup current database (if exists) and create a new one from scratch.</string>
 | 
	
		
			
				|  |  | +         </property>
 | 
	
		
			
				|  |  | +        </widget>
 | 
	
		
			
				|  |  | +       </item>
 | 
	
		
			
				|  |  | +       <item row="1" column="3">
 | 
	
		
			
				|  |  | +        <widget class="QLabel" name="label_2">
 | 
	
		
			
				|  |  | +         <property name="text">
 | 
	
		
			
				|  |  | +          <string>Keep current database but delete entries in pilots, aircraft and flights</string>
 | 
	
		
			
				|  |  | +         </property>
 | 
	
		
			
				|  |  | +        </widget>
 | 
	
		
			
				|  |  | +       </item>
 | 
	
		
			
				|  |  | +       <item row="3" column="1" colspan="2">
 | 
	
		
			
				|  |  | +        <widget class="QComboBox" name="tableComboBox">
 | 
	
		
			
				|  |  |           <property name="minimumSize">
 | 
	
		
			
				|  |  |            <size>
 | 
	
		
			
				|  |  |             <width>110</width>
 | 
	
		
			
				|  |  |             <height>0</height>
 | 
	
		
			
				|  |  |            </size>
 | 
	
		
			
				|  |  |           </property>
 | 
	
		
			
				|  |  | -         <property name="placeholderText">
 | 
	
		
			
				|  |  | -          <string>/path/to/file.csv</string>
 | 
	
		
			
				|  |  | -         </property>
 | 
	
		
			
				|  |  | +         <item>
 | 
	
		
			
				|  |  | +          <property name="text">
 | 
	
		
			
				|  |  | +           <string>Select Table</string>
 | 
	
		
			
				|  |  | +          </property>
 | 
	
		
			
				|  |  | +         </item>
 | 
	
		
			
				|  |  |          </widget>
 | 
	
		
			
				|  |  |         </item>
 | 
	
		
			
				|  |  | -       <item row="3" column="4">
 | 
	
		
			
				|  |  | -        <widget class="QPushButton" name="selectCsvPushButton">
 | 
	
		
			
				|  |  | +       <item row="3" column="0">
 | 
	
		
			
				|  |  | +        <widget class="QPushButton" name="importCsvPushButton">
 | 
	
		
			
				|  |  |           <property name="minimumSize">
 | 
	
		
			
				|  |  |            <size>
 | 
	
		
			
				|  |  |             <width>110</width>
 | 
	
	
		
			
				|  | @@ -100,37 +121,26 @@
 | 
	
		
			
				|  |  |            </size>
 | 
	
		
			
				|  |  |           </property>
 | 
	
		
			
				|  |  |           <property name="text">
 | 
	
		
			
				|  |  | -          <string>Select File</string>
 | 
	
		
			
				|  |  | -         </property>
 | 
	
		
			
				|  |  | -        </widget>
 | 
	
		
			
				|  |  | -       </item>
 | 
	
		
			
				|  |  | -       <item row="2" column="0">
 | 
	
		
			
				|  |  | -        <widget class="QPushButton" name="fillUserDataPushButton">
 | 
	
		
			
				|  |  | -         <property name="text">
 | 
	
		
			
				|  |  | -          <string>Fill User Table with test data</string>
 | 
	
		
			
				|  |  | +          <string>Import CSV</string>
 | 
	
		
			
				|  |  |           </property>
 | 
	
		
			
				|  |  |          </widget>
 | 
	
		
			
				|  |  |         </item>
 | 
	
		
			
				|  |  | -       <item row="0" column="3">
 | 
	
		
			
				|  |  | -        <widget class="QLabel" name="label">
 | 
	
		
			
				|  |  | +       <item row="2" column="3">
 | 
	
		
			
				|  |  | +        <widget class="QLabel" name="label_3">
 | 
	
		
			
				|  |  |           <property name="text">
 | 
	
		
			
				|  |  | -          <string>Backup current database (if exists) and create a new one from scratch.</string>
 | 
	
		
			
				|  |  | +          <string>Fill a new database with sample entries</string>
 | 
	
		
			
				|  |  |           </property>
 | 
	
		
			
				|  |  |          </widget>
 | 
	
		
			
				|  |  |         </item>
 | 
	
		
			
				|  |  | -       <item row="1" column="3">
 | 
	
		
			
				|  |  | -        <widget class="QLabel" name="label_2">
 | 
	
		
			
				|  |  | +       <item row="4" column="0">
 | 
	
		
			
				|  |  | +        <widget class="QPushButton" name="debugPushButton">
 | 
	
		
			
				|  |  |           <property name="text">
 | 
	
		
			
				|  |  | -          <string>Keep current database but delete entries in pilots, aircraft and flights</string>
 | 
	
		
			
				|  |  | +          <string>Do Debug Stuff!</string>
 | 
	
		
			
				|  |  |           </property>
 | 
	
		
			
				|  |  |          </widget>
 | 
	
		
			
				|  |  |         </item>
 | 
	
		
			
				|  |  | -       <item row="2" column="3">
 | 
	
		
			
				|  |  | -        <widget class="QLabel" name="label_3">
 | 
	
		
			
				|  |  | -         <property name="text">
 | 
	
		
			
				|  |  | -          <string>Fill a new database with sample entries</string>
 | 
	
		
			
				|  |  | -         </property>
 | 
	
		
			
				|  |  | -        </widget>
 | 
	
		
			
				|  |  | +       <item row="4" column="3">
 | 
	
		
			
				|  |  | +        <widget class="QLineEdit" name="debugLineEdit"/>
 | 
	
		
			
				|  |  |         </item>
 | 
	
		
			
				|  |  |        </layout>
 | 
	
		
			
				|  |  |       </widget>
 |