recruitmentscene.ui 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>RecruitmentScene</class>
  4. <widget class="Scene" 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="available_units_layout_">
  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. </layout>
  157. </widget>
  158. <widget class="QWidget" name="chosen_units_grid_" native="true">
  159. <property name="geometry">
  160. <rect>
  161. <x>30</x>
  162. <y>430</y>
  163. <width>320</width>
  164. <height>128</height>
  165. </rect>
  166. </property>
  167. <layout class="QGridLayout" name="chosen_units_layout_">
  168. <property name="leftMargin">
  169. <number>0</number>
  170. </property>
  171. <property name="topMargin">
  172. <number>0</number>
  173. </property>
  174. <property name="rightMargin">
  175. <number>0</number>
  176. </property>
  177. <property name="bottomMargin">
  178. <number>0</number>
  179. </property>
  180. <property name="spacing">
  181. <number>0</number>
  182. </property>
  183. </layout>
  184. </widget>
  185. <widget class="QPushButton" name="apply">
  186. <property name="geometry">
  187. <rect>
  188. <x>610</x>
  189. <y>640</y>
  190. <width>281</width>
  191. <height>61</height>
  192. </rect>
  193. </property>
  194. <property name="text">
  195. <string>Завершить выбор</string>
  196. </property>
  197. </widget>
  198. <widget class="QWidget" name="description_scroll_widget_" native="true">
  199. <property name="geometry">
  200. <rect>
  201. <x>590</x>
  202. <y>250</y>
  203. <width>321</width>
  204. <height>441</height>
  205. </rect>
  206. </property>
  207. <widget class="QLabel" name="background_scroll_label_">
  208. <property name="geometry">
  209. <rect>
  210. <x>0</x>
  211. <y>0</y>
  212. <width>321</width>
  213. <height>421</height>
  214. </rect>
  215. </property>
  216. <property name="text">
  217. <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>
  218. </property>
  219. </widget>
  220. <widget class="QLabel" name="name_text_">
  221. <property name="geometry">
  222. <rect>
  223. <x>80</x>
  224. <y>60</y>
  225. <width>161</width>
  226. <height>21</height>
  227. </rect>
  228. </property>
  229. <property name="text">
  230. <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>
  231. </property>
  232. </widget>
  233. <widget class="QLabel" name="description_text_">
  234. <property name="geometry">
  235. <rect>
  236. <x>40</x>
  237. <y>90</y>
  238. <width>171</width>
  239. <height>161</height>
  240. </rect>
  241. </property>
  242. <property name="text">
  243. <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>
  244. </property>
  245. </widget>
  246. </widget>
  247. <widget class="QPushButton" name="back_button">
  248. <property name="geometry">
  249. <rect>
  250. <x>50</x>
  251. <y>650</y>
  252. <width>161</width>
  253. <height>61</height>
  254. </rect>
  255. </property>
  256. <property name="text">
  257. <string>На главное меню</string>
  258. </property>
  259. </widget>
  260. <widget class="QLabel" name="available_money_text_">
  261. <property name="geometry">
  262. <rect>
  263. <x>10</x>
  264. <y>160</y>
  265. <width>191</width>
  266. <height>21</height>
  267. </rect>
  268. </property>
  269. <property name="text">
  270. <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>
  271. </property>
  272. </widget>
  273. <widget class="QWidget" name="unit_spec_widget_" native="true">
  274. <property name="geometry">
  275. <rect>
  276. <x>380</x>
  277. <y>270</y>
  278. <width>180</width>
  279. <height>291</height>
  280. </rect>
  281. </property>
  282. <widget class="QLabel" name="spec_title_">
  283. <property name="geometry">
  284. <rect>
  285. <x>0</x>
  286. <y>10</y>
  287. <width>180</width>
  288. <height>21</height>
  289. </rect>
  290. </property>
  291. <property name="text">
  292. <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>
  293. </property>
  294. </widget>
  295. <widget class="UnitIcon" name="parent_spec_unit_">
  296. <property name="geometry">
  297. <rect>
  298. <x>70</x>
  299. <y>40</y>
  300. <width>45</width>
  301. <height>45</height>
  302. </rect>
  303. </property>
  304. <property name="text">
  305. <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>
  306. </property>
  307. </widget>
  308. <widget class="QLabel" name="arrow_down_1_">
  309. <property name="geometry">
  310. <rect>
  311. <x>80</x>
  312. <y>80</y>
  313. <width>31</width>
  314. <height>61</height>
  315. </rect>
  316. </property>
  317. <property name="text">
  318. <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>
  319. </property>
  320. </widget>
  321. <widget class="UnitIcon" name="current_spec_unit_">
  322. <property name="geometry">
  323. <rect>
  324. <x>70</x>
  325. <y>140</y>
  326. <width>45</width>
  327. <height>45</height>
  328. </rect>
  329. </property>
  330. <property name="text">
  331. <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>
  332. </property>
  333. </widget>
  334. <widget class="QWidget" name="next_gen_units_list_" native="true">
  335. <property name="geometry">
  336. <rect>
  337. <x>0</x>
  338. <y>240</y>
  339. <width>180</width>
  340. <height>45</height>
  341. </rect>
  342. </property>
  343. <layout class="QHBoxLayout" name="horizontalLayout">
  344. <property name="spacing">
  345. <number>0</number>
  346. </property>
  347. <property name="leftMargin">
  348. <number>0</number>
  349. </property>
  350. <property name="topMargin">
  351. <number>0</number>
  352. </property>
  353. <property name="rightMargin">
  354. <number>0</number>
  355. </property>
  356. <property name="bottomMargin">
  357. <number>0</number>
  358. </property>
  359. <item>
  360. <widget class="UnitIcon" name="next_spec_unit_1_">
  361. <property name="text">
  362. <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>
  363. </property>
  364. </widget>
  365. </item>
  366. <item>
  367. <widget class="UnitIcon" name="next_spec_unit_2_">
  368. <property name="text">
  369. <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>
  370. </property>
  371. </widget>
  372. </item>
  373. <item>
  374. <widget class="UnitIcon" name="next_spec_unit_3_">
  375. <property name="text">
  376. <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>
  377. </property>
  378. </widget>
  379. </item>
  380. <item>
  381. <widget class="UnitIcon" name="next_spec_unit_4_">
  382. <property name="text">
  383. <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>
  384. </property>
  385. </widget>
  386. </item>
  387. </layout>
  388. </widget>
  389. <widget class="QLabel" name="arrow_down_2_">
  390. <property name="geometry">
  391. <rect>
  392. <x>80</x>
  393. <y>180</y>
  394. <width>31</width>
  395. <height>61</height>
  396. </rect>
  397. </property>
  398. <property name="text">
  399. <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>
  400. </property>
  401. </widget>
  402. <zorder>spec_title_</zorder>
  403. <zorder>arrow_down_1_</zorder>
  404. <zorder>parent_spec_unit_</zorder>
  405. <zorder>current_spec_unit_</zorder>
  406. <zorder>next_gen_units_list_</zorder>
  407. <zorder>arrow_down_2_</zorder>
  408. </widget>
  409. <widget class="QWidget" name="widget" native="true">
  410. <property name="geometry">
  411. <rect>
  412. <x>30</x>
  413. <y>430</y>
  414. <width>320</width>
  415. <height>128</height>
  416. </rect>
  417. </property>
  418. </widget>
  419. <widget class="QLabel" name="title_1">
  420. <property name="geometry">
  421. <rect>
  422. <x>270</x>
  423. <y>350</y>
  424. <width>941</width>
  425. <height>71</height>
  426. </rect>
  427. </property>
  428. <property name="text">
  429. <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>
  430. </property>
  431. </widget>
  432. <zorder>divider_</zorder>
  433. <zorder>chosen_race_text_</zorder>
  434. <zorder>chosen_race_image_</zorder>
  435. <zorder>available_races_text_</zorder>
  436. <zorder>available_races_list_</zorder>
  437. <zorder>title_</zorder>
  438. <zorder>chosen_units_label_</zorder>
  439. <zorder>available_units_list_</zorder>
  440. <zorder>chosen_units_grid_</zorder>
  441. <zorder>description_scroll_widget_</zorder>
  442. <zorder>back_button</zorder>
  443. <zorder>available_units_text_</zorder>
  444. <zorder>available_money_text_</zorder>
  445. <zorder>apply</zorder>
  446. <zorder>unit_spec_widget_</zorder>
  447. <zorder>widget</zorder>
  448. <zorder>title_1</zorder>
  449. </widget>
  450. <customwidgets>
  451. <customwidget>
  452. <class>Scene</class>
  453. <extends>QWidget</extends>
  454. <header location="global">gui/scene.h</header>
  455. <container>1</container>
  456. </customwidget>
  457. <customwidget>
  458. <class>UnitIcon</class>
  459. <extends>QLabel</extends>
  460. <header>gui/uniticon.h</header>
  461. <slots>
  462. <signal>clicked()</signal>
  463. <signal>doubleclicked()</signal>
  464. <signal>hovered()</signal>
  465. <signal>unhovered()</signal>
  466. </slots>
  467. </customwidget>
  468. </customwidgets>
  469. <resources/>
  470. <connections/>
  471. </ui>