windownewmap.ui 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>WindowNewMap</class>
  4. <widget class="QDialog" name="WindowNewMap">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>460</width>
  10. <height>573</height>
  11. </rect>
  12. </property>
  13. <property name="sizePolicy">
  14. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  15. <horstretch>0</horstretch>
  16. <verstretch>0</verstretch>
  17. </sizepolicy>
  18. </property>
  19. <property name="minimumSize">
  20. <size>
  21. <width>390</width>
  22. <height>351</height>
  23. </size>
  24. </property>
  25. <property name="maximumSize">
  26. <size>
  27. <width>999</width>
  28. <height>999</height>
  29. </size>
  30. </property>
  31. <property name="windowTitle">
  32. <string>Create new map</string>
  33. </property>
  34. <property name="modal">
  35. <bool>false</bool>
  36. </property>
  37. <widget class="QGroupBox" name="groupBox">
  38. <property name="geometry">
  39. <rect>
  40. <x>10</x>
  41. <y>10</y>
  42. <width>441</width>
  43. <height>121</height>
  44. </rect>
  45. </property>
  46. <property name="title">
  47. <string>Map size</string>
  48. </property>
  49. <widget class="QGroupBox" name="sizeGroup1">
  50. <property name="geometry">
  51. <rect>
  52. <x>10</x>
  53. <y>40</y>
  54. <width>211</width>
  55. <height>40</height>
  56. </rect>
  57. </property>
  58. <property name="title">
  59. <string/>
  60. </property>
  61. <property name="flat">
  62. <bool>false</bool>
  63. </property>
  64. <property name="checkable">
  65. <bool>false</bool>
  66. </property>
  67. <widget class="QWidget" name="layoutWidget">
  68. <property name="geometry">
  69. <rect>
  70. <x>10</x>
  71. <y>10</y>
  72. <width>191</width>
  73. <height>24</height>
  74. </rect>
  75. </property>
  76. <layout class="QHBoxLayout" name="horizontalLayout_6">
  77. <item>
  78. <widget class="QComboBox" name="sizeCombo">
  79. <property name="minimumSize">
  80. <size>
  81. <width>120</width>
  82. <height>0</height>
  83. </size>
  84. </property>
  85. <property name="maximumSize">
  86. <size>
  87. <width>200</width>
  88. <height>16777215</height>
  89. </size>
  90. </property>
  91. <item>
  92. <property name="text">
  93. <string>S (36x36)</string>
  94. </property>
  95. </item>
  96. <item>
  97. <property name="text">
  98. <string>M (72x72)</string>
  99. </property>
  100. </item>
  101. <item>
  102. <property name="text">
  103. <string>L (108x108)</string>
  104. </property>
  105. </item>
  106. <item>
  107. <property name="text">
  108. <string>XL (144x144)</string>
  109. </property>
  110. </item>
  111. <item>
  112. <property name="text">
  113. <string>H (180x180)</string>
  114. </property>
  115. </item>
  116. <item>
  117. <property name="text">
  118. <string>XH (216x216)</string>
  119. </property>
  120. </item>
  121. <item>
  122. <property name="text">
  123. <string>G (252x252)</string>
  124. </property>
  125. </item>
  126. </widget>
  127. </item>
  128. </layout>
  129. </widget>
  130. </widget>
  131. <widget class="QGroupBox" name="sizeGroup2">
  132. <property name="geometry">
  133. <rect>
  134. <x>220</x>
  135. <y>40</y>
  136. <width>211</width>
  137. <height>40</height>
  138. </rect>
  139. </property>
  140. <property name="title">
  141. <string/>
  142. </property>
  143. <property name="flat">
  144. <bool>false</bool>
  145. </property>
  146. <property name="checkable">
  147. <bool>false</bool>
  148. </property>
  149. <widget class="QWidget" name="layoutWidget_2">
  150. <property name="geometry">
  151. <rect>
  152. <x>10</x>
  153. <y>10</y>
  154. <width>194</width>
  155. <height>24</height>
  156. </rect>
  157. </property>
  158. <layout class="QHBoxLayout" name="horizontalLayout_7">
  159. <item>
  160. <widget class="QLabel" name="label">
  161. <property name="minimumSize">
  162. <size>
  163. <width>48</width>
  164. <height>0</height>
  165. </size>
  166. </property>
  167. <property name="maximumSize">
  168. <size>
  169. <width>96</width>
  170. <height>16777215</height>
  171. </size>
  172. </property>
  173. <property name="text">
  174. <string>Width</string>
  175. </property>
  176. <property name="alignment">
  177. <set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
  178. </property>
  179. </widget>
  180. </item>
  181. <item>
  182. <widget class="QSpinBox" name="widthTxt">
  183. <property name="maximum">
  184. <number>999</number>
  185. </property>
  186. <property name="value">
  187. <number>0</number>
  188. </property>
  189. </widget>
  190. </item>
  191. <item>
  192. <widget class="QLabel" name="label_2">
  193. <property name="minimumSize">
  194. <size>
  195. <width>48</width>
  196. <height>0</height>
  197. </size>
  198. </property>
  199. <property name="text">
  200. <string>Height</string>
  201. </property>
  202. <property name="alignment">
  203. <set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
  204. </property>
  205. </widget>
  206. </item>
  207. <item>
  208. <widget class="QSpinBox" name="heightTxt">
  209. <property name="maximum">
  210. <number>999</number>
  211. </property>
  212. <property name="value">
  213. <number>0</number>
  214. </property>
  215. </widget>
  216. </item>
  217. </layout>
  218. </widget>
  219. </widget>
  220. <widget class="QWidget" name="horizontalLayoutWidget">
  221. <property name="geometry">
  222. <rect>
  223. <x>10</x>
  224. <y>20</y>
  225. <width>211</width>
  226. <height>22</height>
  227. </rect>
  228. </property>
  229. <layout class="QHBoxLayout" name="horizontalLayout_11">
  230. <item>
  231. <widget class="QRadioButton" name="sizeStandardRadio">
  232. <property name="maximumSize">
  233. <size>
  234. <width>16777215</width>
  235. <height>16777215</height>
  236. </size>
  237. </property>
  238. <property name="text">
  239. <string>Standard size</string>
  240. </property>
  241. <property name="checked">
  242. <bool>true</bool>
  243. </property>
  244. <attribute name="buttonGroup">
  245. <string notr="true">buttonGroup</string>
  246. </attribute>
  247. </widget>
  248. </item>
  249. </layout>
  250. </widget>
  251. <widget class="QWidget" name="horizontalLayoutWidget_2">
  252. <property name="geometry">
  253. <rect>
  254. <x>220</x>
  255. <y>20</y>
  256. <width>211</width>
  257. <height>22</height>
  258. </rect>
  259. </property>
  260. <layout class="QHBoxLayout" name="horizontalLayout_12">
  261. <item>
  262. <widget class="QRadioButton" name="sizeCustomRadio">
  263. <property name="text">
  264. <string>Custom size</string>
  265. </property>
  266. <attribute name="buttonGroup">
  267. <string notr="true">buttonGroup</string>
  268. </attribute>
  269. </widget>
  270. </item>
  271. </layout>
  272. </widget>
  273. <widget class="QCheckBox" name="twoLevelCheck">
  274. <property name="geometry">
  275. <rect>
  276. <x>10</x>
  277. <y>90</y>
  278. <width>277</width>
  279. <height>20</height>
  280. </rect>
  281. </property>
  282. <property name="minimumSize">
  283. <size>
  284. <width>96</width>
  285. <height>0</height>
  286. </size>
  287. </property>
  288. <property name="text">
  289. <string>Underground</string>
  290. </property>
  291. </widget>
  292. </widget>
  293. <widget class="QGroupBox" name="randomOptions">
  294. <property name="enabled">
  295. <bool>false</bool>
  296. </property>
  297. <property name="geometry">
  298. <rect>
  299. <x>10</x>
  300. <y>170</y>
  301. <width>441</width>
  302. <height>361</height>
  303. </rect>
  304. </property>
  305. <property name="sizePolicy">
  306. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  307. <horstretch>0</horstretch>
  308. <verstretch>0</verstretch>
  309. </sizepolicy>
  310. </property>
  311. <property name="title">
  312. <string>Random map</string>
  313. </property>
  314. <widget class="QGroupBox" name="groupBox_2">
  315. <property name="geometry">
  316. <rect>
  317. <x>10</x>
  318. <y>110</y>
  319. <width>421</width>
  320. <height>91</height>
  321. </rect>
  322. </property>
  323. <property name="title">
  324. <string>Players</string>
  325. </property>
  326. <widget class="QWidget" name="layoutWidget2">
  327. <property name="geometry">
  328. <rect>
  329. <x>10</x>
  330. <y>20</y>
  331. <width>401</width>
  332. <height>61</height>
  333. </rect>
  334. </property>
  335. <layout class="QGridLayout" name="gridLayout" columnstretch="0,0,0,0">
  336. <item row="0" column="1">
  337. <widget class="QComboBox" name="humanCombo">
  338. <property name="minimumSize">
  339. <size>
  340. <width>90</width>
  341. <height>0</height>
  342. </size>
  343. </property>
  344. <property name="maximumSize">
  345. <size>
  346. <width>120</width>
  347. <height>16777215</height>
  348. </size>
  349. </property>
  350. <item>
  351. <property name="text">
  352. <string>Random</string>
  353. </property>
  354. </item>
  355. <item>
  356. <property name="text">
  357. <string notr="true">1</string>
  358. </property>
  359. </item>
  360. <item>
  361. <property name="text">
  362. <string notr="true">2</string>
  363. </property>
  364. </item>
  365. <item>
  366. <property name="text">
  367. <string notr="true">3</string>
  368. </property>
  369. </item>
  370. <item>
  371. <property name="text">
  372. <string notr="true">4</string>
  373. </property>
  374. </item>
  375. <item>
  376. <property name="text">
  377. <string notr="true">5</string>
  378. </property>
  379. </item>
  380. <item>
  381. <property name="text">
  382. <string notr="true">6</string>
  383. </property>
  384. </item>
  385. <item>
  386. <property name="text">
  387. <string notr="true">7</string>
  388. </property>
  389. </item>
  390. <item>
  391. <property name="text">
  392. <string notr="true">8</string>
  393. </property>
  394. </item>
  395. </widget>
  396. </item>
  397. <item row="0" column="0">
  398. <widget class="QLabel" name="label_3">
  399. <property name="minimumSize">
  400. <size>
  401. <width>90</width>
  402. <height>0</height>
  403. </size>
  404. </property>
  405. <property name="maximumSize">
  406. <size>
  407. <width>120</width>
  408. <height>16777215</height>
  409. </size>
  410. </property>
  411. <property name="text">
  412. <string>Humans</string>
  413. </property>
  414. </widget>
  415. </item>
  416. <item row="1" column="3">
  417. <widget class="QComboBox" name="cpuTeamsCombo">
  418. <property name="currentText">
  419. <string notr="true">0</string>
  420. </property>
  421. <item>
  422. <property name="text">
  423. <string notr="true">0</string>
  424. </property>
  425. </item>
  426. </widget>
  427. </item>
  428. <item row="1" column="2">
  429. <widget class="QLabel" name="label_7">
  430. <property name="text">
  431. <string>Computer teams</string>
  432. </property>
  433. </widget>
  434. </item>
  435. <item row="1" column="0">
  436. <widget class="QLabel" name="label_6">
  437. <property name="minimumSize">
  438. <size>
  439. <width>90</width>
  440. <height>0</height>
  441. </size>
  442. </property>
  443. <property name="text">
  444. <string>Human teams</string>
  445. </property>
  446. </widget>
  447. </item>
  448. <item row="1" column="1">
  449. <widget class="QComboBox" name="humanTeamsCombo">
  450. <property name="minimumSize">
  451. <size>
  452. <width>90</width>
  453. <height>0</height>
  454. </size>
  455. </property>
  456. <property name="maximumSize">
  457. <size>
  458. <width>16777215</width>
  459. <height>16777215</height>
  460. </size>
  461. </property>
  462. <property name="currentText">
  463. <string notr="true">0</string>
  464. </property>
  465. <item>
  466. <property name="text">
  467. <string notr="true">0</string>
  468. </property>
  469. </item>
  470. </widget>
  471. </item>
  472. <item row="0" column="2">
  473. <widget class="QLabel" name="label_4">
  474. <property name="text">
  475. <string>Computers</string>
  476. </property>
  477. </widget>
  478. </item>
  479. <item row="0" column="3">
  480. <widget class="QComboBox" name="cpuCombo">
  481. <item>
  482. <property name="text">
  483. <string>Random</string>
  484. </property>
  485. </item>
  486. <item>
  487. <property name="text">
  488. <string notr="true">0</string>
  489. </property>
  490. </item>
  491. <item>
  492. <property name="text">
  493. <string notr="true">1</string>
  494. </property>
  495. </item>
  496. <item>
  497. <property name="text">
  498. <string notr="true">2</string>
  499. </property>
  500. </item>
  501. <item>
  502. <property name="text">
  503. <string notr="true">3</string>
  504. </property>
  505. </item>
  506. <item>
  507. <property name="text">
  508. <string notr="true">4</string>
  509. </property>
  510. </item>
  511. <item>
  512. <property name="text">
  513. <string notr="true">5</string>
  514. </property>
  515. </item>
  516. <item>
  517. <property name="text">
  518. <string notr="true">6</string>
  519. </property>
  520. </item>
  521. <item>
  522. <property name="text">
  523. <string notr="true">7</string>
  524. </property>
  525. </item>
  526. </widget>
  527. </item>
  528. </layout>
  529. </widget>
  530. </widget>
  531. <widget class="QGroupBox" name="groupBox_4">
  532. <property name="geometry">
  533. <rect>
  534. <x>10</x>
  535. <y>250</y>
  536. <width>421</width>
  537. <height>51</height>
  538. </rect>
  539. </property>
  540. <property name="title">
  541. <string>Monster strength</string>
  542. </property>
  543. <widget class="QWidget" name="layoutWidget3">
  544. <property name="geometry">
  545. <rect>
  546. <x>10</x>
  547. <y>20</y>
  548. <width>401</width>
  549. <height>26</height>
  550. </rect>
  551. </property>
  552. <layout class="QHBoxLayout" name="horizontalLayout" stretch="1,1,1,1">
  553. <item>
  554. <widget class="QRadioButton" name="monsterOpt1">
  555. <property name="sizePolicy">
  556. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  557. <horstretch>0</horstretch>
  558. <verstretch>0</verstretch>
  559. </sizepolicy>
  560. </property>
  561. <property name="minimumSize">
  562. <size>
  563. <width>90</width>
  564. <height>0</height>
  565. </size>
  566. </property>
  567. <property name="maximumSize">
  568. <size>
  569. <width>16777215</width>
  570. <height>16777215</height>
  571. </size>
  572. </property>
  573. <property name="text">
  574. <string>Random</string>
  575. </property>
  576. <property name="checked">
  577. <bool>true</bool>
  578. </property>
  579. </widget>
  580. </item>
  581. <item>
  582. <widget class="QRadioButton" name="monsterOpt2">
  583. <property name="sizePolicy">
  584. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  585. <horstretch>0</horstretch>
  586. <verstretch>0</verstretch>
  587. </sizepolicy>
  588. </property>
  589. <property name="minimumSize">
  590. <size>
  591. <width>90</width>
  592. <height>0</height>
  593. </size>
  594. </property>
  595. <property name="maximumSize">
  596. <size>
  597. <width>120</width>
  598. <height>16777215</height>
  599. </size>
  600. </property>
  601. <property name="text">
  602. <string>Weak</string>
  603. </property>
  604. </widget>
  605. </item>
  606. <item>
  607. <widget class="QRadioButton" name="monsterOpt3">
  608. <property name="sizePolicy">
  609. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  610. <horstretch>0</horstretch>
  611. <verstretch>0</verstretch>
  612. </sizepolicy>
  613. </property>
  614. <property name="minimumSize">
  615. <size>
  616. <width>90</width>
  617. <height>0</height>
  618. </size>
  619. </property>
  620. <property name="maximumSize">
  621. <size>
  622. <width>120</width>
  623. <height>16777215</height>
  624. </size>
  625. </property>
  626. <property name="text">
  627. <string>Normal</string>
  628. </property>
  629. </widget>
  630. </item>
  631. <item>
  632. <widget class="QRadioButton" name="monsterOpt4">
  633. <property name="sizePolicy">
  634. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  635. <horstretch>0</horstretch>
  636. <verstretch>0</verstretch>
  637. </sizepolicy>
  638. </property>
  639. <property name="minimumSize">
  640. <size>
  641. <width>90</width>
  642. <height>0</height>
  643. </size>
  644. </property>
  645. <property name="maximumSize">
  646. <size>
  647. <width>120</width>
  648. <height>16777215</height>
  649. </size>
  650. </property>
  651. <property name="text">
  652. <string>Strong</string>
  653. </property>
  654. </widget>
  655. </item>
  656. </layout>
  657. </widget>
  658. </widget>
  659. <widget class="QGroupBox" name="groupBox_3">
  660. <property name="geometry">
  661. <rect>
  662. <x>10</x>
  663. <y>200</y>
  664. <width>421</width>
  665. <height>51</height>
  666. </rect>
  667. </property>
  668. <property name="sizePolicy">
  669. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
  670. <horstretch>0</horstretch>
  671. <verstretch>0</verstretch>
  672. </sizepolicy>
  673. </property>
  674. <property name="maximumSize">
  675. <size>
  676. <width>480</width>
  677. <height>96</height>
  678. </size>
  679. </property>
  680. <property name="title">
  681. <string>Water content</string>
  682. </property>
  683. <widget class="QWidget" name="layoutWidget4">
  684. <property name="geometry">
  685. <rect>
  686. <x>10</x>
  687. <y>20</y>
  688. <width>401</width>
  689. <height>26</height>
  690. </rect>
  691. </property>
  692. <layout class="QHBoxLayout" name="horizontalLayout_2" stretch="1,1,1,1">
  693. <item>
  694. <widget class="QRadioButton" name="waterOpt1">
  695. <property name="sizePolicy">
  696. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  697. <horstretch>0</horstretch>
  698. <verstretch>0</verstretch>
  699. </sizepolicy>
  700. </property>
  701. <property name="minimumSize">
  702. <size>
  703. <width>90</width>
  704. <height>0</height>
  705. </size>
  706. </property>
  707. <property name="maximumSize">
  708. <size>
  709. <width>144</width>
  710. <height>96</height>
  711. </size>
  712. </property>
  713. <property name="text">
  714. <string>Random</string>
  715. </property>
  716. <property name="checked">
  717. <bool>true</bool>
  718. </property>
  719. </widget>
  720. </item>
  721. <item>
  722. <widget class="QRadioButton" name="waterOpt2">
  723. <property name="sizePolicy">
  724. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  725. <horstretch>0</horstretch>
  726. <verstretch>0</verstretch>
  727. </sizepolicy>
  728. </property>
  729. <property name="minimumSize">
  730. <size>
  731. <width>90</width>
  732. <height>0</height>
  733. </size>
  734. </property>
  735. <property name="maximumSize">
  736. <size>
  737. <width>144</width>
  738. <height>96</height>
  739. </size>
  740. </property>
  741. <property name="text">
  742. <string>None</string>
  743. </property>
  744. </widget>
  745. </item>
  746. <item>
  747. <widget class="QRadioButton" name="waterOpt3">
  748. <property name="sizePolicy">
  749. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  750. <horstretch>0</horstretch>
  751. <verstretch>0</verstretch>
  752. </sizepolicy>
  753. </property>
  754. <property name="minimumSize">
  755. <size>
  756. <width>90</width>
  757. <height>0</height>
  758. </size>
  759. </property>
  760. <property name="maximumSize">
  761. <size>
  762. <width>144</width>
  763. <height>96</height>
  764. </size>
  765. </property>
  766. <property name="text">
  767. <string>Normal</string>
  768. </property>
  769. </widget>
  770. </item>
  771. <item>
  772. <widget class="QRadioButton" name="waterOpt4">
  773. <property name="sizePolicy">
  774. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  775. <horstretch>0</horstretch>
  776. <verstretch>0</verstretch>
  777. </sizepolicy>
  778. </property>
  779. <property name="minimumSize">
  780. <size>
  781. <width>90</width>
  782. <height>0</height>
  783. </size>
  784. </property>
  785. <property name="maximumSize">
  786. <size>
  787. <width>144</width>
  788. <height>96</height>
  789. </size>
  790. </property>
  791. <property name="text">
  792. <string>Islands</string>
  793. </property>
  794. </widget>
  795. </item>
  796. </layout>
  797. </widget>
  798. </widget>
  799. <widget class="QGroupBox" name="groupBox_6">
  800. <property name="geometry">
  801. <rect>
  802. <x>10</x>
  803. <y>300</y>
  804. <width>421</width>
  805. <height>51</height>
  806. </rect>
  807. </property>
  808. <property name="sizePolicy">
  809. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
  810. <horstretch>0</horstretch>
  811. <verstretch>0</verstretch>
  812. </sizepolicy>
  813. </property>
  814. <property name="maximumSize">
  815. <size>
  816. <width>480</width>
  817. <height>96</height>
  818. </size>
  819. </property>
  820. <property name="title">
  821. <string>Roads</string>
  822. </property>
  823. <widget class="QWidget" name="layoutWidget4_2">
  824. <property name="geometry">
  825. <rect>
  826. <x>10</x>
  827. <y>20</y>
  828. <width>401</width>
  829. <height>26</height>
  830. </rect>
  831. </property>
  832. <layout class="QHBoxLayout" name="horizontalLayout_5" stretch="0,0,0,0">
  833. <item>
  834. <widget class="QCheckBox" name="roadDirt">
  835. <property name="minimumSize">
  836. <size>
  837. <width>90</width>
  838. <height>0</height>
  839. </size>
  840. </property>
  841. <property name="text">
  842. <string>Dirt</string>
  843. </property>
  844. </widget>
  845. </item>
  846. <item>
  847. <widget class="QCheckBox" name="roadGravel">
  848. <property name="minimumSize">
  849. <size>
  850. <width>90</width>
  851. <height>0</height>
  852. </size>
  853. </property>
  854. <property name="text">
  855. <string>Gravel</string>
  856. </property>
  857. </widget>
  858. </item>
  859. <item>
  860. <widget class="QCheckBox" name="roadCobblestone">
  861. <property name="minimumSize">
  862. <size>
  863. <width>90</width>
  864. <height>0</height>
  865. </size>
  866. </property>
  867. <property name="text">
  868. <string>Cobblestone</string>
  869. </property>
  870. </widget>
  871. </item>
  872. <item>
  873. <spacer name="horizontalSpacer">
  874. <property name="orientation">
  875. <enum>Qt::Orientation::Horizontal</enum>
  876. </property>
  877. <property name="sizeType">
  878. <enum>QSizePolicy::Policy::Fixed</enum>
  879. </property>
  880. <property name="sizeHint" stdset="0">
  881. <size>
  882. <width>100</width>
  883. <height>20</height>
  884. </size>
  885. </property>
  886. </spacer>
  887. </item>
  888. </layout>
  889. </widget>
  890. </widget>
  891. <widget class="QGroupBox" name="groupBox_5">
  892. <property name="geometry">
  893. <rect>
  894. <x>10</x>
  895. <y>20</y>
  896. <width>421</width>
  897. <height>91</height>
  898. </rect>
  899. </property>
  900. <property name="title">
  901. <string>Template</string>
  902. </property>
  903. <widget class="QWidget" name="layoutWidget2_2">
  904. <property name="geometry">
  905. <rect>
  906. <x>10</x>
  907. <y>20</y>
  908. <width>401</width>
  909. <height>61</height>
  910. </rect>
  911. </property>
  912. <layout class="QGridLayout" name="gridLayout_3" columnstretch="0,0">
  913. <item row="0" column="0">
  914. <widget class="QLabel" name="label_5">
  915. <property name="minimumSize">
  916. <size>
  917. <width>100</width>
  918. <height>0</height>
  919. </size>
  920. </property>
  921. <property name="maximumSize">
  922. <size>
  923. <width>120</width>
  924. <height>16777215</height>
  925. </size>
  926. </property>
  927. <property name="text">
  928. <string>Template</string>
  929. </property>
  930. </widget>
  931. </item>
  932. <item row="0" column="1">
  933. <widget class="QComboBox" name="templateCombo">
  934. <property name="enabled">
  935. <bool>true</bool>
  936. </property>
  937. <property name="sizePolicy">
  938. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  939. <horstretch>0</horstretch>
  940. <verstretch>0</verstretch>
  941. </sizepolicy>
  942. </property>
  943. <property name="currentText">
  944. <string notr="true"/>
  945. </property>
  946. <property name="currentIndex">
  947. <number>-1</number>
  948. </property>
  949. </widget>
  950. </item>
  951. <item row="1" column="0">
  952. <widget class="QCheckBox" name="checkSeed">
  953. <property name="minimumSize">
  954. <size>
  955. <width>90</width>
  956. <height>0</height>
  957. </size>
  958. </property>
  959. <property name="maximumSize">
  960. <size>
  961. <width>120</width>
  962. <height>16777215</height>
  963. </size>
  964. </property>
  965. <property name="text">
  966. <string>Custom seed</string>
  967. </property>
  968. </widget>
  969. </item>
  970. <item row="1" column="1">
  971. <widget class="QSpinBox" name="lineSeed">
  972. <property name="maximumSize">
  973. <size>
  974. <width>39</width>
  975. <height>22</height>
  976. </size>
  977. </property>
  978. <property name="maximum">
  979. <number>999</number>
  980. </property>
  981. </widget>
  982. </item>
  983. </layout>
  984. </widget>
  985. </widget>
  986. </widget>
  987. <widget class="QCheckBox" name="randomMapCheck">
  988. <property name="geometry">
  989. <rect>
  990. <x>10</x>
  991. <y>140</y>
  992. <width>441</width>
  993. <height>20</height>
  994. </rect>
  995. </property>
  996. <property name="text">
  997. <string>Generate random map</string>
  998. </property>
  999. </widget>
  1000. <widget class="QWidget" name="layoutWidget6">
  1001. <property name="geometry">
  1002. <rect>
  1003. <x>250</x>
  1004. <y>540</y>
  1005. <width>201</width>
  1006. <height>26</height>
  1007. </rect>
  1008. </property>
  1009. <layout class="QHBoxLayout" name="horizontalLayout_3">
  1010. <item>
  1011. <widget class="QPushButton" name="okButton">
  1012. <property name="sizePolicy">
  1013. <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
  1014. <horstretch>0</horstretch>
  1015. <verstretch>0</verstretch>
  1016. </sizepolicy>
  1017. </property>
  1018. <property name="maximumSize">
  1019. <size>
  1020. <width>16777215</width>
  1021. <height>36</height>
  1022. </size>
  1023. </property>
  1024. <property name="text">
  1025. <string>OK</string>
  1026. </property>
  1027. </widget>
  1028. </item>
  1029. <item>
  1030. <widget class="QPushButton" name="cancelButton">
  1031. <property name="sizePolicy">
  1032. <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
  1033. <horstretch>0</horstretch>
  1034. <verstretch>0</verstretch>
  1035. </sizepolicy>
  1036. </property>
  1037. <property name="maximumSize">
  1038. <size>
  1039. <width>16777215</width>
  1040. <height>36</height>
  1041. </size>
  1042. </property>
  1043. <property name="text">
  1044. <string>Cancel</string>
  1045. </property>
  1046. </widget>
  1047. </item>
  1048. </layout>
  1049. </widget>
  1050. </widget>
  1051. <resources/>
  1052. <connections/>
  1053. <buttongroups>
  1054. <buttongroup name="buttonGroup"/>
  1055. </buttongroups>
  1056. </ui>