MainWindow.ui 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380
  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="minimumSize">
  36. <size>
  37. <width>200</width>
  38. <height>0</height>
  39. </size>
  40. </property>
  41. <property name="maximumSize">
  42. <size>
  43. <width>200</width>
  44. <height>50</height>
  45. </size>
  46. </property>
  47. <property name="text">
  48. <string>Original FFVII extracted data:</string>
  49. </property>
  50. <property name="alignment">
  51. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  52. </property>
  53. </widget>
  54. </item>
  55. <item>
  56. <widget class="QLineEdit" name="line_data_src"/>
  57. </item>
  58. <item>
  59. <widget class="QPushButton" name="btn_data_src">
  60. <property name="maximumSize">
  61. <size>
  62. <width>24</width>
  63. <height>24</height>
  64. </size>
  65. </property>
  66. <property name="text">
  67. <string>...</string>
  68. </property>
  69. </widget>
  70. </item>
  71. <item>
  72. <widget class="QPushButton" name="help_data_src">
  73. <property name="toolTip">
  74. <string>
  75. &lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;b&gt;Path to the extracted FFVII (PC version) data.&lt;/b&gt;&lt;br&gt;&lt;br&gt;It must contain (at least) the folders 'kernel' and 'field'.&lt;/body&gt;&lt;/html&gt;
  76. </string>
  77. </property>
  78. <property name="text">
  79. <string/>
  80. </property>
  81. <property name="icon">
  82. <iconset theme="dialog-information">
  83. <normaloff>.</normaloff>.</iconset>
  84. </property>
  85. <property name="checkable">
  86. <bool>false</bool>
  87. </property>
  88. <property name="flat">
  89. <bool>true</bool>
  90. </property>
  91. </widget>
  92. </item>
  93. </layout>
  94. </item>
  95. <item>
  96. <layout class="QHBoxLayout" name="horizontalLayout_3">
  97. <item>
  98. <widget class="QLabel" name="label_3">
  99. <property name="minimumSize">
  100. <size>
  101. <width>200</width>
  102. <height>0</height>
  103. </size>
  104. </property>
  105. <property name="maximumSize">
  106. <size>
  107. <width>200</width>
  108. <height>50</height>
  109. </size>
  110. </property>
  111. <property name="text">
  112. <string>VGears installation directory:</string>
  113. </property>
  114. <property name="alignment">
  115. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  116. </property>
  117. </widget>
  118. </item>
  119. <item>
  120. <widget class="QLineEdit" name="line_data_dst"/>
  121. </item>
  122. <item>
  123. <widget class="QPushButton" name="btn_data_dst">
  124. <property name="maximumSize">
  125. <size>
  126. <width>24</width>
  127. <height>24</height>
  128. </size>
  129. </property>
  130. <property name="text">
  131. <string>...</string>
  132. </property>
  133. </widget>
  134. </item>
  135. <item>
  136. <widget class="QPushButton" name="help_data_dest">
  137. <property name="toolTip">
  138. <string>
  139. &lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;b&gt;V-Gears data installation directory.&lt;/b&gt;&lt;br&gt;&lt;br&gt;The data will be installed to this location. Existing installations will be overwritten.&lt;/body&gt;&lt;/html&gt;
  140. </string>
  141. </property>
  142. <property name="text">
  143. <string/>
  144. </property>
  145. <property name="icon">
  146. <iconset theme="dialog-information">
  147. <normaloff>.</normaloff>.</iconset>
  148. </property>
  149. <property name="checkable">
  150. <bool>false</bool>
  151. </property>
  152. <property name="flat">
  153. <bool>true</bool>
  154. </property>
  155. </widget>
  156. </item>
  157. </layout>
  158. </item>
  159. <item>
  160. <widget class="QProgressBar" name="data_progress_bar">
  161. <property name="value">
  162. <number>0</number>
  163. </property>
  164. <property name="alignment">
  165. <set>Qt::AlignCenter</set>
  166. </property>
  167. </widget>
  168. </item>
  169. <item>
  170. <widget class="QLabel" name="label_progress">
  171. <property name="sizePolicy">
  172. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  173. <horstretch>1</horstretch>
  174. <verstretch>0</verstretch>
  175. </sizepolicy>
  176. </property>
  177. <property name="minimumSize">
  178. <size>
  179. <width>0</width>
  180. <height>0</height>
  181. </size>
  182. </property>
  183. <property name="maximumSize">
  184. <size>
  185. <width>16777215</width>
  186. <height>10</height>
  187. </size>
  188. </property>
  189. <property name="font">
  190. <font>
  191. <pointsize>8</pointsize>
  192. <italic>true</italic>
  193. </font>
  194. </property>
  195. <property name="text">
  196. <string/>
  197. </property>
  198. <property name="alignment">
  199. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  200. </property>
  201. </widget>
  202. </item>
  203. <item>
  204. <widget class="QLabel" name="label_5">
  205. <property name="maximumSize">
  206. <size>
  207. <width>16777215</width>
  208. <height>15</height>
  209. </size>
  210. </property>
  211. <property name="font">
  212. <font>
  213. <family>Courier</family>
  214. <pointsize>8</pointsize>
  215. </font>
  216. </property>
  217. <property name="text">
  218. <string>Installer log:</string>
  219. </property>
  220. <property name="margin">
  221. <number>-1</number>
  222. </property>
  223. </widget>
  224. </item>
  225. <item>
  226. <widget class="QTextEdit" name="data_log">
  227. <property name="font">
  228. <font>
  229. <family>Courier</family>
  230. <pointsize>8</pointsize>
  231. </font>
  232. </property>
  233. <property name="verticalScrollBarPolicy">
  234. <enum>Qt::ScrollBarAlwaysOn</enum>
  235. </property>
  236. <property name="undoRedoEnabled">
  237. <bool>false</bool>
  238. </property>
  239. <property name="readOnly">
  240. <bool>true</bool>
  241. </property>
  242. </widget>
  243. </item>
  244. <item>
  245. <widget class="QPushButton" name="btn_data_run">
  246. <property name="text">
  247. <string>Install data</string>
  248. </property>
  249. </widget>
  250. </item>
  251. </layout>
  252. </widget>
  253. <widget class="QWidget" name="tab_vgears">
  254. <attribute name="title">
  255. <string>V-Gears Config</string>
  256. </attribute>
  257. <layout class="QVBoxLayout" name="verticalLayout_2">
  258. <item>
  259. <layout class="QHBoxLayout" name="horizontalLayout">
  260. <item>
  261. <widget class="QLabel" name="label_2">
  262. <property name="text">
  263. <string>VGears Path</string>
  264. </property>
  265. </widget>
  266. </item>
  267. <item>
  268. <widget class="QLineEdit" name="line_vgears_exe"/>
  269. </item>
  270. <item>
  271. <widget class="QPushButton" name="btn_vgears_exe">
  272. <property name="sizePolicy">
  273. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  274. <horstretch>0</horstretch>
  275. <verstretch>0</verstretch>
  276. </sizepolicy>
  277. </property>
  278. <property name="maximumSize">
  279. <size>
  280. <width>24</width>
  281. <height>24</height>
  282. </size>
  283. </property>
  284. <property name="text">
  285. <string>...</string>
  286. </property>
  287. </widget>
  288. </item>
  289. </layout>
  290. </item>
  291. <item>
  292. <layout class="QHBoxLayout" name="horizontalLayout_2">
  293. <item>
  294. <widget class="QLabel" name="label">
  295. <property name="text">
  296. <string>Config Directory</string>
  297. </property>
  298. </widget>
  299. </item>
  300. <item>
  301. <widget class="QLineEdit" name="line_vgears_config"/>
  302. </item>
  303. <item>
  304. <widget class="QPushButton" name="btn_vgears_config">
  305. <property name="sizePolicy">
  306. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  307. <horstretch>0</horstretch>
  308. <verstretch>0</verstretch>
  309. </sizepolicy>
  310. </property>
  311. <property name="maximumSize">
  312. <size>
  313. <width>24</width>
  314. <height>24</height>
  315. </size>
  316. </property>
  317. <property name="text">
  318. <string>...</string>
  319. </property>
  320. </widget>
  321. </item>
  322. </layout>
  323. </item>
  324. <item>
  325. <widget class="QPushButton" name="btn_vgears_launch">
  326. <property name="text">
  327. <string>Run V-Gears</string>
  328. </property>
  329. </widget>
  330. </item>
  331. </layout>
  332. </widget>
  333. </widget>
  334. </item>
  335. </layout>
  336. </widget>
  337. <widget class="QMenuBar" name="menuBar">
  338. <property name="geometry">
  339. <rect>
  340. <x>0</x>
  341. <y>0</y>
  342. <width>720</width>
  343. <height>26</height>
  344. </rect>
  345. </property>
  346. <widget class="QMenu" name="menuFile">
  347. <property name="title">
  348. <string>File</string>
  349. </property>
  350. <addaction name="actionExit"/>
  351. </widget>
  352. <addaction name="menuFile"/>
  353. </widget>
  354. <action name="actionExit">
  355. <property name="text">
  356. <string>Exit</string>
  357. </property>
  358. </action>
  359. </widget>
  360. <layoutdefault spacing="6" margin="11"/>
  361. <resources/>
  362. <connections>
  363. <connection>
  364. <sender>actionExit</sender>
  365. <signal>triggered()</signal>
  366. <receiver>MainWindow</receiver>
  367. <slot>close()</slot>
  368. <hints>
  369. <hint type="sourcelabel">
  370. <x>-1</x>
  371. <y>-1</y>
  372. </hint>
  373. <hint type="destinationlabel">
  374. <x>199</x>
  375. <y>66</y>
  376. </hint>
  377. </hints>
  378. </connection>
  379. </connections>
  380. </ui>