2
0

logbookwidget.ui 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>LogbookWidget</class>
  4. <widget class="QWidget" name="LogbookWidget">
  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>Form</string>
  15. </property>
  16. <layout class="QGridLayout" name="gridLayout">
  17. <item row="1" column="0">
  18. <widget class="QTableView" name="tableView">
  19. <property name="font">
  20. <font/>
  21. </property>
  22. <property name="styleSheet">
  23. <string notr="true"/>
  24. </property>
  25. <property name="selectionMode">
  26. <enum>QAbstractItemView::SingleSelection</enum>
  27. </property>
  28. <property name="selectionBehavior">
  29. <enum>QAbstractItemView::SelectRows</enum>
  30. </property>
  31. </widget>
  32. </item>
  33. <item row="2" column="0">
  34. <widget class="QStackedWidget" name="stackedWidget">
  35. <widget class="QWidget" name="defaultPage">
  36. <layout class="QGridLayout" name="gridLayout_2">
  37. <item row="0" column="0">
  38. <widget class="QLabel" name="flightSearchLabel">
  39. <property name="minimumSize">
  40. <size>
  41. <width>200</width>
  42. <height>0</height>
  43. </size>
  44. </property>
  45. <property name="text">
  46. <string>Search Flight</string>
  47. </property>
  48. <property name="alignment">
  49. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  50. </property>
  51. </widget>
  52. </item>
  53. <item row="0" column="1">
  54. <widget class="QLineEdit" name="flightSearchLlineEdit">
  55. <property name="toolTip">
  56. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Enter the searchterm you want to filter your flights by.&lt;/p&gt;&lt;p&gt;For dates, make sure to use the format YYYY-MM-DD&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  57. </property>
  58. <property name="whatsThis">
  59. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  60. </property>
  61. </widget>
  62. </item>
  63. <item row="1" column="0">
  64. <widget class="QLabel" name="flightSearchInLabel">
  65. <property name="minimumSize">
  66. <size>
  67. <width>200</width>
  68. <height>0</height>
  69. </size>
  70. </property>
  71. <property name="text">
  72. <string>Search by</string>
  73. </property>
  74. <property name="alignment">
  75. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  76. </property>
  77. </widget>
  78. </item>
  79. <item row="1" column="1">
  80. <widget class="QComboBox" name="flightSearchComboBox">
  81. <item>
  82. <property name="text">
  83. <string>Date of Flight</string>
  84. </property>
  85. </item>
  86. <item>
  87. <property name="text">
  88. <string>Departure Airport</string>
  89. </property>
  90. </item>
  91. <item>
  92. <property name="text">
  93. <string>Destination Airport</string>
  94. </property>
  95. </item>
  96. <item>
  97. <property name="text">
  98. <string>Aircraft Registration</string>
  99. </property>
  100. </item>
  101. <item>
  102. <property name="text">
  103. <string>Pilot Name</string>
  104. </property>
  105. </item>
  106. </widget>
  107. </item>
  108. <item row="2" column="0" colspan="2">
  109. <widget class="QLabel" name="label">
  110. <property name="text">
  111. <string>Select a Flight from the list to show or edit details.</string>
  112. </property>
  113. <property name="alignment">
  114. <set>Qt::AlignCenter</set>
  115. </property>
  116. </widget>
  117. </item>
  118. </layout>
  119. </widget>
  120. </widget>
  121. </item>
  122. <item row="0" column="0">
  123. <widget class="QComboBox" name="viewsComboBox"/>
  124. </item>
  125. </layout>
  126. <widget class="QLabel" name="spacerLabel">
  127. <property name="geometry">
  128. <rect>
  129. <x>284</x>
  130. <y>410</y>
  131. <width>200</width>
  132. <height>16</height>
  133. </rect>
  134. </property>
  135. <property name="minimumSize">
  136. <size>
  137. <width>200</width>
  138. <height>0</height>
  139. </size>
  140. </property>
  141. <property name="text">
  142. <string/>
  143. </property>
  144. <property name="alignment">
  145. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  146. </property>
  147. </widget>
  148. <action name="actionEdit_Flight">
  149. <property name="text">
  150. <string>Edit Flight</string>
  151. </property>
  152. </action>
  153. <action name="actionDelete_Flight">
  154. <property name="text">
  155. <string>Delete Flight</string>
  156. </property>
  157. </action>
  158. <action name="actionEdit_Sim">
  159. <property name="text">
  160. <string>Edit_Sim</string>
  161. </property>
  162. <property name="toolTip">
  163. <string>Edit an existing Simulator Entry</string>
  164. </property>
  165. </action>
  166. </widget>
  167. <resources/>
  168. <connections/>
  169. </ui>