recruitmentscene.ui 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453
  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="RaceIcon" 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>450</x>
  46. <y>150</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>660</x>
  59. <y>130</y>
  60. <width>216</width>
  61. <height>72</height>
  62. </rect>
  63. </property>
  64. <layout class="QHBoxLayout" name="availableRacesLayout_">
  65. <property name="spacing">
  66. <number>0</number>
  67. </property>
  68. <property name="leftMargin">
  69. <number>0</number>
  70. </property>
  71. <property name="topMargin">
  72. <number>0</number>
  73. </property>
  74. <property name="rightMargin">
  75. <number>0</number>
  76. </property>
  77. <property name="bottomMargin">
  78. <number>0</number>
  79. </property>
  80. </layout>
  81. </widget>
  82. <widget class="QLabel" name="divider_">
  83. <property name="geometry">
  84. <rect>
  85. <x>0</x>
  86. <y>45</y>
  87. <width>940</width>
  88. <height>91</height>
  89. </rect>
  90. </property>
  91. <property name="text">
  92. <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>
  93. </property>
  94. </widget>
  95. <widget class="QLabel" name="title_">
  96. <property name="geometry">
  97. <rect>
  98. <x>0</x>
  99. <y>0</y>
  100. <width>940</width>
  101. <height>71</height>
  102. </rect>
  103. </property>
  104. <property name="text">
  105. <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>
  106. </property>
  107. </widget>
  108. <widget class="QLabel" name="chosen_units_label_">
  109. <property name="geometry">
  110. <rect>
  111. <x>10</x>
  112. <y>380</y>
  113. <width>221</width>
  114. <height>41</height>
  115. </rect>
  116. </property>
  117. <property name="text">
  118. <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>
  119. </property>
  120. </widget>
  121. <widget class="QLabel" name="available_units_text_">
  122. <property name="geometry">
  123. <rect>
  124. <x>10</x>
  125. <y>250</y>
  126. <width>201</width>
  127. <height>31</height>
  128. </rect>
  129. </property>
  130. <property name="text">
  131. <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>
  132. </property>
  133. </widget>
  134. <widget class="QWidget" name="available_units_list_" native="true">
  135. <property name="geometry">
  136. <rect>
  137. <x>30</x>
  138. <y>290</y>
  139. <width>320</width>
  140. <height>64</height>
  141. </rect>
  142. </property>
  143. <layout class="QGridLayout" name="available_units_layout_">
  144. <property name="leftMargin">
  145. <number>0</number>
  146. </property>
  147. <property name="topMargin">
  148. <number>0</number>
  149. </property>
  150. <property name="rightMargin">
  151. <number>0</number>
  152. </property>
  153. <property name="bottomMargin">
  154. <number>0</number>
  155. </property>
  156. <property name="spacing">
  157. <number>0</number>
  158. </property>
  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="chosen_units_layout_">
  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. </layout>
  187. </widget>
  188. <widget class="QPushButton" name="apply">
  189. <property name="geometry">
  190. <rect>
  191. <x>610</x>
  192. <y>640</y>
  193. <width>281</width>
  194. <height>61</height>
  195. </rect>
  196. </property>
  197. <property name="text">
  198. <string>Завершить выбор</string>
  199. </property>
  200. </widget>
  201. <widget class="QWidget" name="description_scroll_widget_" native="true">
  202. <property name="geometry">
  203. <rect>
  204. <x>590</x>
  205. <y>250</y>
  206. <width>321</width>
  207. <height>441</height>
  208. </rect>
  209. </property>
  210. <widget class="QLabel" name="background_scroll_label_">
  211. <property name="geometry">
  212. <rect>
  213. <x>0</x>
  214. <y>0</y>
  215. <width>321</width>
  216. <height>421</height>
  217. </rect>
  218. </property>
  219. <property name="text">
  220. <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>
  221. </property>
  222. </widget>
  223. <widget class="QLabel" name="desctiption_title_">
  224. <property name="geometry">
  225. <rect>
  226. <x>100</x>
  227. <y>70</y>
  228. <width>161</width>
  229. <height>41</height>
  230. </rect>
  231. </property>
  232. <property name="text">
  233. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;center&quot;&gt;&lt;span style=&quot; font-weight:600; font-size:16px; color:#000080;&quot;&gt;Название юнита&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  234. </property>
  235. <property name="wordWrap">
  236. <bool>true</bool>
  237. </property>
  238. </widget>
  239. <widget class="QLabel" name="description_text_">
  240. <property name="geometry">
  241. <rect>
  242. <x>40</x>
  243. <y>120</y>
  244. <width>231</width>
  245. <height>191</height>
  246. </rect>
  247. </property>
  248. <property name="text">
  249. <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>
  250. </property>
  251. <property name="alignment">
  252. <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
  253. </property>
  254. </widget>
  255. <widget class="UnitIcon" name="description_icon_">
  256. <property name="geometry">
  257. <rect>
  258. <x>50</x>
  259. <y>70</y>
  260. <width>45</width>
  261. <height>45</height>
  262. </rect>
  263. </property>
  264. <property name="text">
  265. <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>
  266. </property>
  267. </widget>
  268. </widget>
  269. <widget class="QPushButton" name="back_button">
  270. <property name="geometry">
  271. <rect>
  272. <x>50</x>
  273. <y>650</y>
  274. <width>161</width>
  275. <height>61</height>
  276. </rect>
  277. </property>
  278. <property name="text">
  279. <string>На главное меню</string>
  280. </property>
  281. </widget>
  282. <widget class="QLabel" name="available_money_text_">
  283. <property name="geometry">
  284. <rect>
  285. <x>10</x>
  286. <y>160</y>
  287. <width>191</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&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>
  293. </property>
  294. </widget>
  295. <widget class="QWidget" name="unit_spec_widget_" native="true">
  296. <property name="geometry">
  297. <rect>
  298. <x>380</x>
  299. <y>270</y>
  300. <width>180</width>
  301. <height>291</height>
  302. </rect>
  303. </property>
  304. <widget class="QLabel" name="spec_title_">
  305. <property name="geometry">
  306. <rect>
  307. <x>0</x>
  308. <y>10</y>
  309. <width>180</width>
  310. <height>21</height>
  311. </rect>
  312. </property>
  313. <property name="text">
  314. <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>
  315. </property>
  316. </widget>
  317. <widget class="QLabel" name="arrow_down_1_">
  318. <property name="geometry">
  319. <rect>
  320. <x>80</x>
  321. <y>80</y>
  322. <width>31</width>
  323. <height>61</height>
  324. </rect>
  325. </property>
  326. <property name="text">
  327. <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>
  328. </property>
  329. </widget>
  330. <widget class="UnitIcon" name="current_spec_unit_">
  331. <property name="geometry">
  332. <rect>
  333. <x>70</x>
  334. <y>140</y>
  335. <width>45</width>
  336. <height>45</height>
  337. </rect>
  338. </property>
  339. <property name="text">
  340. <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>
  341. </property>
  342. </widget>
  343. <widget class="QWidget" name="next_gen_units_list_" native="true">
  344. <property name="geometry">
  345. <rect>
  346. <x>0</x>
  347. <y>240</y>
  348. <width>180</width>
  349. <height>45</height>
  350. </rect>
  351. </property>
  352. <layout class="QHBoxLayout" name="next_gen_units_layout_">
  353. <property name="spacing">
  354. <number>0</number>
  355. </property>
  356. <property name="leftMargin">
  357. <number>0</number>
  358. </property>
  359. <property name="topMargin">
  360. <number>0</number>
  361. </property>
  362. <property name="rightMargin">
  363. <number>0</number>
  364. </property>
  365. <property name="bottomMargin">
  366. <number>0</number>
  367. </property>
  368. </layout>
  369. </widget>
  370. <widget class="QLabel" name="arrow_down_2_">
  371. <property name="geometry">
  372. <rect>
  373. <x>80</x>
  374. <y>180</y>
  375. <width>31</width>
  376. <height>61</height>
  377. </rect>
  378. </property>
  379. <property name="text">
  380. <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>
  381. </property>
  382. </widget>
  383. <widget class="QWidget" name="prev_gen_units_list_" native="true">
  384. <property name="geometry">
  385. <rect>
  386. <x>0</x>
  387. <y>40</y>
  388. <width>180</width>
  389. <height>45</height>
  390. </rect>
  391. </property>
  392. <layout class="QHBoxLayout" name="prev_gen_units_layout">
  393. <property name="spacing">
  394. <number>0</number>
  395. </property>
  396. <property name="leftMargin">
  397. <number>0</number>
  398. </property>
  399. <property name="topMargin">
  400. <number>0</number>
  401. </property>
  402. <property name="rightMargin">
  403. <number>0</number>
  404. </property>
  405. <property name="bottomMargin">
  406. <number>0</number>
  407. </property>
  408. </layout>
  409. </widget>
  410. </widget>
  411. <zorder>divider_</zorder>
  412. <zorder>chosen_race_text_</zorder>
  413. <zorder>chosen_race_image_</zorder>
  414. <zorder>available_races_text_</zorder>
  415. <zorder>available_races_list_</zorder>
  416. <zorder>title_</zorder>
  417. <zorder>chosen_units_label_</zorder>
  418. <zorder>available_units_list_</zorder>
  419. <zorder>chosen_units_grid_</zorder>
  420. <zorder>description_scroll_widget_</zorder>
  421. <zorder>back_button</zorder>
  422. <zorder>available_units_text_</zorder>
  423. <zorder>available_money_text_</zorder>
  424. <zorder>apply</zorder>
  425. <zorder>unit_spec_widget_</zorder>
  426. </widget>
  427. <customwidgets>
  428. <customwidget>
  429. <class>Scene</class>
  430. <extends>QWidget</extends>
  431. <header>gui/scene.h</header>
  432. <container>1</container>
  433. </customwidget>
  434. <customwidget>
  435. <class>UnitIcon</class>
  436. <extends>QLabel</extends>
  437. <header>gui/uniticon.h</header>
  438. <slots>
  439. <signal>clicked()</signal>
  440. <signal>doubleclicked()</signal>
  441. <signal>hovered()</signal>
  442. <signal>unhovered()</signal>
  443. </slots>
  444. </customwidget>
  445. <customwidget>
  446. <class>RaceIcon</class>
  447. <extends>QLabel</extends>
  448. <header>gui/raceicon.h</header>
  449. </customwidget>
  450. </customwidgets>
  451. <resources/>
  452. <connections/>
  453. </ui>