mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
551 lines
12 KiB
XML
551 lines
12 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>447</width>
|
|
<height>385</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>9999</width>
|
|
<height>9999</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>10</y>
|
|
<width>271</width>
|
|
<height>81</height>
|
|
</rect>
|
|
</property>
|
|
<property name="title">
|
|
<string>Map size</string>
|
|
</property>
|
|
<widget class="QComboBox" name="sizeCombo">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>20</y>
|
|
<width>141</width>
|
|
<height>32</height>
|
|
</rect>
|
|
</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>
|
|
<widget class="QLineEdit" name="heightTxt">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>210</x>
|
|
<y>50</y>
|
|
<width>51</width>
|
|
<height>21</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>36</string>
|
|
</property>
|
|
<property name="maxLength">
|
|
<number>3</number>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLineEdit" name="widthTxt">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>210</x>
|
|
<y>20</y>
|
|
<width>51</width>
|
|
<height>21</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>36</string>
|
|
</property>
|
|
<property name="maxLength">
|
|
<number>3</number>
|
|
</property>
|
|
</widget>
|
|
<widget class="QCheckBox" name="twoLevelCheck">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>50</y>
|
|
<width>121</width>
|
|
<height>20</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Two level map</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>140</x>
|
|
<y>20</y>
|
|
<width>58</width>
|
|
<height>16</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Width</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label_2">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>140</x>
|
|
<y>50</y>
|
|
<width>58</width>
|
|
<height>16</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Height</string>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QPushButton" name="okButtong">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>310</x>
|
|
<y>20</y>
|
|
<width>111</width>
|
|
<height>32</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Ok</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="cancelButton">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>310</x>
|
|
<y>50</y>
|
|
<width>111</width>
|
|
<height>32</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Cancel</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QGroupBox" name="groupBox_5">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>120</y>
|
|
<width>431</width>
|
|
<height>251</height>
|
|
</rect>
|
|
</property>
|
|
<property name="title">
|
|
<string>Random map</string>
|
|
</property>
|
|
<widget class="QComboBox" name="templateCombo">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>90</x>
|
|
<y>220</y>
|
|
<width>331</width>
|
|
<height>32</height>
|
|
</rect>
|
|
</property>
|
|
<property name="currentIndex">
|
|
<number>-1</number>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label_5">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>20</x>
|
|
<y>220</y>
|
|
<width>58</width>
|
|
<height>20</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Template</string>
|
|
</property>
|
|
</widget>
|
|
<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="QComboBox" name="humanCombo">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>120</x>
|
|
<y>20</y>
|
|
<width>91</width>
|
|
<height>32</height>
|
|
</rect>
|
|
</property>
|
|
<item>
|
|
<property name="text">
|
|
<string>Random</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>1</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>2</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>3</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>4</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>5</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>6</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>7</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>8</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
<widget class="QComboBox" name="cpuCombo">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>120</x>
|
|
<y>50</y>
|
|
<width>91</width>
|
|
<height>32</height>
|
|
</rect>
|
|
</property>
|
|
<item>
|
|
<property name="text">
|
|
<string>Random</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>0</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>1</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>2</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>3</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>4</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>5</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>6</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>7</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
<widget class="QComboBox" name="humanTeamsCombo">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>320</x>
|
|
<y>20</y>
|
|
<width>91</width>
|
|
<height>32</height>
|
|
</rect>
|
|
</property>
|
|
<item>
|
|
<property name="text">
|
|
<string>0</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
<widget class="QComboBox" name="cpuTeamsCombo">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>320</x>
|
|
<y>50</y>
|
|
<width>91</width>
|
|
<height>32</height>
|
|
</rect>
|
|
</property>
|
|
<item>
|
|
<property name="text">
|
|
<string>0</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
<widget class="QLabel" name="label_3">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>30</y>
|
|
<width>111</width>
|
|
<height>16</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Human/Computer</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label_4">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>60</y>
|
|
<width>111</width>
|
|
<height>16</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Computer only</string>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QGroupBox" name="groupBox_4">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>170</y>
|
|
<width>411</width>
|
|
<height>41</height>
|
|
</rect>
|
|
</property>
|
|
<property name="title">
|
|
<string>Monster strength</string>
|
|
</property>
|
|
<widget class="QRadioButton" name="monsterOpt1">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>20</y>
|
|
<width>99</width>
|
|
<height>20</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Random</string>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
<widget class="QRadioButton" name="monsterOpt2">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>90</x>
|
|
<y>20</y>
|
|
<width>99</width>
|
|
<height>20</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Weak</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QRadioButton" name="monsterOpt3">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>170</x>
|
|
<y>20</y>
|
|
<width>99</width>
|
|
<height>20</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Normal</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QRadioButton" name="monsterOpt4">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>260</x>
|
|
<y>20</y>
|
|
<width>99</width>
|
|
<height>20</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Strong</string>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QGroupBox" name="groupBox_3">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>120</y>
|
|
<width>411</width>
|
|
<height>41</height>
|
|
</rect>
|
|
</property>
|
|
<property name="title">
|
|
<string>Water content</string>
|
|
</property>
|
|
<widget class="QRadioButton" name="waterOpt1">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>20</y>
|
|
<width>99</width>
|
|
<height>20</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Random</string>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
<widget class="QRadioButton" name="waterOpt2">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>90</x>
|
|
<y>20</y>
|
|
<width>99</width>
|
|
<height>20</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>None</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QRadioButton" name="waterOpt3">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>170</x>
|
|
<y>20</y>
|
|
<width>99</width>
|
|
<height>20</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Normal</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QRadioButton" name="waterOpt4">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>260</x>
|
|
<y>20</y>
|
|
<width>99</width>
|
|
<height>20</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Islands</string>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QCheckBox" name="randomMapCheck">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>100</y>
|
|
<width>331</width>
|
|
<height>20</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Generate random map</string>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|