mainwindow.ui 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245
  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>720</width>
  10. <height>375</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>QGears Launcher</string>
  15. </property>
  16. <widget class="QWidget" name="centralWidget">
  17. <layout class="QVBoxLayout" name="verticalLayout">
  18. <item>
  19. <widget class="QTabWidget" name="tabWidget">
  20. <property name="currentIndex">
  21. <number>1</number>
  22. </property>
  23. <widget class="QWidget" name="tab">
  24. <attribute name="title">
  25. <string>Q-Gears Config</string>
  26. </attribute>
  27. <layout class="QVBoxLayout" name="verticalLayout_2">
  28. <item>
  29. <layout class="QHBoxLayout" name="horizontalLayout">
  30. <item>
  31. <widget class="QLabel" name="label_2">
  32. <property name="text">
  33. <string>QGears Path</string>
  34. </property>
  35. </widget>
  36. </item>
  37. <item>
  38. <widget class="QLineEdit" name="lineQGearsExe"/>
  39. </item>
  40. <item>
  41. <widget class="QPushButton" name="btnQGearsExe">
  42. <property name="sizePolicy">
  43. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  44. <horstretch>0</horstretch>
  45. <verstretch>0</verstretch>
  46. </sizepolicy>
  47. </property>
  48. <property name="maximumSize">
  49. <size>
  50. <width>24</width>
  51. <height>24</height>
  52. </size>
  53. </property>
  54. <property name="text">
  55. <string>...</string>
  56. </property>
  57. </widget>
  58. </item>
  59. </layout>
  60. </item>
  61. <item>
  62. <layout class="QHBoxLayout" name="horizontalLayout_2">
  63. <item>
  64. <widget class="QLabel" name="label">
  65. <property name="text">
  66. <string>Config Directory</string>
  67. </property>
  68. </widget>
  69. </item>
  70. <item>
  71. <widget class="QLineEdit" name="lineConfigDir"/>
  72. </item>
  73. <item>
  74. <widget class="QPushButton" name="btnConfigDir">
  75. <property name="sizePolicy">
  76. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  77. <horstretch>0</horstretch>
  78. <verstretch>0</verstretch>
  79. </sizepolicy>
  80. </property>
  81. <property name="maximumSize">
  82. <size>
  83. <width>24</width>
  84. <height>24</height>
  85. </size>
  86. </property>
  87. <property name="text">
  88. <string>...</string>
  89. </property>
  90. </widget>
  91. </item>
  92. </layout>
  93. </item>
  94. <item>
  95. <widget class="QPushButton" name="btnLaunch">
  96. <property name="text">
  97. <string>Run Q-Gears</string>
  98. </property>
  99. </widget>
  100. </item>
  101. </layout>
  102. </widget>
  103. <widget class="QWidget" name="tab_2">
  104. <attribute name="title">
  105. <string>Data Installer</string>
  106. </attribute>
  107. <layout class="QVBoxLayout" name="verticalLayout_3">
  108. <item>
  109. <layout class="QHBoxLayout" name="horizontalLayout_4">
  110. <item>
  111. <widget class="QLabel" name="label_4">
  112. <property name="text">
  113. <string>Import Data Source:</string>
  114. </property>
  115. </widget>
  116. </item>
  117. <item>
  118. <widget class="QLineEdit" name="lineInput"/>
  119. </item>
  120. <item>
  121. <widget class="QPushButton" name="btnInput">
  122. <property name="maximumSize">
  123. <size>
  124. <width>24</width>
  125. <height>24</height>
  126. </size>
  127. </property>
  128. <property name="text">
  129. <string>...</string>
  130. </property>
  131. </widget>
  132. </item>
  133. </layout>
  134. </item>
  135. <item>
  136. <layout class="QHBoxLayout" name="horizontalLayout_3">
  137. <item>
  138. <widget class="QLabel" name="label_3">
  139. <property name="text">
  140. <string>QGears Data Path:</string>
  141. </property>
  142. </widget>
  143. </item>
  144. <item>
  145. <widget class="QLineEdit" name="lineDataDir"/>
  146. </item>
  147. <item>
  148. <widget class="QPushButton" name="btnDataDir">
  149. <property name="maximumSize">
  150. <size>
  151. <width>24</width>
  152. <height>24</height>
  153. </size>
  154. </property>
  155. <property name="text">
  156. <string>...</string>
  157. </property>
  158. </widget>
  159. </item>
  160. </layout>
  161. </item>
  162. <item>
  163. <widget class="QProgressBar" name="progressBar">
  164. <property name="value">
  165. <number>0</number>
  166. </property>
  167. <property name="alignment">
  168. <set>Qt::AlignCenter</set>
  169. </property>
  170. </widget>
  171. </item>
  172. <item>
  173. <widget class="QLabel" name="label_5">
  174. <property name="text">
  175. <string>Output</string>
  176. </property>
  177. </widget>
  178. </item>
  179. <item>
  180. <widget class="QTextEdit" name="txtOutput">
  181. <property name="undoRedoEnabled">
  182. <bool>false</bool>
  183. </property>
  184. <property name="readOnly">
  185. <bool>true</bool>
  186. </property>
  187. </widget>
  188. </item>
  189. <item>
  190. <widget class="QPushButton" name="btnGO">
  191. <property name="text">
  192. <string>Install data</string>
  193. </property>
  194. </widget>
  195. </item>
  196. </layout>
  197. </widget>
  198. </widget>
  199. </item>
  200. </layout>
  201. </widget>
  202. <widget class="QMenuBar" name="menuBar">
  203. <property name="geometry">
  204. <rect>
  205. <x>0</x>
  206. <y>0</y>
  207. <width>720</width>
  208. <height>21</height>
  209. </rect>
  210. </property>
  211. <widget class="QMenu" name="menuFile">
  212. <property name="title">
  213. <string>File</string>
  214. </property>
  215. <addaction name="actionExit"/>
  216. </widget>
  217. <addaction name="menuFile"/>
  218. </widget>
  219. <action name="actionExit">
  220. <property name="text">
  221. <string>Exit</string>
  222. </property>
  223. </action>
  224. </widget>
  225. <layoutdefault spacing="6" margin="11"/>
  226. <resources/>
  227. <connections>
  228. <connection>
  229. <sender>actionExit</sender>
  230. <signal>triggered()</signal>
  231. <receiver>MainWindow</receiver>
  232. <slot>close()</slot>
  233. <hints>
  234. <hint type="sourcelabel">
  235. <x>-1</x>
  236. <y>-1</y>
  237. </hint>
  238. <hint type="destinationlabel">
  239. <x>199</x>
  240. <y>66</y>
  241. </hint>
  242. </hints>
  243. </connection>
  244. </connections>
  245. </ui>