editflight.ui 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>EditFlight</class>
  4. <widget class="QDialog" name="EditFlight">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>695</width>
  10. <height>395</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Edit Flight</string>
  15. </property>
  16. <layout class="QGridLayout" name="gridLayout">
  17. <item row="2" column="3" colspan="2">
  18. <widget class="QLabel" name="tofbLabel">
  19. <property name="text">
  20. <string>Time</string>
  21. </property>
  22. </widget>
  23. </item>
  24. <item row="4" column="3" colspan="2">
  25. <widget class="QLabel" name="tonbLabel">
  26. <property name="text">
  27. <string>Time</string>
  28. </property>
  29. </widget>
  30. </item>
  31. <item row="6" column="0" colspan="2">
  32. <widget class="QLabel" name="picLabel">
  33. <property name="text">
  34. <string>Name PIC</string>
  35. </property>
  36. </widget>
  37. </item>
  38. <item row="6" column="3">
  39. <widget class="QLabel" name="searchLabelpic">
  40. <property name="text">
  41. <string>Search</string>
  42. </property>
  43. </widget>
  44. </item>
  45. <item row="4" column="9">
  46. <widget class="QComboBox" name="desTZ">
  47. <item>
  48. <property name="text">
  49. <string>UTC</string>
  50. </property>
  51. </item>
  52. </widget>
  53. </item>
  54. <item row="3" column="3" colspan="2">
  55. <widget class="QLabel" name="placeLabel2">
  56. <property name="text">
  57. <string>Place</string>
  58. </property>
  59. </widget>
  60. </item>
  61. <item row="4" column="10">
  62. <spacer name="horizontalSpacer_5">
  63. <property name="orientation">
  64. <enum>Qt::Horizontal</enum>
  65. </property>
  66. <property name="sizeHint" stdset="0">
  67. <size>
  68. <width>288</width>
  69. <height>20</height>
  70. </size>
  71. </property>
  72. </spacer>
  73. </item>
  74. <item row="3" column="0" colspan="3">
  75. <widget class="QLabel" name="destLabel">
  76. <property name="text">
  77. <string>Destination</string>
  78. </property>
  79. </widget>
  80. </item>
  81. <item row="2" column="9">
  82. <widget class="QComboBox" name="deptTZ">
  83. <item>
  84. <property name="text">
  85. <string>UTC</string>
  86. </property>
  87. </item>
  88. </widget>
  89. </item>
  90. <item row="2" column="10">
  91. <spacer name="horizontalSpacer_6">
  92. <property name="orientation">
  93. <enum>Qt::Horizontal</enum>
  94. </property>
  95. <property name="sizeHint" stdset="0">
  96. <size>
  97. <width>288</width>
  98. <height>20</height>
  99. </size>
  100. </property>
  101. </spacer>
  102. </item>
  103. <item row="5" column="0">
  104. <widget class="QLabel" name="acftLabel">
  105. <property name="text">
  106. <string>Aircraft</string>
  107. </property>
  108. </widget>
  109. </item>
  110. <item row="1" column="3" colspan="2">
  111. <widget class="QLabel" name="placeLabel1">
  112. <property name="text">
  113. <string>Place</string>
  114. </property>
  115. </widget>
  116. </item>
  117. <item row="7" column="7" colspan="4">
  118. <widget class="QDialogButtonBox" name="buttonBox">
  119. <property name="orientation">
  120. <enum>Qt::Horizontal</enum>
  121. </property>
  122. <property name="standardButtons">
  123. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  124. </property>
  125. </widget>
  126. </item>
  127. <item row="3" column="9" colspan="2">
  128. <widget class="QLineEdit" name="destHintlineEdit">
  129. <property name="maxLength">
  130. <number>0</number>
  131. </property>
  132. <property name="readOnly">
  133. <bool>true</bool>
  134. </property>
  135. <property name="placeholderText">
  136. <string>Frankfurt International Airport</string>
  137. </property>
  138. </widget>
  139. </item>
  140. <item row="5" column="3">
  141. <widget class="QLabel" name="searchLabelacft">
  142. <property name="text">
  143. <string>Search</string>
  144. </property>
  145. </widget>
  146. </item>
  147. <item row="7" column="5" colspan="2">
  148. <widget class="QLineEdit" name="verifyEdit"/>
  149. </item>
  150. <item row="1" column="0" colspan="2">
  151. <widget class="QLabel" name="deptLabel">
  152. <property name="text">
  153. <string>Departure</string>
  154. </property>
  155. </widget>
  156. </item>
  157. <item row="5" column="8" colspan="3">
  158. <widget class="QLineEdit" name="acftHintLineEdit">
  159. <property name="readOnly">
  160. <bool>true</bool>
  161. </property>
  162. <property name="placeholderText">
  163. <string>Boeing 737-800</string>
  164. </property>
  165. </widget>
  166. </item>
  167. <item row="5" column="5" colspan="2">
  168. <widget class="QLineEdit" name="newAcft">
  169. <property name="placeholderText">
  170. <string>D-LMAO</string>
  171. </property>
  172. </widget>
  173. </item>
  174. <item row="3" column="5" colspan="3">
  175. <widget class="QLineEdit" name="newDest">
  176. <property name="toolTip">
  177. <string>Enter the ICAO 4-letter Identifier of the Airport</string>
  178. </property>
  179. <property name="inputMethodHints">
  180. <set>Qt::ImhNone</set>
  181. </property>
  182. <property name="maxLength">
  183. <number>4</number>
  184. </property>
  185. <property name="placeholderText">
  186. <string>EDDF</string>
  187. </property>
  188. </widget>
  189. </item>
  190. <item row="7" column="0" colspan="2">
  191. <widget class="QPushButton" name="verifyButton">
  192. <property name="text">
  193. <string>Verify</string>
  194. </property>
  195. </widget>
  196. </item>
  197. <item row="0" column="0" colspan="3">
  198. <widget class="QLabel" name="doftLabel">
  199. <property name="text">
  200. <string>Date of Flight</string>
  201. </property>
  202. </widget>
  203. </item>
  204. <item row="6" column="5" colspan="2">
  205. <widget class="QLineEdit" name="newPic">
  206. <property name="placeholderText">
  207. <string>self</string>
  208. </property>
  209. </widget>
  210. </item>
  211. <item row="1" column="5" colspan="3">
  212. <widget class="QLineEdit" name="newDept">
  213. <property name="toolTip">
  214. <string>Enter the ICAO 4-letter Identifier of the Airport</string>
  215. </property>
  216. <property name="inputMethodHints">
  217. <set>Qt::ImhNone</set>
  218. </property>
  219. <property name="maxLength">
  220. <number>4</number>
  221. </property>
  222. <property name="placeholderText">
  223. <string>KJFK</string>
  224. </property>
  225. </widget>
  226. </item>
  227. <item row="1" column="9" colspan="2">
  228. <widget class="QLineEdit" name="deptHintlineEdit">
  229. <property name="maxLength">
  230. <number>0</number>
  231. </property>
  232. <property name="readOnly">
  233. <bool>true</bool>
  234. </property>
  235. <property name="placeholderText">
  236. <string>John F. Kennedy Intl. Airport</string>
  237. </property>
  238. </widget>
  239. </item>
  240. <item row="6" column="8" colspan="3">
  241. <widget class="QLineEdit" name="picHintLineEdit">
  242. <property name="readOnly">
  243. <bool>true</bool>
  244. </property>
  245. <property name="placeholderText">
  246. <string>Sullenberger, C.</string>
  247. </property>
  248. </widget>
  249. </item>
  250. <item row="0" column="4" colspan="3">
  251. <widget class="QDateEdit" name="newDoft">
  252. <property name="dateTime">
  253. <datetime>
  254. <hour>23</hour>
  255. <minute>0</minute>
  256. <second>0</second>
  257. <year>2019</year>
  258. <month>12</month>
  259. <day>24</day>
  260. </datetime>
  261. </property>
  262. <property name="displayFormat">
  263. <string>yyyy/MM/dd</string>
  264. </property>
  265. <property name="calendarPopup">
  266. <bool>true</bool>
  267. </property>
  268. <property name="timeSpec">
  269. <enum>Qt::UTC</enum>
  270. </property>
  271. </widget>
  272. </item>
  273. <item row="2" column="5">
  274. <widget class="QLineEdit" name="newTofb">
  275. <property name="maxLength">
  276. <number>5</number>
  277. </property>
  278. </widget>
  279. </item>
  280. <item row="4" column="5">
  281. <widget class="QLineEdit" name="newTonb"/>
  282. </item>
  283. <item row="0" column="9">
  284. <widget class="QLineEdit" name="dateHintLineEdit">
  285. <property name="readOnly">
  286. <bool>true</bool>
  287. </property>
  288. <property name="placeholderText">
  289. <string>YYYY/MM/DD</string>
  290. </property>
  291. </widget>
  292. </item>
  293. </layout>
  294. </widget>
  295. <tabstops>
  296. <tabstop>newDoft</tabstop>
  297. <tabstop>newDept</tabstop>
  298. <tabstop>newTofb</tabstop>
  299. <tabstop>newDest</tabstop>
  300. <tabstop>newTonb</tabstop>
  301. <tabstop>newAcft</tabstop>
  302. <tabstop>newPic</tabstop>
  303. <tabstop>verifyEdit</tabstop>
  304. <tabstop>deptHintlineEdit</tabstop>
  305. <tabstop>deptTZ</tabstop>
  306. <tabstop>destHintlineEdit</tabstop>
  307. <tabstop>desTZ</tabstop>
  308. <tabstop>acftHintLineEdit</tabstop>
  309. <tabstop>picHintLineEdit</tabstop>
  310. <tabstop>verifyButton</tabstop>
  311. </tabstops>
  312. <resources/>
  313. <connections>
  314. <connection>
  315. <sender>buttonBox</sender>
  316. <signal>accepted()</signal>
  317. <receiver>EditFlight</receiver>
  318. <slot>accept()</slot>
  319. <hints>
  320. <hint type="sourcelabel">
  321. <x>248</x>
  322. <y>254</y>
  323. </hint>
  324. <hint type="destinationlabel">
  325. <x>157</x>
  326. <y>274</y>
  327. </hint>
  328. </hints>
  329. </connection>
  330. <connection>
  331. <sender>buttonBox</sender>
  332. <signal>rejected()</signal>
  333. <receiver>EditFlight</receiver>
  334. <slot>reject()</slot>
  335. <hints>
  336. <hint type="sourcelabel">
  337. <x>316</x>
  338. <y>260</y>
  339. </hint>
  340. <hint type="destinationlabel">
  341. <x>286</x>
  342. <y>274</y>
  343. </hint>
  344. </hints>
  345. </connection>
  346. </connections>
  347. </ui>