123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453 |
- <?xml version="1.0" encoding="UTF-8"?>
- <ui version="4.0">
- <class>RecruitmentScene</class>
- <widget class="Scene" 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="RaceIcon" 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>450</x>
- <y>150</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>660</x>
- <y>130</y>
- <width>216</width>
- <height>72</height>
- </rect>
- </property>
- <layout class="QHBoxLayout" name="availableRacesLayout_">
- <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>
- </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>0</x>
- <y>0</y>
- <width>940</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="desctiption_title_">
- <property name="geometry">
- <rect>
- <x>100</x>
- <y>70</y>
- <width>161</width>
- <height>41</height>
- </rect>
- </property>
- <property name="text">
- <string><html><head/><body><p align="center"><span style=" font-weight:600; font-size:16px; color:#000080;">Название юнита</span></p></body></html></string>
- </property>
- <property name="wordWrap">
- <bool>true</bool>
- </property>
- </widget>
- <widget class="QLabel" name="description_text_">
- <property name="geometry">
- <rect>
- <x>40</x>
- <y>120</y>
- <width>231</width>
- <height>191</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>
- <property name="alignment">
- <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
- </property>
- </widget>
- <widget class="UnitIcon" name="description_icon_">
- <property name="geometry">
- <rect>
- <x>50</x>
- <y>70</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>
- <widget class="QPushButton" name="back_button">
- <property name="geometry">
- <rect>
- <x>50</x>
- <y>650</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="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="next_gen_units_layout_">
- <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>
- </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>
- <widget class="QWidget" name="prev_gen_units_list_" native="true">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>40</y>
- <width>180</width>
- <height>45</height>
- </rect>
- </property>
- <layout class="QHBoxLayout" name="prev_gen_units_layout">
- <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>
- </layout>
- </widget>
- </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>
- </widget>
- <customwidgets>
- <customwidget>
- <class>Scene</class>
- <extends>QWidget</extends>
- <header>gui/scene.h</header>
- <container>1</container>
- </customwidget>
- <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>
- <customwidget>
- <class>RaceIcon</class>
- <extends>QLabel</extends>
- <header>gui/raceicon.h</header>
- </customwidget>
- </customwidgets>
- <resources/>
- <connections/>
- </ui>
|