Browse Source

upgraded ui recruitment and prebattle, decreased max party to 7

Noath 6 năm trước cách đây
mục cha
commit
779ebcb675

+ 1 - 1
include/hotseatgame/gameproperties.h

@@ -27,7 +27,7 @@ public:
      * графического интерфейса сцены.
      */
 
-    static constexpr unsigned MAX_PARTY_SIZE = 10;
+    static constexpr unsigned MAX_PARTY_SIZE = 7;
 
     /*
      * PLAYERS_NUMBER - количество игроков, участвующих в сценарии.

+ 1 - 1
ui/hotseat_prebattle/prebattlescene.cpp

@@ -58,7 +58,7 @@ void PreBattleScene::init() {
 
         QWidget* units_widget = findChild<QWidget*>("player_" + QString::number(i) + "_units");
         if (units_widget)
-            units_widget->resize(64 * units.size(), 64);
+            units_widget->resize(70 * units.size(), 70);
     }
 }
 

+ 114 - 258
ui/hotseat_prebattle/prebattlescene.ui

@@ -6,8 +6,8 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>1091</width>
-    <height>815</height>
+    <width>1430</width>
+    <height>1612</height>
    </rect>
   </property>
   <property name="windowTitle">
@@ -32,8 +32,34 @@
    <property name="spacing">
     <number>0</number>
    </property>
-   <item row="0" column="1">
-    <spacer name="verticalSpacer">
+   <item row="0" column="2" rowspan="4">
+    <spacer name="horizontalSpacer_2">
+     <property name="orientation">
+      <enum>Qt::Horizontal</enum>
+     </property>
+     <property name="sizeHint" stdset="0">
+      <size>
+       <width>152</width>
+       <height>812</height>
+      </size>
+     </property>
+    </spacer>
+   </item>
+   <item row="0" column="0" rowspan="4">
+    <spacer name="horizontalSpacer">
+     <property name="orientation">
+      <enum>Qt::Horizontal</enum>
+     </property>
+     <property name="sizeHint" stdset="0">
+      <size>
+       <width>151</width>
+       <height>812</height>
+      </size>
+     </property>
+    </spacer>
+   </item>
+   <item row="3" column="1">
+    <spacer name="verticalSpacer_2">
      <property name="orientation">
       <enum>Qt::Vertical</enum>
      </property>
@@ -223,70 +249,17 @@
       </item>
       <item row="1" column="1">
        <widget class="QWidget" name="content" native="true">
+        <property name="minimumSize">
+         <size>
+          <width>0</width>
+          <height>0</height>
+         </size>
+        </property>
         <property name="styleSheet">
          <string notr="true">background-image: url(:/assets/common/window/strong_translucent-background.png);</string>
         </property>
         <layout class="QGridLayout" name="gridLayout_3">
-         <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>
-         <item row="0" column="0" colspan="3">
-          <widget class="QLabel" name="title_3">
-           <property name="sizePolicy">
-            <sizepolicy hsizetype="Preferred" vsizetype="Minimum">
-             <horstretch>0</horstretch>
-             <verstretch>0</verstretch>
-            </sizepolicy>
-           </property>
-           <property name="styleSheet">
-            <string notr="true">background: none;
-font: 32pt &quot;D-determination (RUS BY LYAJKA)&quot;;
-color: rgb(177, 45, 45);</string>
-           </property>
-           <property name="text">
-            <string>&lt;p align=&quot;center&quot;&gt;Начало битвы&lt;/p&gt;</string>
-           </property>
-          </widget>
-         </item>
-         <item row="1" column="0" colspan="3">
-          <spacer name="verticalSpacer_5">
-           <property name="orientation">
-            <enum>Qt::Vertical</enum>
-           </property>
-           <property name="sizeHint" stdset="0">
-            <size>
-             <width>728</width>
-             <height>37</height>
-            </size>
-           </property>
-          </spacer>
-         </item>
-         <item row="2" column="0">
-          <spacer name="horizontalSpacer_5">
-           <property name="orientation">
-            <enum>Qt::Horizontal</enum>
-           </property>
-           <property name="sizeHint" stdset="0">
-            <size>
-             <width>18</width>
-             <height>468</height>
-            </size>
-           </property>
-          </spacer>
-         </item>
-         <item row="2" column="1">
+         <item row="2" column="2" rowspan="2">
           <widget class="QWidget" name="widget_2" native="true">
            <property name="sizePolicy">
             <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
@@ -329,9 +302,9 @@ color: rgb(253, 234, 168);</string>
            <widget class="QWidget" name="player_0_units" native="true">
             <property name="geometry">
              <rect>
-              <x>20</x>
-              <y>140</y>
-              <width>640</width>
+              <x>120</x>
+              <y>130</y>
+              <width>448</width>
               <height>64</height>
              </rect>
             </property>
@@ -505,75 +478,6 @@ background-color: rgb(253, 234, 168);</string>
                </property>
                <property name="styleSheet">
                 <string notr="true">border-image: url(:/assets/hotseat_recruit/unit_icon_default.png);
-background-color: rgb(253, 234, 168);</string>
-               </property>
-               <property name="text">
-                <string>&lt;img src=&quot;:/assets/hotseat_recruit/icon_closed.png&quot; width=&quot;58&quot; height=&quot;58&quot;/&gt;</string>
-               </property>
-               <property name="alignment">
-                <set>Qt::AlignCenter</set>
-               </property>
-               <property name="flat" stdset="0">
-                <bool>true</bool>
-               </property>
-              </widget>
-             </item>
-             <item>
-              <widget class="QLabel" name="player_0_chosen_unit_7">
-               <property name="sizePolicy">
-                <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
-                 <horstretch>0</horstretch>
-                 <verstretch>0</verstretch>
-                </sizepolicy>
-               </property>
-               <property name="styleSheet">
-                <string notr="true">border-image: url(:/assets/hotseat_recruit/unit_icon_default.png);
-background-color: rgb(253, 234, 168);</string>
-               </property>
-               <property name="text">
-                <string>&lt;img src=&quot;:/assets/hotseat_recruit/icon_closed.png&quot; width=&quot;58&quot; height=&quot;58&quot;/&gt;</string>
-               </property>
-               <property name="alignment">
-                <set>Qt::AlignCenter</set>
-               </property>
-               <property name="flat" stdset="0">
-                <bool>true</bool>
-               </property>
-              </widget>
-             </item>
-             <item>
-              <widget class="QLabel" name="player_0_chosen_unit_8">
-               <property name="sizePolicy">
-                <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
-                 <horstretch>0</horstretch>
-                 <verstretch>0</verstretch>
-                </sizepolicy>
-               </property>
-               <property name="styleSheet">
-                <string notr="true">border-image: url(:/assets/hotseat_recruit/unit_icon_default.png);
-background-color: rgb(253, 234, 168);</string>
-               </property>
-               <property name="text">
-                <string>&lt;img src=&quot;:/assets/hotseat_recruit/icon_closed.png&quot; width=&quot;58&quot; height=&quot;58&quot;/&gt;</string>
-               </property>
-               <property name="alignment">
-                <set>Qt::AlignCenter</set>
-               </property>
-               <property name="flat" stdset="0">
-                <bool>true</bool>
-               </property>
-              </widget>
-             </item>
-             <item>
-              <widget class="QLabel" name="player_0_chosen_unit_9">
-               <property name="sizePolicy">
-                <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
-                 <horstretch>0</horstretch>
-                 <verstretch>0</verstretch>
-                </sizepolicy>
-               </property>
-               <property name="styleSheet">
-                <string notr="true">border-image: url(:/assets/hotseat_recruit/unit_icon_default.png);
 background-color: rgb(253, 234, 168);</string>
                </property>
                <property name="text">
@@ -605,9 +509,9 @@ background-color: rgb(253, 234, 168);</string>
            <widget class="QWidget" name="player_1_units" native="true">
             <property name="geometry">
              <rect>
-              <x>20</x>
-              <y>380</y>
-              <width>640</width>
+              <x>120</x>
+              <y>370</y>
+              <width>448</width>
               <height>64</height>
              </rect>
             </property>
@@ -633,29 +537,6 @@ background-color: rgb(253, 234, 168);</string>
              <property name="spacing">
               <number>0</number>
              </property>
-             <item row="0" column="5">
-              <widget class="QLabel" name="player_1_chosen_unit_5">
-               <property name="sizePolicy">
-                <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
-                 <horstretch>0</horstretch>
-                 <verstretch>0</verstretch>
-                </sizepolicy>
-               </property>
-               <property name="styleSheet">
-                <string notr="true">border-image: url(:/assets/hotseat_recruit/unit_icon_default.png);
-background-color: rgb(253, 234, 168);</string>
-               </property>
-               <property name="text">
-                <string>&lt;img src=&quot;:/assets/hotseat_recruit/icon_closed.png&quot; width=&quot;58&quot; height=&quot;58&quot;/&gt;</string>
-               </property>
-               <property name="alignment">
-                <set>Qt::AlignCenter</set>
-               </property>
-               <property name="flat" stdset="0">
-                <bool>true</bool>
-               </property>
-              </widget>
-             </item>
              <item row="0" column="4">
               <widget class="QLabel" name="player_1_chosen_unit_4">
                <property name="sizePolicy">
@@ -666,29 +547,6 @@ background-color: rgb(253, 234, 168);</string>
                </property>
                <property name="styleSheet">
                 <string notr="true">border-image: url(:/assets/hotseat_recruit/unit_icon_default.png);
-background-color: rgb(253, 234, 168);</string>
-               </property>
-               <property name="text">
-                <string>&lt;img src=&quot;:/assets/hotseat_recruit/icon_closed.png&quot; width=&quot;58&quot; height=&quot;58&quot;/&gt;</string>
-               </property>
-               <property name="alignment">
-                <set>Qt::AlignCenter</set>
-               </property>
-               <property name="flat" stdset="0">
-                <bool>true</bool>
-               </property>
-              </widget>
-             </item>
-             <item row="0" column="3">
-              <widget class="QLabel" name="player_1_chosen_unit_3">
-               <property name="sizePolicy">
-                <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
-                 <horstretch>0</horstretch>
-                 <verstretch>0</verstretch>
-                </sizepolicy>
-               </property>
-               <property name="styleSheet">
-                <string notr="true">border-image: url(:/assets/hotseat_recruit/unit_icon_default.png);
 background-color: rgb(253, 234, 168);</string>
                </property>
                <property name="text">
@@ -725,31 +583,8 @@ background-color: rgb(253, 234, 168);</string>
                </property>
               </widget>
              </item>
-             <item row="0" column="0">
-              <widget class="QLabel" name="player_1_chosen_unit_0">
-               <property name="sizePolicy">
-                <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
-                 <horstretch>0</horstretch>
-                 <verstretch>0</verstretch>
-                </sizepolicy>
-               </property>
-               <property name="styleSheet">
-                <string notr="true">border-image: url(:/assets/hotseat_recruit/unit_icon_default.png);
-background-color: rgb(253, 234, 168);</string>
-               </property>
-               <property name="text">
-                <string>&lt;img src=&quot;:/assets/hotseat_recruit/icon_closed.png&quot; width=&quot;58&quot; height=&quot;58&quot;/&gt;</string>
-               </property>
-               <property name="alignment">
-                <set>Qt::AlignCenter</set>
-               </property>
-               <property name="flat" stdset="0">
-                <bool>true</bool>
-               </property>
-              </widget>
-             </item>
-             <item row="0" column="7">
-              <widget class="QLabel" name="player_1_chosen_unit_7">
+             <item row="0" column="3">
+              <widget class="QLabel" name="player_1_chosen_unit_3">
                <property name="sizePolicy">
                 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
                  <horstretch>0</horstretch>
@@ -794,8 +629,8 @@ background-color: rgb(253, 234, 168);</string>
                </property>
               </widget>
              </item>
-             <item row="0" column="2">
-              <widget class="QLabel" name="player_1_chosen_unit_2">
+             <item row="0" column="5">
+              <widget class="QLabel" name="player_1_chosen_unit_5">
                <property name="sizePolicy">
                 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
                  <horstretch>0</horstretch>
@@ -817,8 +652,8 @@ background-color: rgb(253, 234, 168);</string>
                </property>
               </widget>
              </item>
-             <item row="0" column="8">
-              <widget class="QLabel" name="player_1_chosen_unit_8">
+             <item row="0" column="2">
+              <widget class="QLabel" name="player_1_chosen_unit_2">
                <property name="sizePolicy">
                 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
                  <horstretch>0</horstretch>
@@ -840,8 +675,8 @@ background-color: rgb(253, 234, 168);</string>
                </property>
               </widget>
              </item>
-             <item row="0" column="9">
-              <widget class="QLabel" name="player_1_chosen_unit_9">
+             <item row="0" column="0">
+              <widget class="QLabel" name="player_1_chosen_unit_0">
                <property name="sizePolicy">
                 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
                  <horstretch>0</horstretch>
@@ -897,20 +732,7 @@ color: rgb(253, 234, 168);</string>
            </widget>
           </widget>
          </item>
-         <item row="2" column="2">
-          <spacer name="horizontalSpacer_6">
-           <property name="orientation">
-            <enum>Qt::Horizontal</enum>
-           </property>
-           <property name="sizeHint" stdset="0">
-            <size>
-             <width>17</width>
-             <height>468</height>
-            </size>
-           </property>
-          </spacer>
-         </item>
-         <item row="3" column="0" colspan="3">
+         <item row="4" column="0" colspan="5">
           <widget class="QWidget" name="button" native="true">
            <property name="styleSheet">
             <string notr="true">background: none</string>
@@ -994,14 +816,74 @@ color: rgb(253, 234, 168);</string>
            </layout>
           </widget>
          </item>
+         <item row="0" column="0" colspan="5">
+          <widget class="QLabel" name="title_3">
+           <property name="sizePolicy">
+            <sizepolicy hsizetype="Preferred" vsizetype="Minimum">
+             <horstretch>0</horstretch>
+             <verstretch>0</verstretch>
+            </sizepolicy>
+           </property>
+           <property name="styleSheet">
+            <string notr="true">background: none;
+font: 32pt &quot;D-determination (RUS BY LYAJKA)&quot;;
+color: rgb(177, 45, 45);</string>
+           </property>
+           <property name="text">
+            <string>&lt;p align=&quot;center&quot;&gt;Начало битвы&lt;/p&gt;</string>
+           </property>
+          </widget>
+         </item>
+         <item row="3" column="4">
+          <spacer name="horizontalSpacer_6">
+           <property name="orientation">
+            <enum>Qt::Horizontal</enum>
+           </property>
+           <property name="sizeHint" stdset="0">
+            <size>
+             <width>17</width>
+             <height>468</height>
+            </size>
+           </property>
+          </spacer>
+         </item>
+         <item row="2" column="0" rowspan="2">
+          <spacer name="horizontalSpacer_5">
+           <property name="orientation">
+            <enum>Qt::Horizontal</enum>
+           </property>
+           <property name="sizeHint" stdset="0">
+            <size>
+             <width>16</width>
+             <height>477</height>
+            </size>
+           </property>
+          </spacer>
+         </item>
+         <item row="1" column="0" colspan="5">
+          <spacer name="verticalSpacer_5">
+           <property name="orientation">
+            <enum>Qt::Vertical</enum>
+           </property>
+           <property name="sizeType">
+            <enum>QSizePolicy::Fixed</enum>
+           </property>
+           <property name="sizeHint" stdset="0">
+            <size>
+             <width>728</width>
+             <height>25</height>
+            </size>
+           </property>
+          </spacer>
+         </item>
         </layout>
        </widget>
       </item>
      </layout>
     </widget>
    </item>
-   <item row="3" column="1">
-    <spacer name="verticalSpacer_2">
+   <item row="0" column="1">
+    <spacer name="verticalSpacer">
      <property name="orientation">
       <enum>Qt::Vertical</enum>
      </property>
@@ -1013,32 +895,6 @@ color: rgb(253, 234, 168);</string>
      </property>
     </spacer>
    </item>
-   <item row="0" column="0" rowspan="4">
-    <spacer name="horizontalSpacer">
-     <property name="orientation">
-      <enum>Qt::Horizontal</enum>
-     </property>
-     <property name="sizeHint" stdset="0">
-      <size>
-       <width>151</width>
-       <height>812</height>
-      </size>
-     </property>
-    </spacer>
-   </item>
-   <item row="0" column="2" rowspan="4">
-    <spacer name="horizontalSpacer_2">
-     <property name="orientation">
-      <enum>Qt::Horizontal</enum>
-     </property>
-     <property name="sizeHint" stdset="0">
-      <size>
-       <width>152</width>
-       <height>812</height>
-      </size>
-     </property>
-    </spacer>
-   </item>
   </layout>
  </widget>
  <resources/>

+ 3 - 1
ui/hotseat_recruitment/recruitmentscene.cpp

@@ -29,7 +29,9 @@ RecruitmentScene::RecruitmentScene(QWidget *parent)
 {
     ui->setupUi(this);
 
-    movie = new QMovie(":/assets/hotseat_recruit/image.gif");
+    movie = new QMovie(":/assets/hotseat_recruit/image.gif");\
+    movie->setScaledSize(QSize(600, 420));
+    movie->supportedFormats();
     ui->image->setMovie(movie);
     movie->start();
 

+ 391 - 467
ui/hotseat_recruitment/recruitmentscene.ui

@@ -50,8 +50,21 @@
       <property name="spacing">
        <number>0</number>
       </property>
-      <item row="2" column="1">
-       <spacer name="verticalSpacer_2">
+      <item row="1" column="0">
+       <spacer name="horizontalSpacer">
+        <property name="orientation">
+         <enum>Qt::Horizontal</enum>
+        </property>
+        <property name="sizeHint" stdset="0">
+         <size>
+          <width>167</width>
+          <height>20</height>
+         </size>
+        </property>
+       </spacer>
+      </item>
+      <item row="0" column="1">
+       <spacer name="verticalSpacer">
         <property name="orientation">
          <enum>Qt::Vertical</enum>
         </property>
@@ -76,8 +89,8 @@
         </property>
        </spacer>
       </item>
-      <item row="0" column="1">
-       <spacer name="verticalSpacer">
+      <item row="2" column="1">
+       <spacer name="verticalSpacer_2">
         <property name="orientation">
          <enum>Qt::Vertical</enum>
         </property>
@@ -89,19 +102,6 @@
         </property>
        </spacer>
       </item>
-      <item row="1" column="0">
-       <spacer name="horizontalSpacer">
-        <property name="orientation">
-         <enum>Qt::Horizontal</enum>
-        </property>
-        <property name="sizeHint" stdset="0">
-         <size>
-          <width>167</width>
-          <height>20</height>
-         </size>
-        </property>
-       </spacer>
-      </item>
       <item row="1" column="1">
        <widget class="QWidget" name="content" native="true">
         <layout class="QGridLayout" name="gridLayout">
@@ -284,8 +284,8 @@
             <string notr="true">background-image: url(:/assets/common/window/strong_translucent-background.png);</string>
            </property>
            <layout class="QGridLayout" name="gridLayout_9">
-            <item row="3" column="0" rowspan="3" colspan="2">
-             <widget class="QWidget" name="available_class_widget" native="true">
+            <item row="6" column="0" colspan="2">
+             <widget class="QWidget" name="chosen_units_widget" native="true">
               <property name="sizePolicy">
                <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
                 <horstretch>0</horstretch>
@@ -296,9 +296,10 @@
                <bool>false</bool>
               </property>
               <property name="styleSheet">
-               <string notr="true">background: none;</string>
+               <string notr="true">background: none;
+</string>
               </property>
-              <layout class="QGridLayout" name="gridLayout_4">
+              <layout class="QGridLayout" name="gridLayout_5">
                <property name="leftMargin">
                 <number>0</number>
                </property>
@@ -315,26 +316,20 @@
                 <number>0</number>
                </property>
                <item row="1" column="1" colspan="2">
-                <widget class="QWidget" name="available_units_list_" native="true">
-                 <property name="sizePolicy">
-                  <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
-                   <horstretch>0</horstretch>
-                   <verstretch>0</verstretch>
-                  </sizepolicy>
-                 </property>
+                <widget class="QWidget" name="chosen_units_grid_" native="true">
                  <property name="minimumSize">
                   <size>
-                   <width>320</width>
+                   <width>448</width>
                    <height>64</height>
                   </size>
                  </property>
                  <property name="maximumSize">
                   <size>
-                   <width>320</width>
+                   <width>448</width>
                    <height>64</height>
                   </size>
                  </property>
-                 <layout class="QGridLayout" name="available_units_layout_">
+                 <layout class="QGridLayout" name="chosen_units_layout_">
                   <property name="leftMargin">
                    <number>0</number>
                   </property>
@@ -350,8 +345,8 @@
                   <property name="spacing">
                    <number>0</number>
                   </property>
-                  <item row="0" column="1">
-                   <widget class="QLabel" name="available_unit_1">
+                  <item row="0" column="2">
+                   <widget class="QLabel" name="chosen_unit_2">
                     <property name="sizePolicy">
                      <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
                       <horstretch>0</horstretch>
@@ -373,8 +368,8 @@ background-color: rgb(253, 234, 168);</string>
                     </property>
                    </widget>
                   </item>
-                  <item row="0" column="2">
-                   <widget class="QLabel" name="available_unit_2">
+                  <item row="0" column="4">
+                   <widget class="QLabel" name="chosen_unit_4">
                     <property name="sizePolicy">
                      <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
                       <horstretch>0</horstretch>
@@ -396,8 +391,8 @@ background-color: rgb(253, 234, 168);</string>
                     </property>
                    </widget>
                   </item>
-                  <item row="0" column="3">
-                   <widget class="QLabel" name="available_unit_3">
+                  <item row="0" column="1">
+                   <widget class="QLabel" name="chosen_unit_1">
                     <property name="sizePolicy">
                      <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
                       <horstretch>0</horstretch>
@@ -419,8 +414,8 @@ background-color: rgb(253, 234, 168);</string>
                     </property>
                    </widget>
                   </item>
-                  <item row="0" column="4">
-                   <widget class="QLabel" name="available_unit_4">
+                  <item row="0" column="0">
+                   <widget class="QLabel" name="chosen_unit_0">
                     <property name="sizePolicy">
                      <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
                       <horstretch>0</horstretch>
@@ -442,8 +437,8 @@ background-color: rgb(253, 234, 168);</string>
                     </property>
                    </widget>
                   </item>
-                  <item row="0" column="0">
-                   <widget class="QLabel" name="available_unit_0">
+                  <item row="0" column="5">
+                   <widget class="QLabel" name="chosen_unit_5">
                     <property name="sizePolicy">
                      <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
                       <horstretch>0</horstretch>
@@ -460,8 +455,51 @@ background-color: rgb(253, 234, 168);</string>
                     <property name="alignment">
                      <set>Qt::AlignCenter</set>
                     </property>
-                    <property name="autoRepeat" stdset="0">
-                     <bool>false</bool>
+                    <property name="flat" stdset="0">
+                     <bool>true</bool>
+                    </property>
+                   </widget>
+                  </item>
+                  <item row="0" column="3">
+                   <widget class="QLabel" name="chosen_unit_3">
+                    <property name="sizePolicy">
+                     <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
+                      <horstretch>0</horstretch>
+                      <verstretch>0</verstretch>
+                     </sizepolicy>
+                    </property>
+                    <property name="styleSheet">
+                     <string notr="true">border-image: url(:/assets/hotseat_recruit/unit_icon_default.png);
+background-color: rgb(253, 234, 168);</string>
+                    </property>
+                    <property name="text">
+                     <string>&lt;img src=&quot;:/assets/hotseat_recruit/icon_closed.png&quot; width=&quot;58&quot; height=&quot;58&quot;/&gt;</string>
+                    </property>
+                    <property name="alignment">
+                     <set>Qt::AlignCenter</set>
+                    </property>
+                    <property name="flat" stdset="0">
+                     <bool>true</bool>
+                    </property>
+                   </widget>
+                  </item>
+                  <item row="0" column="6">
+                   <widget class="QLabel" name="chosen_unit_6">
+                    <property name="sizePolicy">
+                     <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
+                      <horstretch>0</horstretch>
+                      <verstretch>0</verstretch>
+                     </sizepolicy>
+                    </property>
+                    <property name="styleSheet">
+                     <string notr="true">border-image: url(:/assets/hotseat_recruit/unit_icon_default.png);
+background-color: rgb(253, 234, 168);</string>
+                    </property>
+                    <property name="text">
+                     <string>&lt;img src=&quot;:/assets/hotseat_recruit/icon_closed.png&quot; width=&quot;58&quot; height=&quot;58&quot;/&gt;</string>
+                    </property>
+                    <property name="alignment">
+                     <set>Qt::AlignCenter</set>
                     </property>
                     <property name="flat" stdset="0">
                      <bool>true</bool>
@@ -472,7 +510,7 @@ background-color: rgb(253, 234, 168);</string>
                 </widget>
                </item>
                <item row="1" column="0">
-                <spacer name="horizontalSpacer_3">
+                <spacer name="horizontalSpacer_6">
                  <property name="orientation">
                   <enum>Qt::Horizontal</enum>
                  </property>
@@ -481,20 +519,14 @@ background-color: rgb(253, 234, 168);</string>
                  </property>
                  <property name="sizeHint" stdset="0">
                   <size>
-                   <width>100</width>
+                   <width>36</width>
                    <height>20</height>
                   </size>
                  </property>
                 </spacer>
                </item>
-               <item row="0" column="0" colspan="3">
-                <widget class="QLabel" name="available_units_text_">
-                 <property name="sizePolicy">
-                  <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
-                   <horstretch>0</horstretch>
-                   <verstretch>0</verstretch>
-                  </sizepolicy>
-                 </property>
+               <item row="0" column="0" colspan="2">
+                <widget class="QLabel" name="chosen_units_label_">
                  <property name="styleSheet">
                   <string notr="true">background: none;
 background-image:none;
@@ -502,103 +534,62 @@ image: none;
 font: 16pt &quot;D-determination (RUS BY LYAJKA)&quot;;</string>
                  </property>
                  <property name="text">
-                  <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot;color:#fdeaa8;&quot;&gt;Доступные классы:&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
+                  <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot;color:#FDEAA8;&quot;&gt;Выбранные юниты:&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
                  </property>
                 </widget>
                </item>
               </layout>
              </widget>
             </item>
-            <item row="0" column="0" colspan="3">
-             <widget class="QLabel" name="title_">
-              <property name="styleSheet">
-               <string notr="true">background: none;
-background-image:none;
-image: none;
-font: 36pt &quot;D-determination (RUS BY LYAJKA)&quot;;
-color: rgb(177, 45, 45);</string>
-              </property>
-              <property name="text">
-               <string>&lt;p align=&quot;center&quot;&gt;Набор юнитов&lt;/p&gt;</string>
-              </property>
-             </widget>
-            </item>
-            <item row="2" column="0" colspan="2">
-             <spacer name="verticalSpacer_12">
-              <property name="orientation">
-               <enum>Qt::Vertical</enum>
-              </property>
-              <property name="sizeType">
-               <enum>QSizePolicy::Fixed</enum>
-              </property>
-              <property name="sizeHint" stdset="0">
-               <size>
-                <width>525</width>
-                <height>20</height>
-               </size>
-              </property>
-             </spacer>
-            </item>
-            <item row="6" column="0" colspan="2">
-             <spacer name="verticalSpacer_15">
-              <property name="orientation">
-               <enum>Qt::Vertical</enum>
-              </property>
-              <property name="sizeType">
-               <enum>QSizePolicy::Fixed</enum>
+            <item row="4" column="2" rowspan="4">
+             <widget class="QLabel" name="image">
+              <property name="sizePolicy">
+               <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
+                <horstretch>0</horstretch>
+                <verstretch>0</verstretch>
+               </sizepolicy>
               </property>
-              <property name="sizeHint" stdset="0">
+              <property name="maximumSize">
                <size>
-                <width>525</width>
-                <height>20</height>
+                <width>600</width>
+                <height>420</height>
                </size>
               </property>
-             </spacer>
-            </item>
-            <item row="8" column="0" rowspan="2" colspan="2">
-             <spacer name="verticalSpacer_8">
-              <property name="orientation">
-               <enum>Qt::Vertical</enum>
+              <property name="tabletTracking">
+               <bool>false</bool>
               </property>
-              <property name="sizeType">
-               <enum>QSizePolicy::Expanding</enum>
+              <property name="styleSheet">
+               <string notr="true">background: none</string>
               </property>
-              <property name="sizeHint" stdset="0">
-               <size>
-                <width>20</width>
-                <height>40</height>
-               </size>
+              <property name="frameShape">
+               <enum>QFrame::Panel</enum>
               </property>
-             </spacer>
-            </item>
-            <item row="9" column="2">
-             <spacer name="verticalSpacer_3">
-              <property name="orientation">
-               <enum>Qt::Vertical</enum>
+              <property name="frameShadow">
+               <enum>QFrame::Plain</enum>
               </property>
-              <property name="sizeType">
-               <enum>QSizePolicy::Maximum</enum>
+              <property name="lineWidth">
+               <number>5</number>
               </property>
-              <property name="sizeHint" stdset="0">
-               <size>
-                <width>20</width>
-                <height>40</height>
-               </size>
+              <property name="text">
+               <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;img src=&quot;:/assets/hotseat_recruit/image.gif&quot;/&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
               </property>
-             </spacer>
+             </widget>
             </item>
-            <item row="1" column="0">
-             <widget class="QWidget" name="chosen_race_widget" native="true">
+            <item row="3" column="0" rowspan="3" colspan="2">
+             <widget class="QWidget" name="available_class_widget" native="true">
               <property name="sizePolicy">
-               <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
+               <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
                 <horstretch>0</horstretch>
                 <verstretch>0</verstretch>
                </sizepolicy>
               </property>
+              <property name="autoFillBackground">
+               <bool>false</bool>
+              </property>
               <property name="styleSheet">
                <string notr="true">background: none;</string>
               </property>
-              <layout class="QGridLayout" name="gridLayout_6">
+              <layout class="QGridLayout" name="gridLayout_4">
                <property name="leftMargin">
                 <number>0</number>
                </property>
@@ -614,46 +605,183 @@ color: rgb(177, 45, 45);</string>
                <property name="spacing">
                 <number>0</number>
                </property>
-               <item row="0" column="2" rowspan="5" colspan="2">
-                <widget class="QLabel" name="chosen_race_image_">
+               <item row="1" column="1" colspan="2">
+                <widget class="QWidget" name="available_units_list_" native="true">
+                 <property name="sizePolicy">
+                  <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
+                   <horstretch>0</horstretch>
+                   <verstretch>0</verstretch>
+                  </sizepolicy>
+                 </property>
                  <property name="minimumSize">
                   <size>
-                   <width>100</width>
-                   <height>100</height>
+                   <width>320</width>
+                   <height>64</height>
                   </size>
                  </property>
                  <property name="maximumSize">
                   <size>
-                   <width>100</width>
-                   <height>100</height>
+                   <width>320</width>
+                   <height>64</height>
                   </size>
                  </property>
-                 <property name="styleSheet">
-                  <string notr="true">background: none;</string>
-                 </property>
-                 <property name="text">
-                  <string>&lt;img src=&quot;:/assets/hotseat_recruit/unknown.png&quot; width=&quot;100&quot; height=&quot;100&quot;/&gt;</string>
-                 </property>
-                </widget>
-               </item>
-               <item row="2" column="0" rowspan="2">
-                <widget class="QLabel" name="available_money_text_">
-                 <property name="styleSheet">
-                  <string notr="true">background: none;
-background-image:none;
-image: none;
-font: 12pt &quot;D-determination (RUS BY LYAJKA)&quot;;
-color: rgb(255, 0, 0);</string>
-                 </property>
-                 <property name="text">
-                  <string>Монеты: 0000000</string>
-                 </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>
+                  <item row="0" column="1">
+                   <widget class="QLabel" name="available_unit_1">
+                    <property name="sizePolicy">
+                     <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
+                      <horstretch>0</horstretch>
+                      <verstretch>0</verstretch>
+                     </sizepolicy>
+                    </property>
+                    <property name="styleSheet">
+                     <string notr="true">border-image: url(:/assets/hotseat_recruit/unit_icon_default.png);
+background-color: rgb(253, 234, 168);</string>
+                    </property>
+                    <property name="text">
+                     <string>&lt;img src=&quot;:/assets/hotseat_recruit/icon_closed.png&quot; width=&quot;58&quot; height=&quot;58&quot;/&gt;</string>
+                    </property>
+                    <property name="alignment">
+                     <set>Qt::AlignCenter</set>
+                    </property>
+                    <property name="flat" stdset="0">
+                     <bool>true</bool>
+                    </property>
+                   </widget>
+                  </item>
+                  <item row="0" column="2">
+                   <widget class="QLabel" name="available_unit_2">
+                    <property name="sizePolicy">
+                     <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
+                      <horstretch>0</horstretch>
+                      <verstretch>0</verstretch>
+                     </sizepolicy>
+                    </property>
+                    <property name="styleSheet">
+                     <string notr="true">border-image: url(:/assets/hotseat_recruit/unit_icon_default.png);
+background-color: rgb(253, 234, 168);</string>
+                    </property>
+                    <property name="text">
+                     <string>&lt;img src=&quot;:/assets/hotseat_recruit/icon_closed.png&quot; width=&quot;58&quot; height=&quot;58&quot;/&gt;</string>
+                    </property>
+                    <property name="alignment">
+                     <set>Qt::AlignCenter</set>
+                    </property>
+                    <property name="flat" stdset="0">
+                     <bool>true</bool>
+                    </property>
+                   </widget>
+                  </item>
+                  <item row="0" column="3">
+                   <widget class="QLabel" name="available_unit_3">
+                    <property name="sizePolicy">
+                     <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
+                      <horstretch>0</horstretch>
+                      <verstretch>0</verstretch>
+                     </sizepolicy>
+                    </property>
+                    <property name="styleSheet">
+                     <string notr="true">border-image: url(:/assets/hotseat_recruit/unit_icon_default.png);
+background-color: rgb(253, 234, 168);</string>
+                    </property>
+                    <property name="text">
+                     <string>&lt;img src=&quot;:/assets/hotseat_recruit/icon_closed.png&quot; width=&quot;58&quot; height=&quot;58&quot;/&gt;</string>
+                    </property>
+                    <property name="alignment">
+                     <set>Qt::AlignCenter</set>
+                    </property>
+                    <property name="flat" stdset="0">
+                     <bool>true</bool>
+                    </property>
+                   </widget>
+                  </item>
+                  <item row="0" column="4">
+                   <widget class="QLabel" name="available_unit_4">
+                    <property name="sizePolicy">
+                     <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
+                      <horstretch>0</horstretch>
+                      <verstretch>0</verstretch>
+                     </sizepolicy>
+                    </property>
+                    <property name="styleSheet">
+                     <string notr="true">border-image: url(:/assets/hotseat_recruit/unit_icon_default.png);
+background-color: rgb(253, 234, 168);</string>
+                    </property>
+                    <property name="text">
+                     <string>&lt;img src=&quot;:/assets/hotseat_recruit/icon_closed.png&quot; width=&quot;58&quot; height=&quot;58&quot;/&gt;</string>
+                    </property>
+                    <property name="alignment">
+                     <set>Qt::AlignCenter</set>
+                    </property>
+                    <property name="flat" stdset="0">
+                     <bool>true</bool>
+                    </property>
+                   </widget>
+                  </item>
+                  <item row="0" column="0">
+                   <widget class="QLabel" name="available_unit_0">
+                    <property name="sizePolicy">
+                     <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
+                      <horstretch>0</horstretch>
+                      <verstretch>0</verstretch>
+                     </sizepolicy>
+                    </property>
+                    <property name="styleSheet">
+                     <string notr="true">border-image: url(:/assets/hotseat_recruit/unit_icon_default.png);
+background-color: rgb(253, 234, 168);</string>
+                    </property>
+                    <property name="text">
+                     <string>&lt;img src=&quot;:/assets/hotseat_recruit/icon_closed.png&quot; width=&quot;58&quot; height=&quot;58&quot;/&gt;</string>
+                    </property>
+                    <property name="alignment">
+                     <set>Qt::AlignCenter</set>
+                    </property>
+                    <property name="autoRepeat" stdset="0">
+                     <bool>false</bool>
+                    </property>
+                    <property name="flat" stdset="0">
+                     <bool>true</bool>
+                    </property>
+                   </widget>
+                  </item>
+                 </layout>
                 </widget>
                </item>
                <item row="1" column="0">
-                <widget class="QLabel" name="chosen_race_text_">
+                <spacer name="horizontalSpacer_3">
+                 <property name="orientation">
+                  <enum>Qt::Horizontal</enum>
+                 </property>
+                 <property name="sizeType">
+                  <enum>QSizePolicy::Fixed</enum>
+                 </property>
+                 <property name="sizeHint" stdset="0">
+                  <size>
+                   <width>100</width>
+                   <height>20</height>
+                  </size>
+                 </property>
+                </spacer>
+               </item>
+               <item row="0" column="0" colspan="3">
+                <widget class="QLabel" name="available_units_text_">
                  <property name="sizePolicy">
-                  <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
+                  <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
                    <horstretch>0</horstretch>
                    <verstretch>0</verstretch>
                   </sizepolicy>
@@ -665,26 +793,10 @@ image: none;
 font: 16pt &quot;D-determination (RUS BY LYAJKA)&quot;;</string>
                  </property>
                  <property name="text">
-                  <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; color:#FDEAA8;&quot;&gt;Выбранная раса:&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
+                  <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot;color:#fdeaa8;&quot;&gt;Доступные классы:&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
                  </property>
                 </widget>
                </item>
-               <item row="1" column="1">
-                <spacer name="horizontalSpacer_5">
-                 <property name="orientation">
-                  <enum>Qt::Horizontal</enum>
-                 </property>
-                 <property name="sizeType">
-                  <enum>QSizePolicy::Fixed</enum>
-                 </property>
-                 <property name="sizeHint" stdset="0">
-                  <size>
-                   <width>40</width>
-                   <height>20</height>
-                  </size>
-                 </property>
-                </spacer>
-               </item>
               </layout>
              </widget>
             </item>
@@ -807,7 +919,7 @@ background-color: rgb(253, 234, 168);</string>
               </layout>
              </widget>
             </item>
-            <item row="10" column="0" colspan="3">
+            <item row="9" column="0" colspan="3">
              <widget class="QWidget" name="buttons_widget" native="true">
               <property name="styleSheet">
                <string notr="true">background:none;</string>
@@ -955,22 +1067,18 @@ background-color: rgb(253, 234, 168);</string>
               </layout>
              </widget>
             </item>
-            <item row="7" column="0" colspan="2">
-             <widget class="QWidget" name="chosen_units_widget" native="true">
+            <item row="1" column="0">
+             <widget class="QWidget" name="chosen_race_widget" native="true">
               <property name="sizePolicy">
-               <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
+               <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
                 <horstretch>0</horstretch>
                 <verstretch>0</verstretch>
                </sizepolicy>
               </property>
-              <property name="autoFillBackground">
-               <bool>false</bool>
-              </property>
               <property name="styleSheet">
-               <string notr="true">background: none;
-</string>
+               <string notr="true">background: none;</string>
               </property>
-              <layout class="QGridLayout" name="gridLayout_5">
+              <layout class="QGridLayout" name="gridLayout_6">
                <property name="leftMargin">
                 <number>0</number>
                </property>
@@ -986,24 +1094,50 @@ background-color: rgb(253, 234, 168);</string>
                <property name="spacing">
                 <number>0</number>
                </property>
-               <item row="1" column="0">
-                <spacer name="horizontalSpacer_6">
-                 <property name="orientation">
-                  <enum>Qt::Horizontal</enum>
-                 </property>
-                 <property name="sizeType">
-                  <enum>QSizePolicy::Fixed</enum>
+               <item row="0" column="2" rowspan="5" colspan="2">
+                <widget class="QLabel" name="chosen_race_image_">
+                 <property name="minimumSize">
+                  <size>
+                   <width>100</width>
+                   <height>100</height>
+                  </size>
                  </property>
-                 <property name="sizeHint" stdset="0">
+                 <property name="maximumSize">
                   <size>
                    <width>100</width>
-                   <height>20</height>
+                   <height>100</height>
                   </size>
                  </property>
-                </spacer>
+                 <property name="styleSheet">
+                  <string notr="true">background: none;</string>
+                 </property>
+                 <property name="text">
+                  <string>&lt;img src=&quot;:/assets/hotseat_recruit/unknown.png&quot; width=&quot;100&quot; height=&quot;100&quot;/&gt;</string>
+                 </property>
+                </widget>
                </item>
-               <item row="0" column="0" colspan="2">
-                <widget class="QLabel" name="chosen_units_label_">
+               <item row="2" column="0" rowspan="2">
+                <widget class="QLabel" name="available_money_text_">
+                 <property name="styleSheet">
+                  <string notr="true">background: none;
+background-image:none;
+image: none;
+font: 12pt &quot;D-determination (RUS BY LYAJKA)&quot;;
+color: rgb(255, 0, 0);</string>
+                 </property>
+                 <property name="text">
+                  <string>Монеты: 0000000</string>
+                 </property>
+                </widget>
+               </item>
+               <item row="1" column="0">
+                <widget class="QLabel" name="chosen_race_text_">
+                 <property name="sizePolicy">
+                  <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
+                   <horstretch>0</horstretch>
+                   <verstretch>0</verstretch>
+                  </sizepolicy>
+                 </property>
                  <property name="styleSheet">
                   <string notr="true">background: none;
 background-image:none;
@@ -1011,301 +1145,91 @@ image: none;
 font: 16pt &quot;D-determination (RUS BY LYAJKA)&quot;;</string>
                  </property>
                  <property name="text">
-                  <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot;color:#FDEAA8;&quot;&gt;Выбранные юниты:&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
+                  <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; color:#FDEAA8;&quot;&gt;Выбранная раса:&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
                  </property>
                 </widget>
                </item>
-               <item row="1" column="1" colspan="2">
-                <widget class="QWidget" name="chosen_units_grid_" native="true">
-                 <property name="minimumSize">
+               <item row="1" column="1">
+                <spacer name="horizontalSpacer_5">
+                 <property name="orientation">
+                  <enum>Qt::Horizontal</enum>
+                 </property>
+                 <property name="sizeType">
+                  <enum>QSizePolicy::Fixed</enum>
+                 </property>
+                 <property name="sizeHint" stdset="0">
                   <size>
-                   <width>320</width>
-                   <height>128</height>
+                   <width>40</width>
+                   <height>20</height>
                   </size>
                  </property>
-                 <property name="maximumSize">
-                  <size>
-                   <width>320</width>
-                   <height>128</height>
-                  </size>
-                 </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>
-                  <item row="1" column="4">
-                   <widget class="QLabel" name="chosen_unit_9">
-                    <property name="sizePolicy">
-                     <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
-                      <horstretch>0</horstretch>
-                      <verstretch>0</verstretch>
-                     </sizepolicy>
-                    </property>
-                    <property name="styleSheet">
-                     <string notr="true">border-image: url(:/assets/hotseat_recruit/unit_icon_default.png);
-background-color: rgb(253, 234, 168);</string>
-                    </property>
-                    <property name="lineWidth">
-                     <number>0</number>
-                    </property>
-                    <property name="text">
-                     <string>&lt;img src=&quot;:/assets/hotseat_recruit/icon_closed.png&quot; width=&quot;58&quot; height=&quot;58&quot;/&gt;</string>
-                    </property>
-                    <property name="alignment">
-                     <set>Qt::AlignCenter</set>
-                    </property>
-                    <property name="flat" stdset="0">
-                     <bool>true</bool>
-                    </property>
-                   </widget>
-                  </item>
-                  <item row="0" column="3">
-                   <widget class="QLabel" name="chosen_unit_3">
-                    <property name="sizePolicy">
-                     <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
-                      <horstretch>0</horstretch>
-                      <verstretch>0</verstretch>
-                     </sizepolicy>
-                    </property>
-                    <property name="styleSheet">
-                     <string notr="true">border-image: url(:/assets/hotseat_recruit/unit_icon_default.png);
-background-color: rgb(253, 234, 168);</string>
-                    </property>
-                    <property name="text">
-                     <string>&lt;img src=&quot;:/assets/hotseat_recruit/icon_closed.png&quot; width=&quot;58&quot; height=&quot;58&quot;/&gt;</string>
-                    </property>
-                    <property name="alignment">
-                     <set>Qt::AlignCenter</set>
-                    </property>
-                    <property name="flat" stdset="0">
-                     <bool>true</bool>
-                    </property>
-                   </widget>
-                  </item>
-                  <item row="1" column="3">
-                   <widget class="QLabel" name="chosen_unit_8">
-                    <property name="sizePolicy">
-                     <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
-                      <horstretch>0</horstretch>
-                      <verstretch>0</verstretch>
-                     </sizepolicy>
-                    </property>
-                    <property name="styleSheet">
-                     <string notr="true">border-image: url(:/assets/hotseat_recruit/unit_icon_default.png);
-background-color: rgb(253, 234, 168);</string>
-                    </property>
-                    <property name="text">
-                     <string>&lt;img src=&quot;:/assets/hotseat_recruit/icon_closed.png&quot; width=&quot;58&quot; height=&quot;58&quot;/&gt;</string>
-                    </property>
-                    <property name="alignment">
-                     <set>Qt::AlignCenter</set>
-                    </property>
-                    <property name="flat" stdset="0">
-                     <bool>true</bool>
-                    </property>
-                   </widget>
-                  </item>
-                  <item row="1" column="1">
-                   <widget class="QLabel" name="chosen_unit_6">
-                    <property name="sizePolicy">
-                     <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
-                      <horstretch>0</horstretch>
-                      <verstretch>0</verstretch>
-                     </sizepolicy>
-                    </property>
-                    <property name="styleSheet">
-                     <string notr="true">border-image: url(:/assets/hotseat_recruit/unit_icon_default.png);
-background-color: rgb(253, 234, 168);</string>
-                    </property>
-                    <property name="text">
-                     <string>&lt;img src=&quot;:/assets/hotseat_recruit/icon_closed.png&quot; width=&quot;58&quot; height=&quot;58&quot;/&gt;</string>
-                    </property>
-                    <property name="alignment">
-                     <set>Qt::AlignCenter</set>
-                    </property>
-                    <property name="flat" stdset="0">
-                     <bool>true</bool>
-                    </property>
-                   </widget>
-                  </item>
-                  <item row="0" column="2">
-                   <widget class="QLabel" name="chosen_unit_2">
-                    <property name="sizePolicy">
-                     <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
-                      <horstretch>0</horstretch>
-                      <verstretch>0</verstretch>
-                     </sizepolicy>
-                    </property>
-                    <property name="styleSheet">
-                     <string notr="true">border-image: url(:/assets/hotseat_recruit/unit_icon_default.png);
-background-color: rgb(253, 234, 168);</string>
-                    </property>
-                    <property name="text">
-                     <string>&lt;img src=&quot;:/assets/hotseat_recruit/icon_closed.png&quot; width=&quot;58&quot; height=&quot;58&quot;/&gt;</string>
-                    </property>
-                    <property name="alignment">
-                     <set>Qt::AlignCenter</set>
-                    </property>
-                    <property name="flat" stdset="0">
-                     <bool>true</bool>
-                    </property>
-                   </widget>
-                  </item>
-                  <item row="1" column="0">
-                   <widget class="QLabel" name="chosen_unit_5">
-                    <property name="sizePolicy">
-                     <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
-                      <horstretch>0</horstretch>
-                      <verstretch>0</verstretch>
-                     </sizepolicy>
-                    </property>
-                    <property name="styleSheet">
-                     <string notr="true">border-image: url(:/assets/hotseat_recruit/unit_icon_default.png);
-background-color: rgb(253, 234, 168);</string>
-                    </property>
-                    <property name="text">
-                     <string>&lt;img src=&quot;:/assets/hotseat_recruit/icon_closed.png&quot; width=&quot;58&quot; height=&quot;58&quot;/&gt;</string>
-                    </property>
-                    <property name="alignment">
-                     <set>Qt::AlignCenter</set>
-                    </property>
-                    <property name="flat" stdset="0">
-                     <bool>true</bool>
-                    </property>
-                   </widget>
-                  </item>
-                  <item row="0" column="1">
-                   <widget class="QLabel" name="chosen_unit_1">
-                    <property name="sizePolicy">
-                     <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
-                      <horstretch>0</horstretch>
-                      <verstretch>0</verstretch>
-                     </sizepolicy>
-                    </property>
-                    <property name="styleSheet">
-                     <string notr="true">border-image: url(:/assets/hotseat_recruit/unit_icon_default.png);
-background-color: rgb(253, 234, 168);</string>
-                    </property>
-                    <property name="text">
-                     <string>&lt;img src=&quot;:/assets/hotseat_recruit/icon_closed.png&quot; width=&quot;58&quot; height=&quot;58&quot;/&gt;</string>
-                    </property>
-                    <property name="alignment">
-                     <set>Qt::AlignCenter</set>
-                    </property>
-                    <property name="flat" stdset="0">
-                     <bool>true</bool>
-                    </property>
-                   </widget>
-                  </item>
-                  <item row="0" column="4">
-                   <widget class="QLabel" name="chosen_unit_4">
-                    <property name="sizePolicy">
-                     <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
-                      <horstretch>0</horstretch>
-                      <verstretch>0</verstretch>
-                     </sizepolicy>
-                    </property>
-                    <property name="styleSheet">
-                     <string notr="true">border-image: url(:/assets/hotseat_recruit/unit_icon_default.png);
-background-color: rgb(253, 234, 168);</string>
-                    </property>
-                    <property name="text">
-                     <string>&lt;img src=&quot;:/assets/hotseat_recruit/icon_closed.png&quot; width=&quot;58&quot; height=&quot;58&quot;/&gt;</string>
-                    </property>
-                    <property name="alignment">
-                     <set>Qt::AlignCenter</set>
-                    </property>
-                    <property name="flat" stdset="0">
-                     <bool>true</bool>
-                    </property>
-                   </widget>
-                  </item>
-                  <item row="1" column="2">
-                   <widget class="QLabel" name="chosen_unit_7">
-                    <property name="sizePolicy">
-                     <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
-                      <horstretch>0</horstretch>
-                      <verstretch>0</verstretch>
-                     </sizepolicy>
-                    </property>
-                    <property name="styleSheet">
-                     <string notr="true">border-image: url(:/assets/hotseat_recruit/unit_icon_default.png);
-background-color: rgb(253, 234, 168);</string>
-                    </property>
-                    <property name="text">
-                     <string>&lt;img src=&quot;:/assets/hotseat_recruit/icon_closed.png&quot; width=&quot;58&quot; height=&quot;58&quot;/&gt;</string>
-                    </property>
-                    <property name="alignment">
-                     <set>Qt::AlignCenter</set>
-                    </property>
-                    <property name="flat" stdset="0">
-                     <bool>true</bool>
-                    </property>
-                   </widget>
-                  </item>
-                  <item row="0" column="0">
-                   <widget class="QLabel" name="chosen_unit_0">
-                    <property name="sizePolicy">
-                     <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
-                      <horstretch>0</horstretch>
-                      <verstretch>0</verstretch>
-                     </sizepolicy>
-                    </property>
-                    <property name="styleSheet">
-                     <string notr="true">border-image: url(:/assets/hotseat_recruit/unit_icon_default.png);
-background-color: rgb(253, 234, 168);</string>
-                    </property>
-                    <property name="text">
-                     <string>&lt;img src=&quot;:/assets/hotseat_recruit/icon_closed.png&quot; width=&quot;58&quot; height=&quot;58&quot;/&gt;</string>
-                    </property>
-                    <property name="alignment">
-                     <set>Qt::AlignCenter</set>
-                    </property>
-                    <property name="flat" stdset="0">
-                     <bool>true</bool>
-                    </property>
-                   </widget>
-                  </item>
-                 </layout>
-                </widget>
+                </spacer>
                </item>
               </layout>
              </widget>
             </item>
-            <item row="4" column="2" rowspan="5">
-             <widget class="QLabel" name="image">
-              <property name="sizePolicy">
-               <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
-                <horstretch>0</horstretch>
-                <verstretch>0</verstretch>
-               </sizepolicy>
+            <item row="8" column="2">
+             <spacer name="verticalSpacer_3">
+              <property name="orientation">
+               <enum>Qt::Vertical</enum>
               </property>
-              <property name="maximumSize">
+              <property name="sizeType">
+               <enum>QSizePolicy::Maximum</enum>
+              </property>
+              <property name="sizeHint" stdset="0">
+               <size>
+                <width>20</width>
+                <height>60</height>
+               </size>
+              </property>
+             </spacer>
+            </item>
+            <item row="2" column="0" colspan="2">
+             <spacer name="verticalSpacer_12">
+              <property name="orientation">
+               <enum>Qt::Vertical</enum>
+              </property>
+              <property name="sizeType">
+               <enum>QSizePolicy::Fixed</enum>
+              </property>
+              <property name="sizeHint" stdset="0">
                <size>
-                <width>16777215</width>
-                <height>16777215</height>
+                <width>525</width>
+                <height>40</height>
                </size>
               </property>
+             </spacer>
+            </item>
+            <item row="0" column="0" colspan="3">
+             <widget class="QLabel" name="title_">
               <property name="styleSheet">
-               <string notr="true">background: none</string>
+               <string notr="true">background: none;
+background-image:none;
+image: none;
+font: 36pt &quot;D-determination (RUS BY LYAJKA)&quot;;
+color: rgb(177, 45, 45);</string>
               </property>
               <property name="text">
-               <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;img src=&quot;:/assets/hotseat_recruit/image.gif&quot;/&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
+               <string>&lt;p align=&quot;center&quot;&gt;Набор юнитов&lt;/p&gt;</string>
               </property>
              </widget>
             </item>
+            <item row="8" column="0" colspan="2">
+             <spacer name="verticalSpacer_8">
+              <property name="orientation">
+               <enum>Qt::Vertical</enum>
+              </property>
+              <property name="sizeType">
+               <enum>QSizePolicy::Expanding</enum>
+              </property>
+              <property name="sizeHint" stdset="0">
+               <size>
+                <width>20</width>
+                <height>50</height>
+               </size>
+              </property>
+             </spacer>
+            </item>
            </layout>
           </widget>
          </item>