recruitmentscene.ui 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>RecruitmentScene</class>
  4. <widget class="QWidget" name="RecruitmentScene">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>940</width>
  10. <height>720</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Form</string>
  15. </property>
  16. <widget class="QLabel" name="chosen_race_text_">
  17. <property name="geometry">
  18. <rect>
  19. <x>10</x>
  20. <y>120</y>
  21. <width>191</width>
  22. <height>41</height>
  23. </rect>
  24. </property>
  25. <property name="text">
  26. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-size:14pt; color:#FDEAA8;&quot;&gt;Выбранная раса:&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  27. </property>
  28. </widget>
  29. <widget class="QLabel" name="chosen_race_image_">
  30. <property name="geometry">
  31. <rect>
  32. <x>200</x>
  33. <y>110</y>
  34. <width>100</width>
  35. <height>100</height>
  36. </rect>
  37. </property>
  38. <property name="text">
  39. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;img src=&quot;:/assets/units/warcraft/raceicon.png&quot; width=&quot;100&quot;/&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  40. </property>
  41. </widget>
  42. <widget class="QLabel" name="available_races_text_">
  43. <property name="geometry">
  44. <rect>
  45. <x>550</x>
  46. <y>110</y>
  47. <width>201</width>
  48. <height>31</height>
  49. </rect>
  50. </property>
  51. <property name="text">
  52. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;center&quot;&gt;&lt;span style=&quot; font-size:14pt; color:#FDEAA8;&quot;&gt;Доступные расы:&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  53. </property>
  54. </widget>
  55. <widget class="QWidget" name="available_races_list_" native="true">
  56. <property name="geometry">
  57. <rect>
  58. <x>380</x>
  59. <y>150</y>
  60. <width>521</width>
  61. <height>72</height>
  62. </rect>
  63. </property>
  64. <layout class="QHBoxLayout" name="availableRacesLayout_">
  65. <property name="leftMargin">
  66. <number>5</number>
  67. </property>
  68. <property name="topMargin">
  69. <number>5</number>
  70. </property>
  71. <property name="rightMargin">
  72. <number>5</number>
  73. </property>
  74. <property name="bottomMargin">
  75. <number>5</number>
  76. </property>
  77. </layout>
  78. </widget>
  79. <widget class="QLabel" name="divider_">
  80. <property name="geometry">
  81. <rect>
  82. <x>0</x>
  83. <y>45</y>
  84. <width>940</width>
  85. <height>91</height>
  86. </rect>
  87. </property>
  88. <property name="text">
  89. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;img src=&quot;:/assets/recruitscene/divider.png&quot; width=&quot;940&quot;/&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  90. </property>
  91. </widget>
  92. <widget class="QLabel" name="title_">
  93. <property name="geometry">
  94. <rect>
  95. <x>-3</x>
  96. <y>0</y>
  97. <width>941</width>
  98. <height>71</height>
  99. </rect>
  100. </property>
  101. <property name="text">
  102. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;center&quot;&gt;&lt;span style=&quot; font-size:24pt; color:#b12d2d;&quot;&gt;Набор юнитов&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  103. </property>
  104. </widget>
  105. <widget class="QLabel" name="chosen_units_label_">
  106. <property name="geometry">
  107. <rect>
  108. <x>10</x>
  109. <y>380</y>
  110. <width>221</width>
  111. <height>41</height>
  112. </rect>
  113. </property>
  114. <property name="text">
  115. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-size:14pt; color:#FDEAA8;&quot;&gt;Выбранные юниты:&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  116. </property>
  117. </widget>
  118. <widget class="QLabel" name="available_units_text_">
  119. <property name="geometry">
  120. <rect>
  121. <x>10</x>
  122. <y>250</y>
  123. <width>201</width>
  124. <height>31</height>
  125. </rect>
  126. </property>
  127. <property name="text">
  128. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-size:14pt; color:#fdeaa8;&quot;&gt;Доступные классы:&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  129. </property>
  130. </widget>
  131. <widget class="QWidget" name="available_units_list_" native="true">
  132. <property name="geometry">
  133. <rect>
  134. <x>30</x>
  135. <y>290</y>
  136. <width>320</width>
  137. <height>64</height>
  138. </rect>
  139. </property>
  140. <layout class="QGridLayout" name="gridLayout">
  141. <property name="leftMargin">
  142. <number>0</number>
  143. </property>
  144. <property name="topMargin">
  145. <number>0</number>
  146. </property>
  147. <property name="rightMargin">
  148. <number>0</number>
  149. </property>
  150. <property name="bottomMargin">
  151. <number>0</number>
  152. </property>
  153. <property name="spacing">
  154. <number>0</number>
  155. </property>
  156. <item row="0" column="3">
  157. <layout class="QHBoxLayout" name="available_units_layout_"/>
  158. </item>
  159. </layout>
  160. </widget>
  161. <widget class="QWidget" name="chosen_units_grid_" native="true">
  162. <property name="geometry">
  163. <rect>
  164. <x>30</x>
  165. <y>430</y>
  166. <width>320</width>
  167. <height>128</height>
  168. </rect>
  169. </property>
  170. <layout class="QGridLayout" name="gridLayout_2">
  171. <property name="leftMargin">
  172. <number>0</number>
  173. </property>
  174. <property name="topMargin">
  175. <number>0</number>
  176. </property>
  177. <property name="rightMargin">
  178. <number>0</number>
  179. </property>
  180. <property name="bottomMargin">
  181. <number>0</number>
  182. </property>
  183. <property name="spacing">
  184. <number>0</number>
  185. </property>
  186. <item row="0" column="0">
  187. <layout class="QGridLayout" name="chosen_units_layout_">
  188. <property name="spacing">
  189. <number>0</number>
  190. </property>
  191. </layout>
  192. </item>
  193. </layout>
  194. </widget>
  195. <widget class="QPushButton" name="apply_">
  196. <property name="geometry">
  197. <rect>
  198. <x>610</x>
  199. <y>640</y>
  200. <width>281</width>
  201. <height>61</height>
  202. </rect>
  203. </property>
  204. <property name="text">
  205. <string>Завершить выбор</string>
  206. </property>
  207. </widget>
  208. <widget class="QWidget" name="description_scroll_widget_" native="true">
  209. <property name="geometry">
  210. <rect>
  211. <x>590</x>
  212. <y>250</y>
  213. <width>321</width>
  214. <height>441</height>
  215. </rect>
  216. </property>
  217. <widget class="QLabel" name="background_scroll_label_">
  218. <property name="geometry">
  219. <rect>
  220. <x>0</x>
  221. <y>0</y>
  222. <width>321</width>
  223. <height>421</height>
  224. </rect>
  225. </property>
  226. <property name="text">
  227. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;img src=&quot;:/assets/common/Scroll.png&quot; width=&quot;321&quot;/&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  228. </property>
  229. </widget>
  230. <widget class="QLabel" name="name_text_">
  231. <property name="geometry">
  232. <rect>
  233. <x>80</x>
  234. <y>60</y>
  235. <width>161</width>
  236. <height>21</height>
  237. </rect>
  238. </property>
  239. <property name="text">
  240. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;center&quot;&gt;&lt;span style=&quot; font-weight:600; color:#000080;&quot;&gt;Название юнита&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  241. </property>
  242. </widget>
  243. <widget class="QLabel" name="description_text_">
  244. <property name="geometry">
  245. <rect>
  246. <x>40</x>
  247. <y>90</y>
  248. <width>171</width>
  249. <height>161</height>
  250. </rect>
  251. </property>
  252. <property name="text">
  253. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; color:#000080;&quot;&gt;Здоровье:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot; color:#000080;&quot;&gt;Сила:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot; color:#000080;&quot;&gt;Урон:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot; color:#000080;&quot;&gt;Удар:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot; color:#000080;&quot;&gt;Удача:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot; color:#000080;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  254. </property>
  255. </widget>
  256. </widget>
  257. <widget class="QPushButton" name="back_button_">
  258. <property name="geometry">
  259. <rect>
  260. <x>10</x>
  261. <y>640</y>
  262. <width>161</width>
  263. <height>61</height>
  264. </rect>
  265. </property>
  266. <property name="text">
  267. <string>Вернуться на главную</string>
  268. </property>
  269. </widget>
  270. <widget class="QLabel" name="available_money_text_">
  271. <property name="geometry">
  272. <rect>
  273. <x>10</x>
  274. <y>160</y>
  275. <width>191</width>
  276. <height>21</height>
  277. </rect>
  278. </property>
  279. <property name="text">
  280. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-size:10pt; color:#ff0000;&quot;&gt;Ресурсы: 0000000 &lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  281. </property>
  282. </widget>
  283. <widget class="QWidget" name="unit_spec_widget_" native="true">
  284. <property name="geometry">
  285. <rect>
  286. <x>380</x>
  287. <y>270</y>
  288. <width>180</width>
  289. <height>291</height>
  290. </rect>
  291. </property>
  292. <widget class="QLabel" name="spec_title_">
  293. <property name="geometry">
  294. <rect>
  295. <x>0</x>
  296. <y>10</y>
  297. <width>180</width>
  298. <height>21</height>
  299. </rect>
  300. </property>
  301. <property name="text">
  302. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;center&quot;&gt;&lt;span style=&quot; font-size:10pt; color:#fdeaa8;&quot;&gt;Специализация&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  303. </property>
  304. </widget>
  305. <widget class="UnitIcon" name="parent_spec_unit_">
  306. <property name="geometry">
  307. <rect>
  308. <x>70</x>
  309. <y>40</y>
  310. <width>45</width>
  311. <height>45</height>
  312. </rect>
  313. </property>
  314. <property name="text">
  315. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;img src=&quot;:/assets/units/warcraft/blademaster/icon.png&quot; width=&quot;45&quot;/&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  316. </property>
  317. </widget>
  318. <widget class="QLabel" name="arrow_down_1_">
  319. <property name="geometry">
  320. <rect>
  321. <x>80</x>
  322. <y>80</y>
  323. <width>31</width>
  324. <height>61</height>
  325. </rect>
  326. </property>
  327. <property name="text">
  328. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;img src=&quot;:/assets/common/strelka.png&quot; width=&quot;25&quot;/&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  329. </property>
  330. </widget>
  331. <widget class="UnitIcon" name="current_spec_unit_">
  332. <property name="geometry">
  333. <rect>
  334. <x>70</x>
  335. <y>140</y>
  336. <width>45</width>
  337. <height>45</height>
  338. </rect>
  339. </property>
  340. <property name="text">
  341. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;img src=&quot;:/assets/units/warcraft/chaosorc/icon.png&quot; width=&quot;45&quot;/&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  342. </property>
  343. </widget>
  344. <widget class="QWidget" name="next_gen_units_list_" native="true">
  345. <property name="geometry">
  346. <rect>
  347. <x>0</x>
  348. <y>240</y>
  349. <width>180</width>
  350. <height>45</height>
  351. </rect>
  352. </property>
  353. <layout class="QHBoxLayout" name="horizontalLayout">
  354. <property name="spacing">
  355. <number>0</number>
  356. </property>
  357. <property name="leftMargin">
  358. <number>0</number>
  359. </property>
  360. <property name="topMargin">
  361. <number>0</number>
  362. </property>
  363. <property name="rightMargin">
  364. <number>0</number>
  365. </property>
  366. <property name="bottomMargin">
  367. <number>0</number>
  368. </property>
  369. <item>
  370. <widget class="UnitIcon" name="next_spec_unit_1_">
  371. <property name="text">
  372. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;img src=&quot;:/assets/units/warcraft/rogue/icon.png&quot; width=&quot;45&quot;/&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  373. </property>
  374. </widget>
  375. </item>
  376. <item>
  377. <widget class="UnitIcon" name="next_spec_unit_2_">
  378. <property name="text">
  379. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;img src=&quot;:/assets/units/warcraft/ogremagi/icon.png&quot; width=&quot;45&quot;/&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  380. </property>
  381. </widget>
  382. </item>
  383. <item>
  384. <widget class="UnitIcon" name="next_spec_unit_3_">
  385. <property name="text">
  386. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;img src=&quot;:/assets/units/warcraft/wargraider/icon.png&quot; width=&quot;45&quot;/&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  387. </property>
  388. </widget>
  389. </item>
  390. <item>
  391. <widget class="UnitIcon" name="next_spec_unit_4_">
  392. <property name="text">
  393. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;img src=&quot;:/assets/units/warcraft/wyvern/icon.png&quot; width=&quot;45&quot;/&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  394. </property>
  395. </widget>
  396. </item>
  397. </layout>
  398. </widget>
  399. <widget class="QLabel" name="arrow_down_2_">
  400. <property name="geometry">
  401. <rect>
  402. <x>80</x>
  403. <y>180</y>
  404. <width>31</width>
  405. <height>61</height>
  406. </rect>
  407. </property>
  408. <property name="text">
  409. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;img src=&quot;:/assets/common/strelka.png&quot; width=&quot;25&quot;/&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  410. </property>
  411. </widget>
  412. <zorder>spec_title_</zorder>
  413. <zorder>arrow_down_1_</zorder>
  414. <zorder>parent_spec_unit_</zorder>
  415. <zorder>current_spec_unit_</zorder>
  416. <zorder>next_gen_units_list_</zorder>
  417. <zorder>arrow_down_2_</zorder>
  418. </widget>
  419. <widget class="QWidget" name="widget" native="true">
  420. <property name="geometry">
  421. <rect>
  422. <x>30</x>
  423. <y>430</y>
  424. <width>320</width>
  425. <height>128</height>
  426. </rect>
  427. </property>
  428. </widget>
  429. <zorder>divider_</zorder>
  430. <zorder>chosen_race_text_</zorder>
  431. <zorder>chosen_race_image_</zorder>
  432. <zorder>available_races_text_</zorder>
  433. <zorder>available_races_list_</zorder>
  434. <zorder>title_</zorder>
  435. <zorder>chosen_units_label_</zorder>
  436. <zorder>available_units_list_</zorder>
  437. <zorder>chosen_units_grid_</zorder>
  438. <zorder>description_scroll_widget_</zorder>
  439. <zorder>back_button_</zorder>
  440. <zorder>available_units_text_</zorder>
  441. <zorder>available_money_text_</zorder>
  442. <zorder>apply_</zorder>
  443. <zorder>unit_spec_widget_</zorder>
  444. <zorder>widget</zorder>
  445. </widget>
  446. <customwidgets>
  447. <customwidget>
  448. <class>UnitIcon</class>
  449. <extends>QLabel</extends>
  450. <header>gui/uniticon.h</header>
  451. <slots>
  452. <signal>clicked()</signal>
  453. <signal>doubleclicked()</signal>
  454. <signal>hovered()</signal>
  455. <signal>unhovered()</signal>
  456. </slots>
  457. </customwidget>
  458. </customwidgets>
  459. <resources/>
  460. <connections/>
  461. </ui>