1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-14 10:12:59 +02:00
vcmi/mapeditor/windownewmap.ui

938 lines
24 KiB
Plaintext
Raw Normal View History

2022-09-18 01:23:17 +02:00
<?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>
2022-09-19 00:42:38 +02:00
<width>444</width>
<height>506</height>
2022-09-18 01:23:17 +02:00
</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>
2022-09-19 00:42:38 +02:00
<width>999</width>
<height>999</height>
2022-09-18 01:23:17 +02:00
</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>
2022-09-19 00:42:38 +02:00
<height>91</height>
2022-09-18 01:23:17 +02:00
</rect>
</property>
<property name="title">
<string>Map size</string>
</property>
<widget class="QWidget" name="layoutWidget1">
2022-09-18 01:23:17 +02:00
<property name="geometry">
<rect>
<x>0</x>
<y>20</y>
2024-03-01 13:15:04 +02:00
<width>281</width>
<height>73</height>
2022-09-18 01:23:17 +02:00
</rect>
</property>
2024-03-01 13:15:04 +02:00
<layout class="QGridLayout" name="gridLayout_2" columnstretch="3,0,1">
2022-09-18 01:23:17 +02:00
<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">
2024-03-01 13:15:04 +02:00
<property name="maximumSize">
<size>
<width>64</width>
<height>16777215</height>
</size>
</property>
2022-09-18 01:23:17 +02:00
<property name="inputMethodHints">
<set>Qt::InputMethodHint::ImhDigitsOnly</set>
2022-09-18 01:23:17 +02:00
</property>
<property name="text">
2022-12-26 22:56:26 +02:00
<string notr="true">36</string>
2022-09-18 01:23:17 +02:00
</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">
2024-03-01 13:15:04 +02:00
<property name="maximumSize">
<size>
<width>64</width>
<height>16777215</height>
</size>
</property>
2022-09-18 01:23:17 +02:00
<property name="inputMethodHints">
<set>Qt::InputMethodHint::ImhDigitsOnly</set>
2022-09-18 01:23:17 +02:00
</property>
<property name="text">
2022-12-26 22:56:26 +02:00
<string notr="true">36</string>
2022-09-18 01:23:17 +02:00
</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::Orientation::Horizontal</enum>
2022-09-18 01:23:17 +02:00
</property>
<property name="sizeType">
<enum>QSizePolicy::Policy::Fixed</enum>
2022-09-18 01:23:17 +02:00
</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>
2024-03-01 13:15:04 +02:00
<width>144</width>
2022-09-18 01:23:17 +02:00
<height>16777215</height>
</size>
</property>
<item>
<property name="text">
2024-03-01 13:15:04 +02:00
<string>S (36x36)</string>
2022-09-18 01:23:17 +02:00
</property>
</item>
<item>
<property name="text">
2024-03-01 13:15:04 +02:00
<string>M (72x72)</string>
2022-09-18 01:23:17 +02:00
</property>
</item>
<item>
<property name="text">
2024-03-01 13:15:04 +02:00
<string>L (108x108)</string>
2022-09-18 01:23:17 +02:00
</property>
</item>
<item>
<property name="text">
<string>XL (144x144)</string>
</property>
</item>
2024-03-01 13:15:04 +02:00
<item>
<property name="text">
<string>H (180x180)</string>
</property>
</item>
<item>
<property name="text">
<string>XH (216x216)</string>
</property>
</item>
<item>
<property name="text">
<string>G (252x252)</string>
</property>
</item>
2022-09-18 01:23:17 +02:00
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</widget>
<widget class="QGroupBox" name="groupBox_5">
<property name="geometry">
<rect>
<x>10</x>
2022-09-19 00:42:38 +02:00
<y>140</y>
2022-09-18 01:23:17 +02:00
<width>431</width>
<height>361</height>
2022-09-18 01:23:17 +02:00
</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">
2022-09-18 01:23:17 +02:00
<property name="geometry">
<rect>
<x>10</x>
<y>20</y>
<width>391</width>
<height>72</height>
2022-09-18 01:23:17 +02:00
</rect>
</property>
2023-04-22 16:47:25 +02:00
<layout class="QGridLayout" name="gridLayout" columnstretch="0,0,0,0">
<item row="1" column="1">
<widget class="QComboBox" name="cpuCombo">
2022-09-18 01:23:17 +02:00
<item>
<property name="text">
2023-04-22 16:47:25 +02:00
<string>Random</string>
2022-09-18 01:23:17 +02:00
</property>
</item>
<item>
<property name="text">
2022-12-26 22:56:26 +02:00
<string notr="true">0</string>
2022-09-18 01:23:17 +02:00
</property>
</item>
<item>
<property name="text">
2022-12-26 22:56:26 +02:00
<string notr="true">1</string>
2022-09-18 01:23:17 +02:00
</property>
</item>
<item>
<property name="text">
2022-12-26 22:56:26 +02:00
<string notr="true">2</string>
2022-09-18 01:23:17 +02:00
</property>
</item>
<item>
<property name="text">
2022-12-26 22:56:26 +02:00
<string notr="true">3</string>
2022-09-18 01:23:17 +02:00
</property>
</item>
<item>
<property name="text">
2022-12-26 22:56:26 +02:00
<string notr="true">4</string>
2022-09-18 01:23:17 +02:00
</property>
</item>
<item>
<property name="text">
2022-12-26 22:56:26 +02:00
<string notr="true">5</string>
2022-09-18 01:23:17 +02:00
</property>
</item>
<item>
<property name="text">
2022-12-26 22:56:26 +02:00
<string notr="true">6</string>
2022-09-18 01:23:17 +02:00
</property>
</item>
<item>
<property name="text">
2022-12-26 22:56:26 +02:00
<string notr="true">7</string>
2022-09-18 01:23:17 +02:00
</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>
2023-04-22 16:47:25 +02:00
<item row="0" column="1">
<widget class="QComboBox" name="humanCombo">
<property name="minimumSize">
<size>
<width>96</width>
<height>0</height>
</size>
2022-09-18 01:23:17 +02:00
</property>
2023-04-22 16:47:25 +02:00
<property name="maximumSize">
2022-09-18 01:23:17 +02:00
<size>
2023-04-22 16:47:25 +02:00
<width>120</width>
<height>16777215</height>
2022-09-18 01:23:17 +02:00
</size>
</property>
<item>
<property name="text">
<string>Random</string>
</property>
</item>
<item>
<property name="text">
2022-12-26 22:56:26 +02:00
<string notr="true">1</string>
2022-09-18 01:23:17 +02:00
</property>
</item>
<item>
<property name="text">
2022-12-26 22:56:26 +02:00
<string notr="true">2</string>
2022-09-18 01:23:17 +02:00
</property>
</item>
<item>
<property name="text">
2022-12-26 22:56:26 +02:00
<string notr="true">3</string>
2022-09-18 01:23:17 +02:00
</property>
</item>
<item>
<property name="text">
2022-12-26 22:56:26 +02:00
<string notr="true">4</string>
2022-09-18 01:23:17 +02:00
</property>
</item>
<item>
<property name="text">
2022-12-26 22:56:26 +02:00
<string notr="true">5</string>
2022-09-18 01:23:17 +02:00
</property>
</item>
<item>
<property name="text">
2022-12-26 22:56:26 +02:00
<string notr="true">6</string>
2022-09-18 01:23:17 +02:00
</property>
</item>
<item>
<property name="text">
2022-12-26 22:56:26 +02:00
<string notr="true">7</string>
2022-09-18 01:23:17 +02:00
</property>
</item>
2023-04-22 16:47:25 +02:00
<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>
2022-09-18 01:23:17 +02:00
</widget>
</item>
2023-04-22 16:47:25 +02:00
<item row="0" column="3">
<widget class="QComboBox" name="humanTeamsCombo">
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
2022-09-18 01:23:17 +02:00
</property>
2023-04-22 16:47:25 +02:00
<property name="maximumSize">
2022-09-18 01:23:17 +02:00
<size>
2023-04-22 16:47:25 +02:00
<width>16777215</width>
<height>16777215</height>
2022-09-18 01:23:17 +02:00
</size>
</property>
2023-04-22 16:47:25 +02:00
<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>
2022-09-18 01:23:17 +02:00
</item>
</layout>
</widget>
</widget>
<widget class="QGroupBox" name="groupBox_4">
<property name="geometry">
<rect>
<x>10</x>
<y>170</y>
<width>411</width>
2022-09-19 00:42:38 +02:00
<height>51</height>
2022-09-18 01:23:17 +02:00
</rect>
</property>
<property name="title">
<string>Monster strength</string>
</property>
<widget class="QWidget" name="layoutWidget3">
2022-09-18 01:23:17 +02:00
<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::Orientation::Horizontal</enum>
2022-09-18 01:23:17 +02:00
</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>
2022-09-19 00:42:38 +02:00
<height>51</height>
2022-09-18 01:23:17 +02:00
</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">
2022-09-18 01:23:17 +02:00
<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::Orientation::Horizontal</enum>
2022-09-18 01:23:17 +02:00
</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_6">
2022-09-18 01:23:17 +02:00
<property name="geometry">
<rect>
<x>10</x>
2022-09-19 00:42:38 +02:00
<y>230</y>
2022-09-18 01:23:17 +02:00
<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>Roads</string>
</property>
<widget class="QWidget" name="layoutWidget4_2">
<property name="geometry">
<rect>
<x>0</x>
<y>20</y>
<width>411</width>
<height>26</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_5" stretch="0,0,0,0,0,1">
<item>
<widget class="QCheckBox" name="roadDirt">
<property name="text">
<string>Dirt</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_4">
<property name="orientation">
<enum>Qt::Orientation::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QCheckBox" name="roadGravel">
<property name="text">
<string>Gravel</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_6">
<property name="orientation">
<enum>Qt::Orientation::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QCheckBox" name="roadCobblestone">
<property name="text">
<string>Cobblestone</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_3">
<property name="orientation">
<enum>Qt::Orientation::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>280</y>
<width>411</width>
<height>34</height>
2022-09-18 01:23:17 +02:00
</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>
2022-12-26 22:56:26 +02:00
<property name="currentText">
<string notr="true"/>
</property>
2022-09-18 01:23:17 +02:00
<property name="currentIndex">
<number>-1</number>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="layoutWidget">
2022-09-19 00:42:38 +02:00
<property name="geometry">
<rect>
<x>80</x>
<y>320</y>
<width>283</width>
<height>33</height>
2022-09-19 00:42:38 +02:00
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_6">
<item>
<widget class="QCheckBox" name="checkSeed">
<property name="text">
<string>Custom seed</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="lineSeed">
<property name="enabled">
<bool>false</bool>
</property>
<property name="inputMethodHints">
<set>Qt::InputMethodHint::ImhDigitsOnly</set>
</property>
<property name="text">
<string>0</string>
</property>
</widget>
</item>
</layout>
2022-09-19 00:42:38 +02:00
</widget>
2022-09-18 01:23:17 +02:00
</widget>
<widget class="QCheckBox" name="randomMapCheck">
<property name="geometry">
<rect>
<x>10</x>
2022-09-19 00:42:38 +02:00
<y>120</y>
2022-09-18 01:23:17 +02:00
<width>291</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Generate random map</string>
</property>
</widget>
<widget class="QWidget" name="layoutWidget6">
2022-09-18 01:23:17 +02:00
<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">
2022-09-18 01:23:17 +02:00
<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>