2022-09-18 01:23:17 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<ui version="4.0">
|
|
|
|
<class>PlayerParams</class>
|
|
|
|
<widget class="QWidget" name="PlayerParams">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
2023-09-11 18:01:53 +02:00
|
|
|
<width>614</width>
|
2022-09-18 01:23:17 +02:00
|
|
|
<height>160</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="sizePolicy">
|
2023-04-29 19:38:48 +02:00
|
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
|
2022-09-18 01:23:17 +02:00
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="maximumSize">
|
|
|
|
<size>
|
|
|
|
<width>16777215</width>
|
|
|
|
<height>160</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="windowTitle">
|
2022-12-26 22:56:26 +02:00
|
|
|
<string/>
|
2022-09-18 01:23:17 +02:00
|
|
|
</property>
|
2023-09-11 18:01:53 +02:00
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
2022-09-18 01:23:17 +02:00
|
|
|
<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="QGroupBox" name="playerColor">
|
|
|
|
<property name="maximumSize">
|
|
|
|
<size>
|
|
|
|
<width>16777215</width>
|
|
|
|
<height>160</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="title">
|
2022-12-26 22:56:26 +02:00
|
|
|
<string/>
|
2022-09-18 01:23:17 +02:00
|
|
|
</property>
|
2023-09-11 18:01:53 +02:00
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
|
|
<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>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
2023-04-21 01:17:13 +02:00
|
|
|
<item>
|
2023-09-11 18:01:53 +02:00
|
|
|
<widget class="QRadioButton" name="radioCpu">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>CPU only</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
2023-04-21 01:17:13 +02:00
|
|
|
</item>
|
2023-09-11 18:01:53 +02:00
|
|
|
<item>
|
|
|
|
<widget class="QRadioButton" name="radioHuman">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Human/CPU</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="label_2">
|
|
|
|
<property name="text">
|
|
|
|
<string>Team</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QComboBox" name="teamId">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
2023-04-21 01:17:13 +02:00
|
|
|
</item>
|
2023-09-11 18:01:53 +02:00
|
|
|
<item>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="label">
|
|
|
|
<property name="text">
|
|
|
|
<string>Color</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QComboBox" name="playerColorCombo">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="label_3">
|
|
|
|
<property name="text">
|
|
|
|
<string>Main town</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
|
|
|
<property name="spacing">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="topMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<item>
|
|
|
|
<widget class="QComboBox" name="mainTown">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>(default)</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QToolButton" name="townSelect">
|
|
|
|
<property name="text">
|
|
|
|
<string>...</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QCheckBox" name="generateHero">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Generate hero at main</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
2023-04-21 01:17:13 +02:00
|
|
|
</item>
|
2023-09-11 18:01:53 +02:00
|
|
|
<item>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_4">
|
|
|
|
<property name="leftMargin">
|
|
|
|
<number>0</number>
|
2023-04-21 01:17:13 +02:00
|
|
|
</property>
|
2023-09-11 18:01:53 +02:00
|
|
|
<item>
|
|
|
|
<widget class="QListWidget" name="allowedFactions">
|
|
|
|
<property name="enabled">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Expanding" vsizetype="MinimumExpanding">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="focusPolicy">
|
|
|
|
<enum>Qt::ClickFocus</enum>
|
|
|
|
</property>
|
|
|
|
<property name="editTriggers">
|
|
|
|
<set>QAbstractItemView::NoEditTriggers</set>
|
|
|
|
</property>
|
|
|
|
<property name="selectionMode">
|
|
|
|
<enum>QAbstractItemView::NoSelection</enum>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QCheckBox" name="randomFaction">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Random faction</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
2023-04-21 01:17:13 +02:00
|
|
|
</item>
|
2022-09-18 01:23:17 +02:00
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<resources/>
|
|
|
|
<connections/>
|
|
|
|
</ui>
|