mainwindow.ui 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>MainWindow</class>
  4. <widget class="QMainWindow" name="MainWindow">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>1280</width>
  10. <height>720</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>openLog v0.5</string>
  15. </property>
  16. <widget class="QWidget" name="centralwidget">
  17. <layout class="QGridLayout" name="gridLayout">
  18. <item row="6" column="0">
  19. <widget class="QPushButton" name="EasaViewButton">
  20. <property name="text">
  21. <string>View EASA FCL.050 Logbook</string>
  22. </property>
  23. </widget>
  24. </item>
  25. <item row="11" column="0">
  26. <spacer name="verticalSpacer">
  27. <property name="orientation">
  28. <enum>Qt::Vertical</enum>
  29. </property>
  30. <property name="sizeType">
  31. <enum>QSizePolicy::Fixed</enum>
  32. </property>
  33. <property name="sizeHint" stdset="0">
  34. <size>
  35. <width>20</width>
  36. <height>20</height>
  37. </size>
  38. </property>
  39. </spacer>
  40. </item>
  41. <item row="3" column="1">
  42. <widget class="QPushButton" name="editflightButton">
  43. <property name="text">
  44. <string>Edit Flight</string>
  45. </property>
  46. </widget>
  47. </item>
  48. <item row="0" column="0" colspan="2">
  49. <widget class="QTableView" name="tableView">
  50. <property name="font">
  51. <font>
  52. <family>Cantarell</family>
  53. </font>
  54. </property>
  55. <property name="selectionMode">
  56. <enum>QAbstractItemView::SingleSelection</enum>
  57. </property>
  58. <property name="selectionBehavior">
  59. <enum>QAbstractItemView::SelectRows</enum>
  60. </property>
  61. </widget>
  62. </item>
  63. <item row="9" column="0">
  64. <widget class="QComboBox" name="filterComboBox">
  65. <item>
  66. <property name="text">
  67. <string>Pilot Name</string>
  68. </property>
  69. </item>
  70. <item>
  71. <property name="text">
  72. <string>Aircraft Registration</string>
  73. </property>
  74. </item>
  75. <item>
  76. <property name="text">
  77. <string>Airline</string>
  78. </property>
  79. </item>
  80. <item>
  81. <property name="text">
  82. <string>Multi-Engine</string>
  83. </property>
  84. </item>
  85. </widget>
  86. </item>
  87. <item row="13" column="0" colspan="2">
  88. <widget class="QPushButton" name="quitButton">
  89. <property name="text">
  90. <string>Quit</string>
  91. </property>
  92. </widget>
  93. </item>
  94. <item row="3" column="0">
  95. <widget class="QPushButton" name="filterFlightsByDateButton">
  96. <property name="text">
  97. <string>Filter Flights by Date</string>
  98. </property>
  99. </widget>
  100. </item>
  101. <item row="9" column="1">
  102. <widget class="QPushButton" name="ShowAllButton">
  103. <property name="text">
  104. <string>Show All Flights</string>
  105. </property>
  106. </widget>
  107. </item>
  108. <item row="8" column="0">
  109. <widget class="QLabel" name="filterFlightsByLabel">
  110. <property name="text">
  111. <string>Filter Flights by</string>
  112. </property>
  113. </widget>
  114. </item>
  115. <item row="6" column="1">
  116. <widget class="QPushButton" name="deleteFlightPushButton">
  117. <property name="text">
  118. <string>Delete Flight</string>
  119. </property>
  120. </widget>
  121. </item>
  122. <item row="2" column="0">
  123. <widget class="QDateEdit" name="FilterDateEdit">
  124. <property name="dateTime">
  125. <datetime>
  126. <hour>23</hour>
  127. <minute>0</minute>
  128. <second>0</second>
  129. <year>2019</year>
  130. <month>12</month>
  131. <day>21</day>
  132. </datetime>
  133. </property>
  134. <property name="displayFormat">
  135. <string>yyyy-MM-dd</string>
  136. </property>
  137. <property name="calendarPopup">
  138. <bool>true</bool>
  139. </property>
  140. <property name="timeSpec">
  141. <enum>Qt::UTC</enum>
  142. </property>
  143. </widget>
  144. </item>
  145. <item row="2" column="1">
  146. <widget class="QPushButton" name="newflightButton">
  147. <property name="text">
  148. <string>New Flight</string>
  149. </property>
  150. </widget>
  151. </item>
  152. </layout>
  153. </widget>
  154. <widget class="QMenuBar" name="menubar">
  155. <property name="geometry">
  156. <rect>
  157. <x>0</x>
  158. <y>0</y>
  159. <width>1280</width>
  160. <height>25</height>
  161. </rect>
  162. </property>
  163. <widget class="QMenu" name="menuFile">
  164. <property name="title">
  165. <string>File</string>
  166. </property>
  167. <addaction name="actionNew_Flight"/>
  168. <addaction name="separator"/>
  169. <addaction name="actionQuit"/>
  170. </widget>
  171. <addaction name="menuFile"/>
  172. </widget>
  173. <widget class="QStatusBar" name="statusbar"/>
  174. <action name="actionNew_Flight">
  175. <property name="text">
  176. <string>New Flight</string>
  177. </property>
  178. <property name="shortcut">
  179. <string>Ctrl+N</string>
  180. </property>
  181. </action>
  182. <action name="actionQuit">
  183. <property name="text">
  184. <string>Quit</string>
  185. </property>
  186. <property name="shortcut">
  187. <string>Ctrl+Q</string>
  188. </property>
  189. </action>
  190. </widget>
  191. <resources/>
  192. <connections/>
  193. </ui>