newtail.ui 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>NewTail</class>
  4. <widget class="QDialog" name="NewTail">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>470</width>
  10. <height>768</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Add New Aircraft</string>
  15. </property>
  16. <layout class="QGridLayout" name="gridLayout">
  17. <item row="7" column="0">
  18. <widget class="QLabel" name="operationLabel">
  19. <property name="minimumSize">
  20. <size>
  21. <width>160</width>
  22. <height>0</height>
  23. </size>
  24. </property>
  25. <property name="text">
  26. <string>Operation</string>
  27. </property>
  28. </widget>
  29. </item>
  30. <item row="2" column="1">
  31. <widget class="QLineEdit" name="registrationLineEdit">
  32. <property name="maxLength">
  33. <number>20</number>
  34. </property>
  35. <property name="placeholderText">
  36. <string>mandatory</string>
  37. </property>
  38. </widget>
  39. </item>
  40. <item row="4" column="1">
  41. <widget class="QLineEdit" name="makeLineEdit">
  42. <property name="maxLength">
  43. <number>20</number>
  44. </property>
  45. <property name="placeholderText">
  46. <string>e.g. Boeing</string>
  47. </property>
  48. </widget>
  49. </item>
  50. <item row="6" column="0">
  51. <widget class="QLabel" name="variantLabel">
  52. <property name="minimumSize">
  53. <size>
  54. <width>160</width>
  55. <height>0</height>
  56. </size>
  57. </property>
  58. <property name="text">
  59. <string>Variant</string>
  60. </property>
  61. </widget>
  62. </item>
  63. <item row="5" column="1">
  64. <widget class="QLineEdit" name="modelLineEdit">
  65. <property name="maxLength">
  66. <number>20</number>
  67. </property>
  68. <property name="placeholderText">
  69. <string>e.g. 737</string>
  70. </property>
  71. </widget>
  72. </item>
  73. <item row="9" column="1">
  74. <widget class="QComboBox" name="ppNumberComboBox">
  75. <property name="currentText">
  76. <string>&lt;Select&gt;</string>
  77. </property>
  78. <item>
  79. <property name="text">
  80. <string>&lt;Select&gt;</string>
  81. </property>
  82. </item>
  83. <item>
  84. <property name="text">
  85. <string>Single Engine</string>
  86. </property>
  87. </item>
  88. <item>
  89. <property name="text">
  90. <string>Multi Engine</string>
  91. </property>
  92. </item>
  93. </widget>
  94. </item>
  95. <item row="10" column="0">
  96. <widget class="QLabel" name="weightLabel">
  97. <property name="minimumSize">
  98. <size>
  99. <width>160</width>
  100. <height>0</height>
  101. </size>
  102. </property>
  103. <property name="text">
  104. <string>Weight Class</string>
  105. </property>
  106. </widget>
  107. </item>
  108. <item row="10" column="1">
  109. <widget class="QComboBox" name="weightComboBox">
  110. <item>
  111. <property name="text">
  112. <string>&lt;Select&gt;</string>
  113. </property>
  114. </item>
  115. <item>
  116. <property name="text">
  117. <string>Light</string>
  118. </property>
  119. </item>
  120. <item>
  121. <property name="text">
  122. <string>Medium</string>
  123. </property>
  124. </item>
  125. <item>
  126. <property name="text">
  127. <string>Heavy</string>
  128. </property>
  129. </item>
  130. <item>
  131. <property name="text">
  132. <string>Super</string>
  133. </property>
  134. </item>
  135. </widget>
  136. </item>
  137. <item row="2" column="0">
  138. <widget class="QLabel" name="registrationLabel">
  139. <property name="minimumSize">
  140. <size>
  141. <width>160</width>
  142. <height>0</height>
  143. </size>
  144. </property>
  145. <property name="text">
  146. <string>Registration</string>
  147. </property>
  148. </widget>
  149. </item>
  150. <item row="5" column="0">
  151. <widget class="QLabel" name="modelLabel">
  152. <property name="minimumSize">
  153. <size>
  154. <width>160</width>
  155. <height>0</height>
  156. </size>
  157. </property>
  158. <property name="text">
  159. <string>Model</string>
  160. </property>
  161. </widget>
  162. </item>
  163. <item row="3" column="0">
  164. <widget class="QLabel" name="companyLabel">
  165. <property name="minimumSize">
  166. <size>
  167. <width>160</width>
  168. <height>0</height>
  169. </size>
  170. </property>
  171. <property name="text">
  172. <string>Company</string>
  173. </property>
  174. </widget>
  175. </item>
  176. <item row="1" column="0" colspan="2">
  177. <widget class="Line" name="line">
  178. <property name="orientation">
  179. <enum>Qt::Horizontal</enum>
  180. </property>
  181. </widget>
  182. </item>
  183. <item row="3" column="1">
  184. <widget class="QLineEdit" name="companyLineEdit">
  185. <property name="maxLength">
  186. <number>20</number>
  187. </property>
  188. <property name="placeholderText">
  189. <string>optional</string>
  190. </property>
  191. </widget>
  192. </item>
  193. <item row="0" column="1">
  194. <widget class="QLineEdit" name="searchLineEdit">
  195. <property name="maxLength">
  196. <number>40</number>
  197. </property>
  198. <property name="placeholderText">
  199. <string>start typing to search for aircraft types</string>
  200. </property>
  201. </widget>
  202. </item>
  203. <item row="6" column="1">
  204. <widget class="QLineEdit" name="variantLineEdit">
  205. <property name="maxLength">
  206. <number>20</number>
  207. </property>
  208. <property name="placeholderText">
  209. <string>e.g. 800</string>
  210. </property>
  211. </widget>
  212. </item>
  213. <item row="0" column="0">
  214. <widget class="QLabel" name="searchLabel">
  215. <property name="minimumSize">
  216. <size>
  217. <width>160</width>
  218. <height>0</height>
  219. </size>
  220. </property>
  221. <property name="font">
  222. <font>
  223. <weight>75</weight>
  224. <bold>true</bold>
  225. </font>
  226. </property>
  227. <property name="frameShape">
  228. <enum>QFrame::Panel</enum>
  229. </property>
  230. <property name="text">
  231. <string>Search</string>
  232. </property>
  233. </widget>
  234. </item>
  235. <item row="8" column="1">
  236. <widget class="QComboBox" name="ppTypeComboBox">
  237. <property name="currentText">
  238. <string>&lt;Select&gt;</string>
  239. </property>
  240. <item>
  241. <property name="text">
  242. <string>&lt;Select&gt;</string>
  243. </property>
  244. </item>
  245. <item>
  246. <property name="text">
  247. <string>Unpowered</string>
  248. </property>
  249. </item>
  250. <item>
  251. <property name="text">
  252. <string>Piston</string>
  253. </property>
  254. </item>
  255. <item>
  256. <property name="text">
  257. <string>Turboprop</string>
  258. </property>
  259. </item>
  260. <item>
  261. <property name="text">
  262. <string>Jet</string>
  263. </property>
  264. </item>
  265. </widget>
  266. </item>
  267. <item row="8" column="0">
  268. <widget class="QLabel" name="powerPlantLabel">
  269. <property name="minimumSize">
  270. <size>
  271. <width>160</width>
  272. <height>0</height>
  273. </size>
  274. </property>
  275. <property name="text">
  276. <string>Power Plant</string>
  277. </property>
  278. </widget>
  279. </item>
  280. <item row="4" column="0">
  281. <widget class="QLabel" name="makeLabel">
  282. <property name="minimumSize">
  283. <size>
  284. <width>160</width>
  285. <height>0</height>
  286. </size>
  287. </property>
  288. <property name="text">
  289. <string>Make</string>
  290. </property>
  291. </widget>
  292. </item>
  293. <item row="11" column="1">
  294. <widget class="QDialogButtonBox" name="buttonBox">
  295. <property name="orientation">
  296. <enum>Qt::Horizontal</enum>
  297. </property>
  298. <property name="standardButtons">
  299. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  300. </property>
  301. </widget>
  302. </item>
  303. <item row="7" column="1">
  304. <widget class="QComboBox" name="operationComboBox">
  305. <property name="editable">
  306. <bool>false</bool>
  307. </property>
  308. <property name="currentText">
  309. <string>&lt;Select&gt;</string>
  310. </property>
  311. <item>
  312. <property name="text">
  313. <string>&lt;Select&gt;</string>
  314. </property>
  315. </item>
  316. <item>
  317. <property name="text">
  318. <string>Single Pilot</string>
  319. </property>
  320. </item>
  321. <item>
  322. <property name="text">
  323. <string>Multi Pilot</string>
  324. </property>
  325. </item>
  326. </widget>
  327. </item>
  328. </layout>
  329. </widget>
  330. <tabstops>
  331. <tabstop>searchLineEdit</tabstop>
  332. <tabstop>registrationLineEdit</tabstop>
  333. <tabstop>companyLineEdit</tabstop>
  334. <tabstop>makeLineEdit</tabstop>
  335. <tabstop>modelLineEdit</tabstop>
  336. <tabstop>variantLineEdit</tabstop>
  337. <tabstop>operationComboBox</tabstop>
  338. <tabstop>ppTypeComboBox</tabstop>
  339. <tabstop>ppNumberComboBox</tabstop>
  340. <tabstop>weightComboBox</tabstop>
  341. </tabstops>
  342. <resources/>
  343. <connections>
  344. <connection>
  345. <sender>buttonBox</sender>
  346. <signal>rejected()</signal>
  347. <receiver>NewTail</receiver>
  348. <slot>reject()</slot>
  349. <hints>
  350. <hint type="sourcelabel">
  351. <x>406</x>
  352. <y>706</y>
  353. </hint>
  354. <hint type="destinationlabel">
  355. <x>286</x>
  356. <y>274</y>
  357. </hint>
  358. </hints>
  359. </connection>
  360. </connections>
  361. </ui>