windownewmap.ui 27 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072
  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="QWidget" name="horizontalLayoutWidget_3">
  274. <property name="geometry">
  275. <rect>
  276. <x>20</x>
  277. <y>86</y>
  278. <width>191</width>
  279. <height>29</height>
  280. </rect>
  281. </property>
  282. <layout class="QHBoxLayout" name="horizontalLayout_4">
  283. <item>
  284. <widget class="QLabel" name="label_8">
  285. <property name="text">
  286. <string>Levels</string>
  287. </property>
  288. </widget>
  289. </item>
  290. <item>
  291. <widget class="QSpinBox" name="spinBoxLevels">
  292. <property name="specialValueText">
  293. <string/>
  294. </property>
  295. <property name="suffix">
  296. <string/>
  297. </property>
  298. <property name="prefix">
  299. <string/>
  300. </property>
  301. <property name="minimum">
  302. <number>1</number>
  303. </property>
  304. </widget>
  305. </item>
  306. </layout>
  307. </widget>
  308. </widget>
  309. <widget class="QGroupBox" name="randomOptions">
  310. <property name="enabled">
  311. <bool>false</bool>
  312. </property>
  313. <property name="geometry">
  314. <rect>
  315. <x>10</x>
  316. <y>170</y>
  317. <width>441</width>
  318. <height>361</height>
  319. </rect>
  320. </property>
  321. <property name="sizePolicy">
  322. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  323. <horstretch>0</horstretch>
  324. <verstretch>0</verstretch>
  325. </sizepolicy>
  326. </property>
  327. <property name="title">
  328. <string>Random map</string>
  329. </property>
  330. <widget class="QGroupBox" name="groupBox_2">
  331. <property name="geometry">
  332. <rect>
  333. <x>10</x>
  334. <y>110</y>
  335. <width>421</width>
  336. <height>91</height>
  337. </rect>
  338. </property>
  339. <property name="title">
  340. <string>Players</string>
  341. </property>
  342. <widget class="QWidget" name="layoutWidget2">
  343. <property name="geometry">
  344. <rect>
  345. <x>10</x>
  346. <y>20</y>
  347. <width>401</width>
  348. <height>61</height>
  349. </rect>
  350. </property>
  351. <layout class="QGridLayout" name="gridLayout" columnstretch="0,0,0,0">
  352. <item row="0" column="1">
  353. <widget class="QComboBox" name="humanCombo">
  354. <property name="minimumSize">
  355. <size>
  356. <width>90</width>
  357. <height>0</height>
  358. </size>
  359. </property>
  360. <property name="maximumSize">
  361. <size>
  362. <width>120</width>
  363. <height>16777215</height>
  364. </size>
  365. </property>
  366. <item>
  367. <property name="text">
  368. <string>Random</string>
  369. </property>
  370. </item>
  371. <item>
  372. <property name="text">
  373. <string notr="true">1</string>
  374. </property>
  375. </item>
  376. <item>
  377. <property name="text">
  378. <string notr="true">2</string>
  379. </property>
  380. </item>
  381. <item>
  382. <property name="text">
  383. <string notr="true">3</string>
  384. </property>
  385. </item>
  386. <item>
  387. <property name="text">
  388. <string notr="true">4</string>
  389. </property>
  390. </item>
  391. <item>
  392. <property name="text">
  393. <string notr="true">5</string>
  394. </property>
  395. </item>
  396. <item>
  397. <property name="text">
  398. <string notr="true">6</string>
  399. </property>
  400. </item>
  401. <item>
  402. <property name="text">
  403. <string notr="true">7</string>
  404. </property>
  405. </item>
  406. <item>
  407. <property name="text">
  408. <string notr="true">8</string>
  409. </property>
  410. </item>
  411. </widget>
  412. </item>
  413. <item row="0" column="0">
  414. <widget class="QLabel" name="label_3">
  415. <property name="minimumSize">
  416. <size>
  417. <width>90</width>
  418. <height>0</height>
  419. </size>
  420. </property>
  421. <property name="maximumSize">
  422. <size>
  423. <width>120</width>
  424. <height>16777215</height>
  425. </size>
  426. </property>
  427. <property name="text">
  428. <string>Humans</string>
  429. </property>
  430. </widget>
  431. </item>
  432. <item row="1" column="3">
  433. <widget class="QComboBox" name="cpuTeamsCombo">
  434. <property name="currentText">
  435. <string notr="true">0</string>
  436. </property>
  437. <item>
  438. <property name="text">
  439. <string notr="true">0</string>
  440. </property>
  441. </item>
  442. </widget>
  443. </item>
  444. <item row="1" column="2">
  445. <widget class="QLabel" name="label_7">
  446. <property name="text">
  447. <string>Computer teams</string>
  448. </property>
  449. </widget>
  450. </item>
  451. <item row="1" column="0">
  452. <widget class="QLabel" name="label_6">
  453. <property name="minimumSize">
  454. <size>
  455. <width>90</width>
  456. <height>0</height>
  457. </size>
  458. </property>
  459. <property name="text">
  460. <string>Human teams</string>
  461. </property>
  462. </widget>
  463. </item>
  464. <item row="1" column="1">
  465. <widget class="QComboBox" name="humanTeamsCombo">
  466. <property name="minimumSize">
  467. <size>
  468. <width>90</width>
  469. <height>0</height>
  470. </size>
  471. </property>
  472. <property name="maximumSize">
  473. <size>
  474. <width>16777215</width>
  475. <height>16777215</height>
  476. </size>
  477. </property>
  478. <property name="currentText">
  479. <string notr="true">0</string>
  480. </property>
  481. <item>
  482. <property name="text">
  483. <string notr="true">0</string>
  484. </property>
  485. </item>
  486. </widget>
  487. </item>
  488. <item row="0" column="2">
  489. <widget class="QLabel" name="label_4">
  490. <property name="text">
  491. <string>Computers</string>
  492. </property>
  493. </widget>
  494. </item>
  495. <item row="0" column="3">
  496. <widget class="QComboBox" name="cpuCombo">
  497. <item>
  498. <property name="text">
  499. <string>Random</string>
  500. </property>
  501. </item>
  502. <item>
  503. <property name="text">
  504. <string notr="true">0</string>
  505. </property>
  506. </item>
  507. <item>
  508. <property name="text">
  509. <string notr="true">1</string>
  510. </property>
  511. </item>
  512. <item>
  513. <property name="text">
  514. <string notr="true">2</string>
  515. </property>
  516. </item>
  517. <item>
  518. <property name="text">
  519. <string notr="true">3</string>
  520. </property>
  521. </item>
  522. <item>
  523. <property name="text">
  524. <string notr="true">4</string>
  525. </property>
  526. </item>
  527. <item>
  528. <property name="text">
  529. <string notr="true">5</string>
  530. </property>
  531. </item>
  532. <item>
  533. <property name="text">
  534. <string notr="true">6</string>
  535. </property>
  536. </item>
  537. <item>
  538. <property name="text">
  539. <string notr="true">7</string>
  540. </property>
  541. </item>
  542. </widget>
  543. </item>
  544. </layout>
  545. </widget>
  546. </widget>
  547. <widget class="QGroupBox" name="groupBox_4">
  548. <property name="geometry">
  549. <rect>
  550. <x>10</x>
  551. <y>250</y>
  552. <width>421</width>
  553. <height>51</height>
  554. </rect>
  555. </property>
  556. <property name="title">
  557. <string>Monster strength</string>
  558. </property>
  559. <widget class="QWidget" name="layoutWidget3">
  560. <property name="geometry">
  561. <rect>
  562. <x>10</x>
  563. <y>20</y>
  564. <width>401</width>
  565. <height>26</height>
  566. </rect>
  567. </property>
  568. <layout class="QHBoxLayout" name="horizontalLayout" stretch="1,1,1,1">
  569. <item>
  570. <widget class="QRadioButton" name="monsterOpt1">
  571. <property name="sizePolicy">
  572. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  573. <horstretch>0</horstretch>
  574. <verstretch>0</verstretch>
  575. </sizepolicy>
  576. </property>
  577. <property name="minimumSize">
  578. <size>
  579. <width>90</width>
  580. <height>0</height>
  581. </size>
  582. </property>
  583. <property name="maximumSize">
  584. <size>
  585. <width>16777215</width>
  586. <height>16777215</height>
  587. </size>
  588. </property>
  589. <property name="text">
  590. <string>Random</string>
  591. </property>
  592. <property name="checked">
  593. <bool>true</bool>
  594. </property>
  595. </widget>
  596. </item>
  597. <item>
  598. <widget class="QRadioButton" name="monsterOpt2">
  599. <property name="sizePolicy">
  600. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  601. <horstretch>0</horstretch>
  602. <verstretch>0</verstretch>
  603. </sizepolicy>
  604. </property>
  605. <property name="minimumSize">
  606. <size>
  607. <width>90</width>
  608. <height>0</height>
  609. </size>
  610. </property>
  611. <property name="maximumSize">
  612. <size>
  613. <width>120</width>
  614. <height>16777215</height>
  615. </size>
  616. </property>
  617. <property name="text">
  618. <string>Weak</string>
  619. </property>
  620. </widget>
  621. </item>
  622. <item>
  623. <widget class="QRadioButton" name="monsterOpt3">
  624. <property name="sizePolicy">
  625. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  626. <horstretch>0</horstretch>
  627. <verstretch>0</verstretch>
  628. </sizepolicy>
  629. </property>
  630. <property name="minimumSize">
  631. <size>
  632. <width>90</width>
  633. <height>0</height>
  634. </size>
  635. </property>
  636. <property name="maximumSize">
  637. <size>
  638. <width>120</width>
  639. <height>16777215</height>
  640. </size>
  641. </property>
  642. <property name="text">
  643. <string>Normal</string>
  644. </property>
  645. </widget>
  646. </item>
  647. <item>
  648. <widget class="QRadioButton" name="monsterOpt4">
  649. <property name="sizePolicy">
  650. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  651. <horstretch>0</horstretch>
  652. <verstretch>0</verstretch>
  653. </sizepolicy>
  654. </property>
  655. <property name="minimumSize">
  656. <size>
  657. <width>90</width>
  658. <height>0</height>
  659. </size>
  660. </property>
  661. <property name="maximumSize">
  662. <size>
  663. <width>120</width>
  664. <height>16777215</height>
  665. </size>
  666. </property>
  667. <property name="text">
  668. <string>Strong</string>
  669. </property>
  670. </widget>
  671. </item>
  672. </layout>
  673. </widget>
  674. </widget>
  675. <widget class="QGroupBox" name="groupBox_3">
  676. <property name="geometry">
  677. <rect>
  678. <x>10</x>
  679. <y>200</y>
  680. <width>421</width>
  681. <height>51</height>
  682. </rect>
  683. </property>
  684. <property name="sizePolicy">
  685. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
  686. <horstretch>0</horstretch>
  687. <verstretch>0</verstretch>
  688. </sizepolicy>
  689. </property>
  690. <property name="maximumSize">
  691. <size>
  692. <width>480</width>
  693. <height>96</height>
  694. </size>
  695. </property>
  696. <property name="title">
  697. <string>Water content</string>
  698. </property>
  699. <widget class="QWidget" name="layoutWidget4">
  700. <property name="geometry">
  701. <rect>
  702. <x>10</x>
  703. <y>20</y>
  704. <width>401</width>
  705. <height>26</height>
  706. </rect>
  707. </property>
  708. <layout class="QHBoxLayout" name="horizontalLayout_2" stretch="1,1,1,1">
  709. <item>
  710. <widget class="QRadioButton" name="waterOpt1">
  711. <property name="sizePolicy">
  712. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  713. <horstretch>0</horstretch>
  714. <verstretch>0</verstretch>
  715. </sizepolicy>
  716. </property>
  717. <property name="minimumSize">
  718. <size>
  719. <width>90</width>
  720. <height>0</height>
  721. </size>
  722. </property>
  723. <property name="maximumSize">
  724. <size>
  725. <width>144</width>
  726. <height>96</height>
  727. </size>
  728. </property>
  729. <property name="text">
  730. <string>Random</string>
  731. </property>
  732. <property name="checked">
  733. <bool>true</bool>
  734. </property>
  735. </widget>
  736. </item>
  737. <item>
  738. <widget class="QRadioButton" name="waterOpt2">
  739. <property name="sizePolicy">
  740. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  741. <horstretch>0</horstretch>
  742. <verstretch>0</verstretch>
  743. </sizepolicy>
  744. </property>
  745. <property name="minimumSize">
  746. <size>
  747. <width>90</width>
  748. <height>0</height>
  749. </size>
  750. </property>
  751. <property name="maximumSize">
  752. <size>
  753. <width>144</width>
  754. <height>96</height>
  755. </size>
  756. </property>
  757. <property name="text">
  758. <string>None</string>
  759. </property>
  760. </widget>
  761. </item>
  762. <item>
  763. <widget class="QRadioButton" name="waterOpt3">
  764. <property name="sizePolicy">
  765. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  766. <horstretch>0</horstretch>
  767. <verstretch>0</verstretch>
  768. </sizepolicy>
  769. </property>
  770. <property name="minimumSize">
  771. <size>
  772. <width>90</width>
  773. <height>0</height>
  774. </size>
  775. </property>
  776. <property name="maximumSize">
  777. <size>
  778. <width>144</width>
  779. <height>96</height>
  780. </size>
  781. </property>
  782. <property name="text">
  783. <string>Normal</string>
  784. </property>
  785. </widget>
  786. </item>
  787. <item>
  788. <widget class="QRadioButton" name="waterOpt4">
  789. <property name="sizePolicy">
  790. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  791. <horstretch>0</horstretch>
  792. <verstretch>0</verstretch>
  793. </sizepolicy>
  794. </property>
  795. <property name="minimumSize">
  796. <size>
  797. <width>90</width>
  798. <height>0</height>
  799. </size>
  800. </property>
  801. <property name="maximumSize">
  802. <size>
  803. <width>144</width>
  804. <height>96</height>
  805. </size>
  806. </property>
  807. <property name="text">
  808. <string>Islands</string>
  809. </property>
  810. </widget>
  811. </item>
  812. </layout>
  813. </widget>
  814. </widget>
  815. <widget class="QGroupBox" name="groupBox_6">
  816. <property name="geometry">
  817. <rect>
  818. <x>10</x>
  819. <y>300</y>
  820. <width>421</width>
  821. <height>51</height>
  822. </rect>
  823. </property>
  824. <property name="sizePolicy">
  825. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
  826. <horstretch>0</horstretch>
  827. <verstretch>0</verstretch>
  828. </sizepolicy>
  829. </property>
  830. <property name="maximumSize">
  831. <size>
  832. <width>480</width>
  833. <height>96</height>
  834. </size>
  835. </property>
  836. <property name="title">
  837. <string>Roads</string>
  838. </property>
  839. <widget class="QWidget" name="layoutWidget4_2">
  840. <property name="geometry">
  841. <rect>
  842. <x>10</x>
  843. <y>20</y>
  844. <width>401</width>
  845. <height>26</height>
  846. </rect>
  847. </property>
  848. <layout class="QHBoxLayout" name="horizontalLayout_5" stretch="0,0,0,0">
  849. <item>
  850. <widget class="QCheckBox" name="roadDirt">
  851. <property name="minimumSize">
  852. <size>
  853. <width>90</width>
  854. <height>0</height>
  855. </size>
  856. </property>
  857. <property name="text">
  858. <string>Dirt</string>
  859. </property>
  860. </widget>
  861. </item>
  862. <item>
  863. <widget class="QCheckBox" name="roadGravel">
  864. <property name="minimumSize">
  865. <size>
  866. <width>90</width>
  867. <height>0</height>
  868. </size>
  869. </property>
  870. <property name="text">
  871. <string>Gravel</string>
  872. </property>
  873. </widget>
  874. </item>
  875. <item>
  876. <widget class="QCheckBox" name="roadCobblestone">
  877. <property name="minimumSize">
  878. <size>
  879. <width>90</width>
  880. <height>0</height>
  881. </size>
  882. </property>
  883. <property name="text">
  884. <string>Cobblestone</string>
  885. </property>
  886. </widget>
  887. </item>
  888. <item>
  889. <spacer name="horizontalSpacer">
  890. <property name="orientation">
  891. <enum>Qt::Orientation::Horizontal</enum>
  892. </property>
  893. <property name="sizeType">
  894. <enum>QSizePolicy::Policy::Fixed</enum>
  895. </property>
  896. <property name="sizeHint" stdset="0">
  897. <size>
  898. <width>100</width>
  899. <height>20</height>
  900. </size>
  901. </property>
  902. </spacer>
  903. </item>
  904. </layout>
  905. </widget>
  906. </widget>
  907. <widget class="QGroupBox" name="groupBox_5">
  908. <property name="geometry">
  909. <rect>
  910. <x>10</x>
  911. <y>20</y>
  912. <width>421</width>
  913. <height>91</height>
  914. </rect>
  915. </property>
  916. <property name="title">
  917. <string>Template</string>
  918. </property>
  919. <widget class="QWidget" name="layoutWidget2_2">
  920. <property name="geometry">
  921. <rect>
  922. <x>10</x>
  923. <y>20</y>
  924. <width>401</width>
  925. <height>61</height>
  926. </rect>
  927. </property>
  928. <layout class="QGridLayout" name="gridLayout_3" columnstretch="0,0">
  929. <item row="0" column="0">
  930. <widget class="QLabel" name="label_5">
  931. <property name="minimumSize">
  932. <size>
  933. <width>100</width>
  934. <height>0</height>
  935. </size>
  936. </property>
  937. <property name="maximumSize">
  938. <size>
  939. <width>120</width>
  940. <height>16777215</height>
  941. </size>
  942. </property>
  943. <property name="text">
  944. <string>Template</string>
  945. </property>
  946. </widget>
  947. </item>
  948. <item row="0" column="1">
  949. <widget class="QComboBox" name="templateCombo">
  950. <property name="enabled">
  951. <bool>true</bool>
  952. </property>
  953. <property name="sizePolicy">
  954. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  955. <horstretch>0</horstretch>
  956. <verstretch>0</verstretch>
  957. </sizepolicy>
  958. </property>
  959. <property name="currentText">
  960. <string notr="true"/>
  961. </property>
  962. <property name="currentIndex">
  963. <number>-1</number>
  964. </property>
  965. </widget>
  966. </item>
  967. <item row="1" column="0">
  968. <widget class="QCheckBox" name="checkSeed">
  969. <property name="minimumSize">
  970. <size>
  971. <width>90</width>
  972. <height>0</height>
  973. </size>
  974. </property>
  975. <property name="maximumSize">
  976. <size>
  977. <width>120</width>
  978. <height>16777215</height>
  979. </size>
  980. </property>
  981. <property name="text">
  982. <string>Custom seed</string>
  983. </property>
  984. </widget>
  985. </item>
  986. <item row="1" column="1">
  987. <widget class="QSpinBox" name="lineSeed">
  988. <property name="maximumSize">
  989. <size>
  990. <width>39</width>
  991. <height>22</height>
  992. </size>
  993. </property>
  994. <property name="maximum">
  995. <number>999</number>
  996. </property>
  997. </widget>
  998. </item>
  999. </layout>
  1000. </widget>
  1001. </widget>
  1002. </widget>
  1003. <widget class="QCheckBox" name="randomMapCheck">
  1004. <property name="geometry">
  1005. <rect>
  1006. <x>10</x>
  1007. <y>140</y>
  1008. <width>441</width>
  1009. <height>20</height>
  1010. </rect>
  1011. </property>
  1012. <property name="text">
  1013. <string>Generate random map</string>
  1014. </property>
  1015. </widget>
  1016. <widget class="QWidget" name="layoutWidget6">
  1017. <property name="geometry">
  1018. <rect>
  1019. <x>250</x>
  1020. <y>540</y>
  1021. <width>201</width>
  1022. <height>26</height>
  1023. </rect>
  1024. </property>
  1025. <layout class="QHBoxLayout" name="horizontalLayout_3">
  1026. <item>
  1027. <widget class="QPushButton" name="okButton">
  1028. <property name="sizePolicy">
  1029. <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
  1030. <horstretch>0</horstretch>
  1031. <verstretch>0</verstretch>
  1032. </sizepolicy>
  1033. </property>
  1034. <property name="maximumSize">
  1035. <size>
  1036. <width>16777215</width>
  1037. <height>36</height>
  1038. </size>
  1039. </property>
  1040. <property name="text">
  1041. <string>OK</string>
  1042. </property>
  1043. </widget>
  1044. </item>
  1045. <item>
  1046. <widget class="QPushButton" name="cancelButton">
  1047. <property name="sizePolicy">
  1048. <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
  1049. <horstretch>0</horstretch>
  1050. <verstretch>0</verstretch>
  1051. </sizepolicy>
  1052. </property>
  1053. <property name="maximumSize">
  1054. <size>
  1055. <width>16777215</width>
  1056. <height>36</height>
  1057. </size>
  1058. </property>
  1059. <property name="text">
  1060. <string>Cancel</string>
  1061. </property>
  1062. </widget>
  1063. </item>
  1064. </layout>
  1065. </widget>
  1066. </widget>
  1067. <resources/>
  1068. <connections/>
  1069. <buttongroups>
  1070. <buttongroup name="buttonGroup"/>
  1071. </buttongroups>
  1072. </ui>