mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-16 10:19:47 +02:00
814 lines
21 KiB
XML
814 lines
21 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>WindowNewMap</class>
|
|
<widget class="QDialog" name="WindowNewMap">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>444</width>
|
|
<height>445</height>
|
|
</rect>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>390</width>
|
|
<height>351</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>999</width>
|
|
<height>999</height>
|
|
</size>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Create new map</string>
|
|
</property>
|
|
<property name="modal">
|
|
<bool>false</bool>
|
|
</property>
|
|
<widget class="QGroupBox" name="groupBox">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>20</y>
|
|
<width>291</width>
|
|
<height>91</height>
|
|
</rect>
|
|
</property>
|
|
<property name="title">
|
|
<string>Map size</string>
|
|
</property>
|
|
<widget class="QWidget" name="layoutWidget1">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>20</y>
|
|
<width>261</width>
|
|
<height>68</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_2" columnstretch="1,0,0">
|
|
<item row="1" column="0">
|
|
<widget class="QCheckBox" name="twoLevelCheck">
|
|
<property name="text">
|
|
<string>Two level map</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="2">
|
|
<widget class="QLineEdit" name="widthTxt">
|
|
<property name="inputMethodHints">
|
|
<set>Qt::ImhDigitsOnly</set>
|
|
</property>
|
|
<property name="text">
|
|
<string notr="true">36</string>
|
|
</property>
|
|
<property name="maxLength">
|
|
<number>3</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QLabel" name="label_2">
|
|
<property name="text">
|
|
<string>Height</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="2">
|
|
<widget class="QLineEdit" name="heightTxt">
|
|
<property name="inputMethodHints">
|
|
<set>Qt::ImhDigitsOnly</set>
|
|
</property>
|
|
<property name="text">
|
|
<string notr="true">36</string>
|
|
</property>
|
|
<property name="maxLength">
|
|
<number>3</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QLabel" name="label">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>48</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>96</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>Width</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="0">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
|
<item>
|
|
<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>8</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<widget class="QComboBox" name="sizeCombo">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>96</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>120</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
<item>
|
|
<property name="text">
|
|
<string>S (36x36)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>M (72x72)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>L (108x108)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>XL (144x144)</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QGroupBox" name="groupBox_5">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>140</y>
|
|
<width>431</width>
|
|
<height>301</height>
|
|
</rect>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="title">
|
|
<string>Random map</string>
|
|
</property>
|
|
<widget class="QGroupBox" name="groupBox_2">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>20</y>
|
|
<width>411</width>
|
|
<height>91</height>
|
|
</rect>
|
|
</property>
|
|
<property name="title">
|
|
<string>Players</string>
|
|
</property>
|
|
<widget class="QWidget" name="layoutWidget2">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>20</y>
|
|
<width>391</width>
|
|
<height>68</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout" columnstretch="0,0,0,0">
|
|
<item row="1" column="1">
|
|
<widget class="QComboBox" name="cpuCombo">
|
|
<item>
|
|
<property name="text">
|
|
<string>Random</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string notr="true">0</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string notr="true">1</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string notr="true">2</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string notr="true">3</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string notr="true">4</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string notr="true">5</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string notr="true">6</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string notr="true">7</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="label_4">
|
|
<property name="text">
|
|
<string>Computer only</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QComboBox" name="humanCombo">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>96</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>120</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
<item>
|
|
<property name="text">
|
|
<string>Random</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string notr="true">1</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string notr="true">2</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string notr="true">3</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string notr="true">4</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string notr="true">5</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string notr="true">6</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string notr="true">7</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string notr="true">8</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="label_3">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>96</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>120</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>Human/Computer</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="3">
|
|
<widget class="QComboBox" name="humanTeamsCombo">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>16777215</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
<property name="currentText">
|
|
<string notr="true">0</string>
|
|
</property>
|
|
<item>
|
|
<property name="text">
|
|
<string notr="true">0</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="2">
|
|
<widget class="QLabel" name="label_6">
|
|
<property name="text">
|
|
<string>Human teams</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="3">
|
|
<widget class="QComboBox" name="cpuTeamsCombo">
|
|
<property name="currentText">
|
|
<string notr="true">0</string>
|
|
</property>
|
|
<item>
|
|
<property name="text">
|
|
<string notr="true">0</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="2">
|
|
<widget class="QLabel" name="label_7">
|
|
<property name="text">
|
|
<string>Computer teams</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QGroupBox" name="groupBox_4">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>170</y>
|
|
<width>411</width>
|
|
<height>51</height>
|
|
</rect>
|
|
</property>
|
|
<property name="title">
|
|
<string>Monster strength</string>
|
|
</property>
|
|
<widget class="QWidget" name="layoutWidget3">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>20</y>
|
|
<width>411</width>
|
|
<height>26</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QHBoxLayout" name="horizontalLayout" stretch="1,1,1,1,1">
|
|
<item>
|
|
<widget class="QRadioButton" name="monsterOpt1">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>16777215</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>Random</string>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QRadioButton" name="monsterOpt2">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>120</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>Weak</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QRadioButton" name="monsterOpt3">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>120</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>Normal</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QRadioButton" name="monsterOpt4">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>120</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>Strong</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="horizontalSpacer_2">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>16777215</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QGroupBox" name="groupBox_3">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>120</y>
|
|
<width>411</width>
|
|
<height>51</height>
|
|
</rect>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>480</width>
|
|
<height>96</height>
|
|
</size>
|
|
</property>
|
|
<property name="title">
|
|
<string>Water content</string>
|
|
</property>
|
|
<widget class="QWidget" name="layoutWidget4">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>20</y>
|
|
<width>411</width>
|
|
<height>26</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2" stretch="1,1,1,1,1">
|
|
<item>
|
|
<widget class="QRadioButton" name="waterOpt1">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>144</width>
|
|
<height>96</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>Random</string>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QRadioButton" name="waterOpt2">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>144</width>
|
|
<height>96</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>None</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QRadioButton" name="waterOpt3">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>144</width>
|
|
<height>96</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>Normal</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QRadioButton" name="waterOpt4">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>144</width>
|
|
<height>96</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>Islands</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="horizontalSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QWidget" name="layoutWidget5">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>230</y>
|
|
<width>411</width>
|
|
<height>32</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
|
<item>
|
|
<widget class="QLabel" name="label_5">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>120</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>Template</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QComboBox" name="templateCombo">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="currentText">
|
|
<string notr="true"/>
|
|
</property>
|
|
<property name="currentIndex">
|
|
<number>-1</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QLineEdit" name="lineSeed">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>280</x>
|
|
<y>270</y>
|
|
<width>131</width>
|
|
<height>21</height>
|
|
</rect>
|
|
</property>
|
|
<property name="inputMethodHints">
|
|
<set>Qt::ImhDigitsOnly</set>
|
|
</property>
|
|
<property name="text">
|
|
<string>0</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QCheckBox" name="checkSeed">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>110</x>
|
|
<y>270</y>
|
|
<width>161</width>
|
|
<height>20</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Custom seed</string>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QCheckBox" name="randomMapCheck">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>120</y>
|
|
<width>291</width>
|
|
<height>20</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Generate random map</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QWidget" name="layoutWidget6">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>310</x>
|
|
<y>20</y>
|
|
<width>111</width>
|
|
<height>101</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<widget class="QPushButton" name="okButton">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Expanding">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>36</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>16777215</width>
|
|
<height>36</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>Ok</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="cancelButton">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Expanding">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>16777215</width>
|
|
<height>36</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>Cancel</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|