|
@@ -0,0 +1,451 @@
|
|
|
+<?xml version="1.0" encoding="UTF-8"?>
|
|
|
+<ui version="4.0">
|
|
|
+ <class>RecruitmentScene</class>
|
|
|
+ <widget class="QWidget" name="RecruitmentScene">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>0</x>
|
|
|
+ <y>0</y>
|
|
|
+ <width>940</width>
|
|
|
+ <height>720</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <property name="windowTitle">
|
|
|
+ <string>Form</string>
|
|
|
+ </property>
|
|
|
+ <widget class="QLabel" name="chosen_race_text_">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>10</x>
|
|
|
+ <y>120</y>
|
|
|
+ <width>191</width>
|
|
|
+ <height>41</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string><html><head/><body><p><span style=" font-size:14pt; color:#FDEAA8;">Выбранная раса:</span></p></body></html></string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ <widget class="QLabel" name="chosen_race_image_">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>200</x>
|
|
|
+ <y>110</y>
|
|
|
+ <width>100</width>
|
|
|
+ <height>100</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string><html><head/><body><p><img src=":/assets/units/warcraft/raceicon.png" width="100"/></p></body></html></string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ <widget class="QLabel" name="available_races_text_">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>550</x>
|
|
|
+ <y>110</y>
|
|
|
+ <width>201</width>
|
|
|
+ <height>31</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string><html><head/><body><p align="center"><span style=" font-size:14pt; color:#FDEAA8;">Доступные расы:</span></p></body></html></string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ <widget class="QWidget" name="available_races_list_" native="true">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>380</x>
|
|
|
+ <y>150</y>
|
|
|
+ <width>521</width>
|
|
|
+ <height>72</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <layout class="QHBoxLayout" name="availableRacesLayout_">
|
|
|
+ <property name="leftMargin">
|
|
|
+ <number>5</number>
|
|
|
+ </property>
|
|
|
+ <property name="topMargin">
|
|
|
+ <number>5</number>
|
|
|
+ </property>
|
|
|
+ <property name="rightMargin">
|
|
|
+ <number>5</number>
|
|
|
+ </property>
|
|
|
+ <property name="bottomMargin">
|
|
|
+ <number>5</number>
|
|
|
+ </property>
|
|
|
+ </layout>
|
|
|
+ </widget>
|
|
|
+ <widget class="QLabel" name="divider_">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>0</x>
|
|
|
+ <y>45</y>
|
|
|
+ <width>940</width>
|
|
|
+ <height>91</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string><html><head/><body><p><img src=":/assets/recruitscene/divider.png" width="940"/></p></body></html></string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ <widget class="QLabel" name="title_">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>-3</x>
|
|
|
+ <y>0</y>
|
|
|
+ <width>941</width>
|
|
|
+ <height>71</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string><html><head/><body><p align="center"><span style=" font-size:24pt; color:#b12d2d;">Набор юнитов</span></p></body></html></string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ <widget class="QLabel" name="chosen_units_label_">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>10</x>
|
|
|
+ <y>380</y>
|
|
|
+ <width>221</width>
|
|
|
+ <height>41</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string><html><head/><body><p><span style=" font-size:14pt; color:#FDEAA8;">Выбранные юниты:</span></p></body></html></string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ <widget class="QLabel" name="available_units_text_">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>10</x>
|
|
|
+ <y>250</y>
|
|
|
+ <width>201</width>
|
|
|
+ <height>31</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string><html><head/><body><p><span style=" font-size:14pt; color:#fdeaa8;">Доступные классы:</span></p></body></html></string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ <widget class="QWidget" name="available_units_list_" native="true">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>30</x>
|
|
|
+ <y>290</y>
|
|
|
+ <width>320</width>
|
|
|
+ <height>64</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <layout class="QGridLayout" name="available_units_layout_">
|
|
|
+ <property name="leftMargin">
|
|
|
+ <number>0</number>
|
|
|
+ </property>
|
|
|
+ <property name="topMargin">
|
|
|
+ <number>0</number>
|
|
|
+ </property>
|
|
|
+ <property name="rightMargin">
|
|
|
+ <number>0</number>
|
|
|
+ </property>
|
|
|
+ <property name="bottomMargin">
|
|
|
+ <number>0</number>
|
|
|
+ </property>
|
|
|
+ <property name="spacing">
|
|
|
+ <number>0</number>
|
|
|
+ </property>
|
|
|
+ </layout>
|
|
|
+ </widget>
|
|
|
+ <widget class="QWidget" name="chosen_units_grid_" native="true">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>30</x>
|
|
|
+ <y>430</y>
|
|
|
+ <width>320</width>
|
|
|
+ <height>128</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <layout class="QGridLayout" name="chosen_units_layout_">
|
|
|
+ <property name="leftMargin">
|
|
|
+ <number>0</number>
|
|
|
+ </property>
|
|
|
+ <property name="topMargin">
|
|
|
+ <number>0</number>
|
|
|
+ </property>
|
|
|
+ <property name="rightMargin">
|
|
|
+ <number>0</number>
|
|
|
+ </property>
|
|
|
+ <property name="bottomMargin">
|
|
|
+ <number>0</number>
|
|
|
+ </property>
|
|
|
+ <property name="spacing">
|
|
|
+ <number>0</number>
|
|
|
+ </property>
|
|
|
+ </layout>
|
|
|
+ </widget>
|
|
|
+ <widget class="QPushButton" name="apply_">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>610</x>
|
|
|
+ <y>640</y>
|
|
|
+ <width>281</width>
|
|
|
+ <height>61</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string>Завершить выбор</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ <widget class="QWidget" name="description_scroll_widget_" native="true">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>590</x>
|
|
|
+ <y>250</y>
|
|
|
+ <width>321</width>
|
|
|
+ <height>441</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <widget class="QLabel" name="background_scroll_label_">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>0</x>
|
|
|
+ <y>0</y>
|
|
|
+ <width>321</width>
|
|
|
+ <height>421</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string><html><head/><body><p><img src=":/assets/common/Scroll.png" width="321"/></p></body></html></string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ <widget class="QLabel" name="name_text_">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>80</x>
|
|
|
+ <y>60</y>
|
|
|
+ <width>161</width>
|
|
|
+ <height>21</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string><html><head/><body><p align="center"><span style=" font-weight:600; color:#000080;">Название юнита</span></p></body></html></string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ <widget class="QLabel" name="description_text_">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>40</x>
|
|
|
+ <y>90</y>
|
|
|
+ <width>171</width>
|
|
|
+ <height>161</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string><html><head/><body><p><span style=" color:#000080;">Здоровье:</span></p><p><span style=" color:#000080;">Сила:</span></p><p><span style=" color:#000080;">Урон:</span></p><p><span style=" color:#000080;">Удар:</span></p><p><span style=" color:#000080;">Удача:</span></p><p><span style=" color:#000080;"><br/></span></p></body></html></string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </widget>
|
|
|
+ <widget class="QPushButton" name="back_button_">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>10</x>
|
|
|
+ <y>640</y>
|
|
|
+ <width>161</width>
|
|
|
+ <height>61</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string>Вернуться на главную</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ <widget class="QLabel" name="available_money_text_">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>10</x>
|
|
|
+ <y>160</y>
|
|
|
+ <width>191</width>
|
|
|
+ <height>21</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string><html><head/><body><p><span style=" font-size:10pt; color:#ff0000;">Ресурсы: 0000000 </span></p></body></html></string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ <widget class="QWidget" name="unit_spec_widget_" native="true">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>380</x>
|
|
|
+ <y>270</y>
|
|
|
+ <width>180</width>
|
|
|
+ <height>291</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <widget class="QLabel" name="spec_title_">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>0</x>
|
|
|
+ <y>10</y>
|
|
|
+ <width>180</width>
|
|
|
+ <height>21</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string><html><head/><body><p align="center"><span style=" font-size:10pt; color:#fdeaa8;">Специализация</span></p></body></html></string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ <widget class="UnitIcon" name="parent_spec_unit_">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>70</x>
|
|
|
+ <y>40</y>
|
|
|
+ <width>45</width>
|
|
|
+ <height>45</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string><html><head/><body><p><img src=":/assets/units/warcraft/blademaster/icon.png" width="45"/></p></body></html></string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ <widget class="QLabel" name="arrow_down_1_">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>80</x>
|
|
|
+ <y>80</y>
|
|
|
+ <width>31</width>
|
|
|
+ <height>61</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string><html><head/><body><p><img src=":/assets/common/strelka.png" width="25"/></p></body></html></string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ <widget class="UnitIcon" name="current_spec_unit_">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>70</x>
|
|
|
+ <y>140</y>
|
|
|
+ <width>45</width>
|
|
|
+ <height>45</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string><html><head/><body><p><img src=":/assets/units/warcraft/chaosorc/icon.png" width="45"/></p></body></html></string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ <widget class="QWidget" name="next_gen_units_list_" native="true">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>0</x>
|
|
|
+ <y>240</y>
|
|
|
+ <width>180</width>
|
|
|
+ <height>45</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <layout class="QHBoxLayout" name="horizontalLayout">
|
|
|
+ <property name="spacing">
|
|
|
+ <number>0</number>
|
|
|
+ </property>
|
|
|
+ <property name="leftMargin">
|
|
|
+ <number>0</number>
|
|
|
+ </property>
|
|
|
+ <property name="topMargin">
|
|
|
+ <number>0</number>
|
|
|
+ </property>
|
|
|
+ <property name="rightMargin">
|
|
|
+ <number>0</number>
|
|
|
+ </property>
|
|
|
+ <property name="bottomMargin">
|
|
|
+ <number>0</number>
|
|
|
+ </property>
|
|
|
+ <item>
|
|
|
+ <widget class="UnitIcon" name="next_spec_unit_1_">
|
|
|
+ <property name="text">
|
|
|
+ <string><html><head/><body><p><img src=":/assets/units/warcraft/rogue/icon.png" width="45"/></p></body></html></string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item>
|
|
|
+ <widget class="UnitIcon" name="next_spec_unit_2_">
|
|
|
+ <property name="text">
|
|
|
+ <string><html><head/><body><p><img src=":/assets/units/warcraft/ogremagi/icon.png" width="45"/></p></body></html></string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item>
|
|
|
+ <widget class="UnitIcon" name="next_spec_unit_3_">
|
|
|
+ <property name="text">
|
|
|
+ <string><html><head/><body><p><img src=":/assets/units/warcraft/wargraider/icon.png" width="45"/></p></body></html></string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item>
|
|
|
+ <widget class="UnitIcon" name="next_spec_unit_4_">
|
|
|
+ <property name="text">
|
|
|
+ <string><html><head/><body><p><img src=":/assets/units/warcraft/wyvern/icon.png" width="45"/></p></body></html></string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ </layout>
|
|
|
+ </widget>
|
|
|
+ <widget class="QLabel" name="arrow_down_2_">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>80</x>
|
|
|
+ <y>180</y>
|
|
|
+ <width>31</width>
|
|
|
+ <height>61</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string><html><head/><body><p><img src=":/assets/common/strelka.png" width="25"/></p></body></html></string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ <zorder>spec_title_</zorder>
|
|
|
+ <zorder>arrow_down_1_</zorder>
|
|
|
+ <zorder>parent_spec_unit_</zorder>
|
|
|
+ <zorder>current_spec_unit_</zorder>
|
|
|
+ <zorder>next_gen_units_list_</zorder>
|
|
|
+ <zorder>arrow_down_2_</zorder>
|
|
|
+ </widget>
|
|
|
+ <widget class="QWidget" name="widget" native="true">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>30</x>
|
|
|
+ <y>430</y>
|
|
|
+ <width>320</width>
|
|
|
+ <height>128</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ <zorder>divider_</zorder>
|
|
|
+ <zorder>chosen_race_text_</zorder>
|
|
|
+ <zorder>chosen_race_image_</zorder>
|
|
|
+ <zorder>available_races_text_</zorder>
|
|
|
+ <zorder>available_races_list_</zorder>
|
|
|
+ <zorder>title_</zorder>
|
|
|
+ <zorder>chosen_units_label_</zorder>
|
|
|
+ <zorder>available_units_list_</zorder>
|
|
|
+ <zorder>chosen_units_grid_</zorder>
|
|
|
+ <zorder>description_scroll_widget_</zorder>
|
|
|
+ <zorder>back_button_</zorder>
|
|
|
+ <zorder>available_units_text_</zorder>
|
|
|
+ <zorder>available_money_text_</zorder>
|
|
|
+ <zorder>apply_</zorder>
|
|
|
+ <zorder>unit_spec_widget_</zorder>
|
|
|
+ <zorder>widget</zorder>
|
|
|
+ </widget>
|
|
|
+ <customwidgets>
|
|
|
+ <customwidget>
|
|
|
+ <class>UnitIcon</class>
|
|
|
+ <extends>QLabel</extends>
|
|
|
+ <header>gui/uniticon.h</header>
|
|
|
+ <slots>
|
|
|
+ <signal>clicked()</signal>
|
|
|
+ <signal>doubleclicked()</signal>
|
|
|
+ <signal>hovered()</signal>
|
|
|
+ <signal>unhovered()</signal>
|
|
|
+ </slots>
|
|
|
+ </customwidget>
|
|
|
+ </customwidgets>
|
|
|
+ <resources/>
|
|
|
+ <connections/>
|
|
|
+</ui>
|