| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825 |
- <?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,1">
- <item row="0" column="3">
- <widget class="QComboBox" name="humanTeamsCombo">
- <property name="minimumSize">
- <size>
- <width>48</width>
- <height>0</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>64</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="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="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="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="1" column="0">
- <widget class="QLabel" name="label_4">
- <property name="text">
- <string>Computer only</string>
- </property>
- </widget>
- </item>
- <item row="0" column="2">
- <spacer name="horizontalSpacer_3">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>40</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- <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="4">
- <spacer name="horizontalSpacer_4">
- <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_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>
|