MainWindow.ui 6.9 KB

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