mainwindow.ui 39 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>MainWindow</class>
  4. <widget class="QMainWindow" name="MainWindow">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>1024</width>
  10. <height>768</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>VCMI Map Editor</string>
  15. </property>
  16. <widget class="QWidget" name="centralwidget">
  17. <layout class="QVBoxLayout" name="verticalLayout_12">
  18. <property name="leftMargin">
  19. <number>0</number>
  20. </property>
  21. <property name="topMargin">
  22. <number>0</number>
  23. </property>
  24. <property name="rightMargin">
  25. <number>0</number>
  26. </property>
  27. <property name="bottomMargin">
  28. <number>0</number>
  29. </property>
  30. <item>
  31. <widget class="MapView" name="mapView">
  32. <property name="sizePolicy">
  33. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  34. <horstretch>0</horstretch>
  35. <verstretch>0</verstretch>
  36. </sizepolicy>
  37. </property>
  38. <property name="mouseTracking">
  39. <bool>true</bool>
  40. </property>
  41. <property name="sizeAdjustPolicy">
  42. <enum>QAbstractScrollArea::AdjustToContents</enum>
  43. </property>
  44. </widget>
  45. </item>
  46. </layout>
  47. </widget>
  48. <widget class="QMenuBar" name="menubar">
  49. <property name="geometry">
  50. <rect>
  51. <x>0</x>
  52. <y>0</y>
  53. <width>1024</width>
  54. <height>37</height>
  55. </rect>
  56. </property>
  57. <widget class="QMenu" name="menuFile">
  58. <property name="title">
  59. <string>File</string>
  60. </property>
  61. <widget class="QMenu" name="menuOpenRecent">
  62. <property name="title">
  63. <string>Open Recent</string>
  64. </property>
  65. <addaction name="actionOpenRecentMore"/>
  66. </widget>
  67. <addaction name="actionNew"/>
  68. <addaction name="actionOpen"/>
  69. <addaction name="menuOpenRecent"/>
  70. <addaction name="actionSave"/>
  71. <addaction name="actionSave_as"/>
  72. <addaction name="actionExport"/>
  73. <addaction name="actionh3m_converter"/>
  74. </widget>
  75. <widget class="QMenu" name="menuMap">
  76. <property name="title">
  77. <string>Map</string>
  78. </property>
  79. <addaction name="actionMapSettings"/>
  80. <addaction name="actionPlayers_settings"/>
  81. <addaction name="actionTranslations"/>
  82. <addaction name="actionValidate"/>
  83. <addaction name="actionUpdate_appearance"/>
  84. <addaction name="actionRecreate_obstacles"/>
  85. </widget>
  86. <widget class="QMenu" name="menuEdit">
  87. <property name="title">
  88. <string>Edit</string>
  89. </property>
  90. <addaction name="actionUndo"/>
  91. <addaction name="actionRedo"/>
  92. <addaction name="actionCut"/>
  93. <addaction name="actionCopy"/>
  94. <addaction name="actionPaste"/>
  95. <addaction name="actionErase"/>
  96. <addaction name="actionLock"/>
  97. <addaction name="actionUnlock"/>
  98. </widget>
  99. <widget class="QMenu" name="menuView">
  100. <property name="title">
  101. <string>View</string>
  102. </property>
  103. <addaction name="actionLevel"/>
  104. <addaction name="actionGrid"/>
  105. <addaction name="actionPass"/>
  106. <addaction name="separator"/>
  107. <addaction name="actionZoom_in"/>
  108. <addaction name="actionZoom_out"/>
  109. <addaction name="actionZoom_reset"/>
  110. </widget>
  111. <widget class="QMenu" name="menuPlayer">
  112. <property name="title">
  113. <string>Player</string>
  114. </property>
  115. <addaction name="actionNeutral"/>
  116. <addaction name="actionPlayer_1"/>
  117. <addaction name="actionPlayer_2"/>
  118. <addaction name="actionPlayer_3"/>
  119. <addaction name="actionPlayer_4"/>
  120. <addaction name="actionPlayer_5"/>
  121. <addaction name="actionPlayer_6"/>
  122. <addaction name="actionPlayer_7"/>
  123. <addaction name="actionPlayer_8"/>
  124. </widget>
  125. <addaction name="menuFile"/>
  126. <addaction name="menuEdit"/>
  127. <addaction name="menuView"/>
  128. <addaction name="menuMap"/>
  129. <addaction name="menuPlayer"/>
  130. </widget>
  131. <widget class="QToolBar" name="toolBar">
  132. <property name="windowTitle">
  133. <string>Toolbar</string>
  134. </property>
  135. <attribute name="toolBarArea">
  136. <enum>TopToolBarArea</enum>
  137. </attribute>
  138. <attribute name="toolBarBreak">
  139. <bool>false</bool>
  140. </attribute>
  141. <addaction name="actionNew"/>
  142. <addaction name="actionOpen"/>
  143. <addaction name="actionOpenRecent"/>
  144. <addaction name="actionSave"/>
  145. <addaction name="separator"/>
  146. <addaction name="actionUndo"/>
  147. <addaction name="actionRedo"/>
  148. <addaction name="separator"/>
  149. <addaction name="actionLevel"/>
  150. <addaction name="actionGrid"/>
  151. <addaction name="actionPass"/>
  152. <addaction name="separator"/>
  153. <addaction name="actionErase"/>
  154. <addaction name="actionCut"/>
  155. <addaction name="actionCopy"/>
  156. <addaction name="actionPaste"/>
  157. <addaction name="separator"/>
  158. <addaction name="actionFill"/>
  159. <addaction name="actionTranslations"/>
  160. <addaction name="separator"/>
  161. <addaction name="actionLock"/>
  162. <addaction name="actionUnlock"/>
  163. <addaction name="separator"/>
  164. <addaction name="actionZoom_in"/>
  165. <addaction name="actionZoom_out"/>
  166. <addaction name="actionZoom_reset"/>
  167. </widget>
  168. <widget class="QDockWidget" name="dockWidget_2">
  169. <property name="sizePolicy">
  170. <sizepolicy hsizetype="Preferred" vsizetype="Minimum">
  171. <horstretch>0</horstretch>
  172. <verstretch>0</verstretch>
  173. </sizepolicy>
  174. </property>
  175. <property name="minimumSize">
  176. <size>
  177. <width>192</width>
  178. <height>214</height>
  179. </size>
  180. </property>
  181. <property name="maximumSize">
  182. <size>
  183. <width>524287</width>
  184. <height>214</height>
  185. </size>
  186. </property>
  187. <property name="features">
  188. <set>QDockWidget::DockWidgetFloatable|QDockWidget::DockWidgetMovable</set>
  189. </property>
  190. <property name="windowTitle">
  191. <string>Minimap</string>
  192. </property>
  193. <attribute name="dockWidgetArea">
  194. <number>2</number>
  195. </attribute>
  196. <widget class="QWidget" name="dockWidgetContents_2">
  197. <property name="maximumSize">
  198. <size>
  199. <width>524287</width>
  200. <height>16777215</height>
  201. </size>
  202. </property>
  203. <layout class="QVBoxLayout" name="verticalLayout_6">
  204. <property name="leftMargin">
  205. <number>0</number>
  206. </property>
  207. <property name="topMargin">
  208. <number>0</number>
  209. </property>
  210. <property name="rightMargin">
  211. <number>0</number>
  212. </property>
  213. <property name="bottomMargin">
  214. <number>0</number>
  215. </property>
  216. <item>
  217. <widget class="MinimapView" name="minimapView">
  218. <property name="sizePolicy">
  219. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  220. <horstretch>0</horstretch>
  221. <verstretch>0</verstretch>
  222. </sizepolicy>
  223. </property>
  224. <property name="minimumSize">
  225. <size>
  226. <width>192</width>
  227. <height>192</height>
  228. </size>
  229. </property>
  230. <property name="verticalScrollBarPolicy">
  231. <enum>Qt::ScrollBarAlwaysOff</enum>
  232. </property>
  233. <property name="horizontalScrollBarPolicy">
  234. <enum>Qt::ScrollBarAlwaysOff</enum>
  235. </property>
  236. </widget>
  237. </item>
  238. </layout>
  239. </widget>
  240. </widget>
  241. <widget class="QDockWidget" name="dockWidget_3">
  242. <property name="sizePolicy">
  243. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  244. <horstretch>0</horstretch>
  245. <verstretch>0</verstretch>
  246. </sizepolicy>
  247. </property>
  248. <property name="minimumSize">
  249. <size>
  250. <width>268</width>
  251. <height>196</height>
  252. </size>
  253. </property>
  254. <property name="maximumSize">
  255. <size>
  256. <width>524287</width>
  257. <height>524287</height>
  258. </size>
  259. </property>
  260. <property name="features">
  261. <set>QDockWidget::DockWidgetFloatable|QDockWidget::DockWidgetMovable</set>
  262. </property>
  263. <property name="windowTitle">
  264. <string>Map Objects View</string>
  265. </property>
  266. <attribute name="dockWidgetArea">
  267. <number>2</number>
  268. </attribute>
  269. <widget class="QWidget" name="dockWidgetContents_3">
  270. <property name="sizePolicy">
  271. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Expanding">
  272. <horstretch>0</horstretch>
  273. <verstretch>0</verstretch>
  274. </sizepolicy>
  275. </property>
  276. <layout class="QVBoxLayout" name="verticalLayout_7">
  277. <property name="leftMargin">
  278. <number>0</number>
  279. </property>
  280. <property name="topMargin">
  281. <number>0</number>
  282. </property>
  283. <property name="rightMargin">
  284. <number>0</number>
  285. </property>
  286. <property name="bottomMargin">
  287. <number>0</number>
  288. </property>
  289. <item>
  290. <widget class="QTabWidget" name="tabWidget">
  291. <property name="sizePolicy">
  292. <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
  293. <horstretch>0</horstretch>
  294. <verstretch>0</verstretch>
  295. </sizepolicy>
  296. </property>
  297. <property name="currentIndex">
  298. <number>1</number>
  299. </property>
  300. <widget class="QWidget" name="tab_2">
  301. <property name="sizePolicy">
  302. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Expanding">
  303. <horstretch>0</horstretch>
  304. <verstretch>0</verstretch>
  305. </sizepolicy>
  306. </property>
  307. <attribute name="title">
  308. <string>Browser</string>
  309. </attribute>
  310. <layout class="QVBoxLayout" name="verticalLayout_2">
  311. <property name="spacing">
  312. <number>0</number>
  313. </property>
  314. <property name="leftMargin">
  315. <number>0</number>
  316. </property>
  317. <property name="topMargin">
  318. <number>0</number>
  319. </property>
  320. <property name="rightMargin">
  321. <number>0</number>
  322. </property>
  323. <property name="bottomMargin">
  324. <number>0</number>
  325. </property>
  326. <item>
  327. <widget class="QComboBox" name="terrainFilterCombo">
  328. <property name="sizePolicy">
  329. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  330. <horstretch>0</horstretch>
  331. <verstretch>0</verstretch>
  332. </sizepolicy>
  333. </property>
  334. </widget>
  335. </item>
  336. <item>
  337. <widget class="QLineEdit" name="filter"/>
  338. </item>
  339. <item>
  340. <widget class="ObjectBrowser" name="treeView">
  341. <property name="sizePolicy">
  342. <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
  343. <horstretch>0</horstretch>
  344. <verstretch>0</verstretch>
  345. </sizepolicy>
  346. </property>
  347. <property name="mouseTracking">
  348. <bool>false</bool>
  349. </property>
  350. <property name="focusPolicy">
  351. <enum>Qt::ClickFocus</enum>
  352. </property>
  353. <property name="editTriggers">
  354. <set>QAbstractItemView::NoEditTriggers</set>
  355. </property>
  356. <property name="showDropIndicator" stdset="0">
  357. <bool>false</bool>
  358. </property>
  359. <property name="dragDropMode">
  360. <enum>QAbstractItemView::DragOnly</enum>
  361. </property>
  362. <property name="selectionBehavior">
  363. <enum>QAbstractItemView::SelectItems</enum>
  364. </property>
  365. <property name="iconSize">
  366. <size>
  367. <width>32</width>
  368. <height>32</height>
  369. </size>
  370. </property>
  371. <property name="indentation">
  372. <number>12</number>
  373. </property>
  374. <property name="sortingEnabled">
  375. <bool>true</bool>
  376. </property>
  377. <property name="headerHidden">
  378. <bool>true</bool>
  379. </property>
  380. </widget>
  381. </item>
  382. </layout>
  383. </widget>
  384. <widget class="QWidget" name="tab">
  385. <attribute name="title">
  386. <string>Inspector</string>
  387. </attribute>
  388. <layout class="QVBoxLayout" name="verticalLayout_3">
  389. <property name="leftMargin">
  390. <number>0</number>
  391. </property>
  392. <property name="topMargin">
  393. <number>0</number>
  394. </property>
  395. <property name="rightMargin">
  396. <number>0</number>
  397. </property>
  398. <property name="bottomMargin">
  399. <number>0</number>
  400. </property>
  401. <item>
  402. <widget class="QTableWidget" name="inspectorWidget">
  403. <property name="font">
  404. <font>
  405. <pointsize>10</pointsize>
  406. </font>
  407. </property>
  408. <property name="editTriggers">
  409. <set>QAbstractItemView::AnyKeyPressed|QAbstractItemView::DoubleClicked|QAbstractItemView::EditKeyPressed|QAbstractItemView::SelectedClicked</set>
  410. </property>
  411. <property name="selectionMode">
  412. <enum>QAbstractItemView::SingleSelection</enum>
  413. </property>
  414. <property name="columnCount">
  415. <number>2</number>
  416. </property>
  417. <attribute name="horizontalHeaderStretchLastSection">
  418. <bool>true</bool>
  419. </attribute>
  420. <attribute name="verticalHeaderVisible">
  421. <bool>false</bool>
  422. </attribute>
  423. <attribute name="verticalHeaderDefaultSectionSize">
  424. <number>21</number>
  425. </attribute>
  426. <column>
  427. <property name="text">
  428. <string>Property</string>
  429. </property>
  430. </column>
  431. <column>
  432. <property name="text">
  433. <string>Value</string>
  434. </property>
  435. </column>
  436. </widget>
  437. </item>
  438. </layout>
  439. </widget>
  440. </widget>
  441. </item>
  442. </layout>
  443. </widget>
  444. </widget>
  445. <widget class="QStatusBar" name="statusbar"/>
  446. <widget class="QDockWidget" name="dockWidget">
  447. <property name="sizePolicy">
  448. <sizepolicy hsizetype="Preferred" vsizetype="Minimum">
  449. <horstretch>0</horstretch>
  450. <verstretch>0</verstretch>
  451. </sizepolicy>
  452. </property>
  453. <property name="features">
  454. <set>QDockWidget::DockWidgetFloatable|QDockWidget::DockWidgetMovable</set>
  455. </property>
  456. <property name="windowTitle">
  457. <string>Tools</string>
  458. </property>
  459. <attribute name="dockWidgetArea">
  460. <number>1</number>
  461. </attribute>
  462. <widget class="QWidget" name="dockWidgetContents">
  463. <property name="sizePolicy">
  464. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
  465. <horstretch>0</horstretch>
  466. <verstretch>0</verstretch>
  467. </sizepolicy>
  468. </property>
  469. <property name="minimumSize">
  470. <size>
  471. <width>0</width>
  472. <height>0</height>
  473. </size>
  474. </property>
  475. <property name="maximumSize">
  476. <size>
  477. <width>16777215</width>
  478. <height>16777215</height>
  479. </size>
  480. </property>
  481. <layout class="QVBoxLayout" name="verticalLayout_8">
  482. <property name="leftMargin">
  483. <number>3</number>
  484. </property>
  485. <property name="topMargin">
  486. <number>3</number>
  487. </property>
  488. <property name="rightMargin">
  489. <number>3</number>
  490. </property>
  491. <property name="bottomMargin">
  492. <number>3</number>
  493. </property>
  494. <item>
  495. <layout class="QHBoxLayout" name="horizontalLayout">
  496. <property name="topMargin">
  497. <number>0</number>
  498. </property>
  499. <item>
  500. <widget class="QPushButton" name="toolBrush">
  501. <property name="sizePolicy">
  502. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  503. <horstretch>0</horstretch>
  504. <verstretch>0</verstretch>
  505. </sizepolicy>
  506. </property>
  507. <property name="minimumSize">
  508. <size>
  509. <width>40</width>
  510. <height>40</height>
  511. </size>
  512. </property>
  513. <property name="maximumSize">
  514. <size>
  515. <width>40</width>
  516. <height>40</height>
  517. </size>
  518. </property>
  519. <property name="text">
  520. <string/>
  521. </property>
  522. <property name="iconSize">
  523. <size>
  524. <width>16</width>
  525. <height>16</height>
  526. </size>
  527. </property>
  528. <property name="checkable">
  529. <bool>true</bool>
  530. </property>
  531. <property name="autoExclusive">
  532. <bool>true</bool>
  533. </property>
  534. <property name="flat">
  535. <bool>false</bool>
  536. </property>
  537. </widget>
  538. </item>
  539. <item>
  540. <widget class="QPushButton" name="toolBrush2">
  541. <property name="enabled">
  542. <bool>true</bool>
  543. </property>
  544. <property name="sizePolicy">
  545. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  546. <horstretch>0</horstretch>
  547. <verstretch>0</verstretch>
  548. </sizepolicy>
  549. </property>
  550. <property name="minimumSize">
  551. <size>
  552. <width>40</width>
  553. <height>40</height>
  554. </size>
  555. </property>
  556. <property name="maximumSize">
  557. <size>
  558. <width>40</width>
  559. <height>40</height>
  560. </size>
  561. </property>
  562. <property name="text">
  563. <string/>
  564. </property>
  565. <property name="iconSize">
  566. <size>
  567. <width>16</width>
  568. <height>16</height>
  569. </size>
  570. </property>
  571. <property name="checkable">
  572. <bool>true</bool>
  573. </property>
  574. <property name="autoExclusive">
  575. <bool>true</bool>
  576. </property>
  577. <property name="flat">
  578. <bool>false</bool>
  579. </property>
  580. </widget>
  581. </item>
  582. <item>
  583. <widget class="QPushButton" name="toolBrush4">
  584. <property name="enabled">
  585. <bool>true</bool>
  586. </property>
  587. <property name="sizePolicy">
  588. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  589. <horstretch>0</horstretch>
  590. <verstretch>0</verstretch>
  591. </sizepolicy>
  592. </property>
  593. <property name="minimumSize">
  594. <size>
  595. <width>40</width>
  596. <height>40</height>
  597. </size>
  598. </property>
  599. <property name="maximumSize">
  600. <size>
  601. <width>40</width>
  602. <height>40</height>
  603. </size>
  604. </property>
  605. <property name="text">
  606. <string/>
  607. </property>
  608. <property name="iconSize">
  609. <size>
  610. <width>16</width>
  611. <height>16</height>
  612. </size>
  613. </property>
  614. <property name="checkable">
  615. <bool>true</bool>
  616. </property>
  617. <property name="autoExclusive">
  618. <bool>true</bool>
  619. </property>
  620. <property name="flat">
  621. <bool>false</bool>
  622. </property>
  623. </widget>
  624. </item>
  625. <item>
  626. <widget class="QPushButton" name="toolLasso">
  627. <property name="enabled">
  628. <bool>true</bool>
  629. </property>
  630. <property name="sizePolicy">
  631. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  632. <horstretch>0</horstretch>
  633. <verstretch>0</verstretch>
  634. </sizepolicy>
  635. </property>
  636. <property name="minimumSize">
  637. <size>
  638. <width>40</width>
  639. <height>40</height>
  640. </size>
  641. </property>
  642. <property name="maximumSize">
  643. <size>
  644. <width>40</width>
  645. <height>40</height>
  646. </size>
  647. </property>
  648. <property name="text">
  649. <string/>
  650. </property>
  651. <property name="checkable">
  652. <bool>true</bool>
  653. </property>
  654. <property name="autoExclusive">
  655. <bool>true</bool>
  656. </property>
  657. <property name="flat">
  658. <bool>false</bool>
  659. </property>
  660. </widget>
  661. </item>
  662. </layout>
  663. </item>
  664. <item>
  665. <layout class="QHBoxLayout" name="horizontalLayout_2">
  666. <property name="topMargin">
  667. <number>0</number>
  668. </property>
  669. <item>
  670. <widget class="QPushButton" name="toolLine">
  671. <property name="sizePolicy">
  672. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  673. <horstretch>0</horstretch>
  674. <verstretch>0</verstretch>
  675. </sizepolicy>
  676. </property>
  677. <property name="minimumSize">
  678. <size>
  679. <width>40</width>
  680. <height>40</height>
  681. </size>
  682. </property>
  683. <property name="maximumSize">
  684. <size>
  685. <width>40</width>
  686. <height>40</height>
  687. </size>
  688. </property>
  689. <property name="text">
  690. <string/>
  691. </property>
  692. <property name="checkable">
  693. <bool>true</bool>
  694. </property>
  695. <property name="autoExclusive">
  696. <bool>true</bool>
  697. </property>
  698. </widget>
  699. </item>
  700. <item>
  701. <widget class="QPushButton" name="toolArea">
  702. <property name="sizePolicy">
  703. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  704. <horstretch>0</horstretch>
  705. <verstretch>0</verstretch>
  706. </sizepolicy>
  707. </property>
  708. <property name="minimumSize">
  709. <size>
  710. <width>40</width>
  711. <height>40</height>
  712. </size>
  713. </property>
  714. <property name="maximumSize">
  715. <size>
  716. <width>40</width>
  717. <height>40</height>
  718. </size>
  719. </property>
  720. <property name="text">
  721. <string/>
  722. </property>
  723. <property name="checkable">
  724. <bool>true</bool>
  725. </property>
  726. <property name="autoExclusive">
  727. <bool>true</bool>
  728. </property>
  729. <property name="flat">
  730. <bool>false</bool>
  731. </property>
  732. </widget>
  733. </item>
  734. <item>
  735. <widget class="QPushButton" name="toolFill">
  736. <property name="sizePolicy">
  737. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  738. <horstretch>0</horstretch>
  739. <verstretch>0</verstretch>
  740. </sizepolicy>
  741. </property>
  742. <property name="minimumSize">
  743. <size>
  744. <width>40</width>
  745. <height>40</height>
  746. </size>
  747. </property>
  748. <property name="maximumSize">
  749. <size>
  750. <width>40</width>
  751. <height>40</height>
  752. </size>
  753. </property>
  754. <property name="text">
  755. <string/>
  756. </property>
  757. <property name="checkable">
  758. <bool>true</bool>
  759. </property>
  760. <property name="autoExclusive">
  761. <bool>true</bool>
  762. </property>
  763. </widget>
  764. </item>
  765. <item>
  766. <widget class="QPushButton" name="toolSelect">
  767. <property name="enabled">
  768. <bool>true</bool>
  769. </property>
  770. <property name="sizePolicy">
  771. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  772. <horstretch>0</horstretch>
  773. <verstretch>0</verstretch>
  774. </sizepolicy>
  775. </property>
  776. <property name="minimumSize">
  777. <size>
  778. <width>40</width>
  779. <height>40</height>
  780. </size>
  781. </property>
  782. <property name="maximumSize">
  783. <size>
  784. <width>40</width>
  785. <height>40</height>
  786. </size>
  787. </property>
  788. <property name="text">
  789. <string/>
  790. </property>
  791. <property name="checkable">
  792. <bool>true</bool>
  793. </property>
  794. <property name="checked">
  795. <bool>true</bool>
  796. </property>
  797. <property name="autoExclusive">
  798. <bool>true</bool>
  799. </property>
  800. <property name="flat">
  801. <bool>false</bool>
  802. </property>
  803. </widget>
  804. </item>
  805. </layout>
  806. </item>
  807. </layout>
  808. </widget>
  809. </widget>
  810. <widget class="QDockWidget" name="dockWidget_4">
  811. <property name="sizePolicy">
  812. <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
  813. <horstretch>0</horstretch>
  814. <verstretch>0</verstretch>
  815. </sizepolicy>
  816. </property>
  817. <property name="features">
  818. <set>QDockWidget::DockWidgetFloatable|QDockWidget::DockWidgetMovable</set>
  819. </property>
  820. <property name="windowTitle">
  821. <string>Painting</string>
  822. </property>
  823. <attribute name="dockWidgetArea">
  824. <number>1</number>
  825. </attribute>
  826. <widget class="QWidget" name="dockWidgetContents_6">
  827. <layout class="QVBoxLayout" name="verticalLayout_9">
  828. <property name="leftMargin">
  829. <number>0</number>
  830. </property>
  831. <property name="topMargin">
  832. <number>0</number>
  833. </property>
  834. <property name="rightMargin">
  835. <number>0</number>
  836. </property>
  837. <property name="bottomMargin">
  838. <number>0</number>
  839. </property>
  840. <item>
  841. <widget class="QToolBox" name="toolBox">
  842. <property name="sizePolicy">
  843. <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
  844. <horstretch>0</horstretch>
  845. <verstretch>0</verstretch>
  846. </sizepolicy>
  847. </property>
  848. <property name="maximumSize">
  849. <size>
  850. <width>16777215</width>
  851. <height>16777215</height>
  852. </size>
  853. </property>
  854. <property name="currentIndex">
  855. <number>0</number>
  856. </property>
  857. <widget class="QWidget" name="terrainPage">
  858. <property name="geometry">
  859. <rect>
  860. <x>0</x>
  861. <y>0</y>
  862. <width>256</width>
  863. <height>120</height>
  864. </rect>
  865. </property>
  866. <property name="sizePolicy">
  867. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
  868. <horstretch>0</horstretch>
  869. <verstretch>0</verstretch>
  870. </sizepolicy>
  871. </property>
  872. <attribute name="label">
  873. <string>Terrains</string>
  874. </attribute>
  875. <layout class="QVBoxLayout" name="verticalLayout">
  876. <property name="spacing">
  877. <number>1</number>
  878. </property>
  879. <property name="leftMargin">
  880. <number>0</number>
  881. </property>
  882. <property name="topMargin">
  883. <number>0</number>
  884. </property>
  885. <property name="rightMargin">
  886. <number>0</number>
  887. </property>
  888. <property name="bottomMargin">
  889. <number>0</number>
  890. </property>
  891. <item>
  892. <layout class="QVBoxLayout" name="terrainLayout">
  893. <property name="spacing">
  894. <number>1</number>
  895. </property>
  896. </layout>
  897. </item>
  898. </layout>
  899. </widget>
  900. <widget class="QWidget" name="roadPage">
  901. <property name="geometry">
  902. <rect>
  903. <x>0</x>
  904. <y>0</y>
  905. <width>256</width>
  906. <height>120</height>
  907. </rect>
  908. </property>
  909. <property name="sizePolicy">
  910. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
  911. <horstretch>0</horstretch>
  912. <verstretch>0</verstretch>
  913. </sizepolicy>
  914. </property>
  915. <attribute name="label">
  916. <string>Roads</string>
  917. </attribute>
  918. <layout class="QVBoxLayout" name="verticalLayout_4">
  919. <property name="leftMargin">
  920. <number>0</number>
  921. </property>
  922. <property name="topMargin">
  923. <number>0</number>
  924. </property>
  925. <property name="rightMargin">
  926. <number>0</number>
  927. </property>
  928. <property name="bottomMargin">
  929. <number>0</number>
  930. </property>
  931. <item>
  932. <layout class="QVBoxLayout" name="roadLayout">
  933. <property name="spacing">
  934. <number>1</number>
  935. </property>
  936. </layout>
  937. </item>
  938. </layout>
  939. </widget>
  940. <widget class="QWidget" name="riverPage">
  941. <property name="geometry">
  942. <rect>
  943. <x>0</x>
  944. <y>0</y>
  945. <width>256</width>
  946. <height>120</height>
  947. </rect>
  948. </property>
  949. <property name="sizePolicy">
  950. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
  951. <horstretch>0</horstretch>
  952. <verstretch>0</verstretch>
  953. </sizepolicy>
  954. </property>
  955. <attribute name="label">
  956. <string>Rivers</string>
  957. </attribute>
  958. <layout class="QVBoxLayout" name="verticalLayout_5">
  959. <property name="leftMargin">
  960. <number>0</number>
  961. </property>
  962. <property name="topMargin">
  963. <number>0</number>
  964. </property>
  965. <property name="rightMargin">
  966. <number>0</number>
  967. </property>
  968. <property name="bottomMargin">
  969. <number>0</number>
  970. </property>
  971. <item>
  972. <layout class="QVBoxLayout" name="riverLayout">
  973. <property name="spacing">
  974. <number>1</number>
  975. </property>
  976. </layout>
  977. </item>
  978. </layout>
  979. </widget>
  980. </widget>
  981. </item>
  982. </layout>
  983. </widget>
  984. </widget>
  985. <widget class="QDockWidget" name="dockWidget_5">
  986. <property name="features">
  987. <set>QDockWidget::DockWidgetFloatable|QDockWidget::DockWidgetMovable</set>
  988. </property>
  989. <property name="windowTitle">
  990. <string>Preview</string>
  991. </property>
  992. <attribute name="dockWidgetArea">
  993. <number>1</number>
  994. </attribute>
  995. <widget class="QWidget" name="dockWidgetContents_7">
  996. <layout class="QVBoxLayout" name="verticalLayout_11">
  997. <property name="leftMargin">
  998. <number>0</number>
  999. </property>
  1000. <property name="topMargin">
  1001. <number>0</number>
  1002. </property>
  1003. <property name="rightMargin">
  1004. <number>0</number>
  1005. </property>
  1006. <property name="bottomMargin">
  1007. <number>0</number>
  1008. </property>
  1009. <item>
  1010. <widget class="QGraphicsView" name="objectPreview">
  1011. <property name="minimumSize">
  1012. <size>
  1013. <width>128</width>
  1014. <height>128</height>
  1015. </size>
  1016. </property>
  1017. </widget>
  1018. </item>
  1019. </layout>
  1020. </widget>
  1021. </widget>
  1022. <action name="actionOpen">
  1023. <property name="text">
  1024. <string>Open</string>
  1025. </property>
  1026. <property name="shortcut">
  1027. <string notr="true">Ctrl+O</string>
  1028. </property>
  1029. </action>
  1030. <action name="actionOpenRecent">
  1031. <property name="text">
  1032. <string>Open Recent</string>
  1033. </property>
  1034. </action>
  1035. <action name="actionOpenRecentMore">
  1036. <property name="text">
  1037. <string>More...</string>
  1038. </property>
  1039. <property name="shortcut">
  1040. <string notr="true">Ctrl+R</string>
  1041. </property>
  1042. </action>
  1043. <action name="actionSave">
  1044. <property name="text">
  1045. <string>Save</string>
  1046. </property>
  1047. <property name="shortcut">
  1048. <string notr="true">Ctrl+S</string>
  1049. </property>
  1050. </action>
  1051. <action name="actionNew">
  1052. <property name="text">
  1053. <string>New</string>
  1054. </property>
  1055. <property name="shortcut">
  1056. <string notr="true">Ctrl+N</string>
  1057. </property>
  1058. </action>
  1059. <action name="actionSave_as">
  1060. <property name="text">
  1061. <string>Save as...</string>
  1062. </property>
  1063. <property name="shortcut">
  1064. <string>Ctrl+Shift+S</string>
  1065. </property>
  1066. </action>
  1067. <action name="actionLevel">
  1068. <property name="text">
  1069. <string>U/G</string>
  1070. </property>
  1071. <property name="toolTip">
  1072. <string>View underground</string>
  1073. </property>
  1074. <property name="shortcut">
  1075. <string notr="true">U</string>
  1076. </property>
  1077. </action>
  1078. <action name="actionPass">
  1079. <property name="checkable">
  1080. <bool>true</bool>
  1081. </property>
  1082. <property name="text">
  1083. <string>Pass</string>
  1084. </property>
  1085. <property name="shortcut">
  1086. <string notr="true">P</string>
  1087. </property>
  1088. </action>
  1089. <action name="actionCut">
  1090. <property name="text">
  1091. <string>Cut</string>
  1092. </property>
  1093. <property name="shortcut">
  1094. <string notr="true">Ctrl+X</string>
  1095. </property>
  1096. </action>
  1097. <action name="actionCopy">
  1098. <property name="text">
  1099. <string>Copy</string>
  1100. </property>
  1101. <property name="shortcut">
  1102. <string notr="true">Ctrl+C</string>
  1103. </property>
  1104. </action>
  1105. <action name="actionPaste">
  1106. <property name="text">
  1107. <string>Paste</string>
  1108. </property>
  1109. <property name="shortcut">
  1110. <string notr="true">Ctrl+V</string>
  1111. </property>
  1112. </action>
  1113. <action name="actionFill">
  1114. <property name="text">
  1115. <string>Fill</string>
  1116. </property>
  1117. <property name="toolTip">
  1118. <string>Fills the selection with obstacles</string>
  1119. </property>
  1120. <property name="shortcut">
  1121. <string notr="true">F</string>
  1122. </property>
  1123. </action>
  1124. <action name="actionGrid">
  1125. <property name="checkable">
  1126. <bool>true</bool>
  1127. </property>
  1128. <property name="text">
  1129. <string>Grid</string>
  1130. </property>
  1131. <property name="shortcut">
  1132. <string notr="true">G</string>
  1133. </property>
  1134. </action>
  1135. <action name="actionMapSettings">
  1136. <property name="enabled">
  1137. <bool>false</bool>
  1138. </property>
  1139. <property name="text">
  1140. <string>General</string>
  1141. </property>
  1142. <property name="toolTip">
  1143. <string>Map title and description</string>
  1144. </property>
  1145. <property name="shortcut">
  1146. <string notr="true"/>
  1147. </property>
  1148. </action>
  1149. <action name="actionPlayers_settings">
  1150. <property name="enabled">
  1151. <bool>false</bool>
  1152. </property>
  1153. <property name="text">
  1154. <string>Players settings</string>
  1155. </property>
  1156. <property name="shortcut">
  1157. <string notr="true"/>
  1158. </property>
  1159. </action>
  1160. <action name="actionUndo">
  1161. <property name="enabled">
  1162. <bool>false</bool>
  1163. </property>
  1164. <property name="text">
  1165. <string>Undo</string>
  1166. </property>
  1167. <property name="iconText">
  1168. <string>Undo</string>
  1169. </property>
  1170. <property name="shortcut">
  1171. <string notr="true">Ctrl+Z</string>
  1172. </property>
  1173. <property name="shortcutVisibleInContextMenu">
  1174. <bool>true</bool>
  1175. </property>
  1176. </action>
  1177. <action name="actionRedo">
  1178. <property name="enabled">
  1179. <bool>false</bool>
  1180. </property>
  1181. <property name="text">
  1182. <string>Redo</string>
  1183. </property>
  1184. <property name="shortcut">
  1185. <string notr="true">Ctrl+Y</string>
  1186. </property>
  1187. <property name="shortcutVisibleInContextMenu">
  1188. <bool>true</bool>
  1189. </property>
  1190. </action>
  1191. <action name="actionErase">
  1192. <property name="enabled">
  1193. <bool>false</bool>
  1194. </property>
  1195. <property name="text">
  1196. <string>Erase</string>
  1197. </property>
  1198. <property name="shortcut">
  1199. <string notr="true">Del</string>
  1200. </property>
  1201. </action>
  1202. <action name="actionNeutral">
  1203. <property name="checkable">
  1204. <bool>true</bool>
  1205. </property>
  1206. <property name="text">
  1207. <string>Neutral</string>
  1208. </property>
  1209. <property name="shortcut">
  1210. <string notr="true">Ctrl+0</string>
  1211. </property>
  1212. </action>
  1213. <action name="actionValidate">
  1214. <property name="text">
  1215. <string>Validate</string>
  1216. </property>
  1217. <property name="shortcut">
  1218. <string notr="true"/>
  1219. </property>
  1220. </action>
  1221. <action name="actionUpdate_appearance">
  1222. <property name="enabled">
  1223. <bool>false</bool>
  1224. </property>
  1225. <property name="text">
  1226. <string>Update appearance</string>
  1227. </property>
  1228. <property name="shortcut">
  1229. <string notr="true"/>
  1230. </property>
  1231. </action>
  1232. <action name="actionRecreate_obstacles">
  1233. <property name="enabled">
  1234. <bool>false</bool>
  1235. </property>
  1236. <property name="text">
  1237. <string>Recreate obstacles</string>
  1238. </property>
  1239. <property name="shortcut">
  1240. <string notr="true"/>
  1241. </property>
  1242. </action>
  1243. <action name="actionPlayer_1">
  1244. <property name="checkable">
  1245. <bool>true</bool>
  1246. </property>
  1247. <property name="text">
  1248. <string>Player 1</string>
  1249. </property>
  1250. <property name="shortcut">
  1251. <string notr="true">Ctrl+1</string>
  1252. </property>
  1253. </action>
  1254. <action name="actionPlayer_2">
  1255. <property name="checkable">
  1256. <bool>true</bool>
  1257. </property>
  1258. <property name="text">
  1259. <string>Player 2</string>
  1260. </property>
  1261. <property name="shortcut">
  1262. <string notr="true">Ctrl+2</string>
  1263. </property>
  1264. </action>
  1265. <action name="actionPlayer_3">
  1266. <property name="checkable">
  1267. <bool>true</bool>
  1268. </property>
  1269. <property name="text">
  1270. <string>Player 3</string>
  1271. </property>
  1272. <property name="shortcut">
  1273. <string notr="true">Ctrl+3</string>
  1274. </property>
  1275. </action>
  1276. <action name="actionPlayer_4">
  1277. <property name="checkable">
  1278. <bool>true</bool>
  1279. </property>
  1280. <property name="text">
  1281. <string>Player 4</string>
  1282. </property>
  1283. <property name="shortcut">
  1284. <string notr="true">Ctrl+4</string>
  1285. </property>
  1286. </action>
  1287. <action name="actionPlayer_5">
  1288. <property name="checkable">
  1289. <bool>true</bool>
  1290. </property>
  1291. <property name="text">
  1292. <string>Player 5</string>
  1293. </property>
  1294. <property name="shortcut">
  1295. <string notr="true">Ctrl+5</string>
  1296. </property>
  1297. </action>
  1298. <action name="actionPlayer_6">
  1299. <property name="checkable">
  1300. <bool>true</bool>
  1301. </property>
  1302. <property name="text">
  1303. <string>Player 6</string>
  1304. </property>
  1305. <property name="shortcut">
  1306. <string notr="true">Ctrl+6</string>
  1307. </property>
  1308. </action>
  1309. <action name="actionPlayer_7">
  1310. <property name="checkable">
  1311. <bool>true</bool>
  1312. </property>
  1313. <property name="text">
  1314. <string>Player 7</string>
  1315. </property>
  1316. <property name="shortcut">
  1317. <string notr="true">Ctrl+7</string>
  1318. </property>
  1319. </action>
  1320. <action name="actionPlayer_8">
  1321. <property name="checkable">
  1322. <bool>true</bool>
  1323. </property>
  1324. <property name="text">
  1325. <string>Player 8</string>
  1326. </property>
  1327. <property name="shortcut">
  1328. <string notr="true">Ctrl+8</string>
  1329. </property>
  1330. </action>
  1331. <action name="actionExport">
  1332. <property name="text">
  1333. <string>Export as...</string>
  1334. </property>
  1335. </action>
  1336. <action name="actionTranslations">
  1337. <property name="enabled">
  1338. <bool>false</bool>
  1339. </property>
  1340. <property name="text">
  1341. <string>Translations</string>
  1342. </property>
  1343. <property name="shortcut">
  1344. <string>Ctrl+T</string>
  1345. </property>
  1346. </action>
  1347. <action name="actionh3m_converter">
  1348. <property name="text">
  1349. <string>h3m converter</string>
  1350. </property>
  1351. <property name="toolTip">
  1352. <string>h3m converter</string>
  1353. </property>
  1354. </action>
  1355. <action name="actionLock">
  1356. <property name="text">
  1357. <string>Lock</string>
  1358. </property>
  1359. <property name="toolTip">
  1360. <string>Lock objects on map to avoid unnecessary changes</string>
  1361. </property>
  1362. <property name="shortcut">
  1363. <string>Ctrl+L</string>
  1364. </property>
  1365. </action>
  1366. <action name="actionUnlock">
  1367. <property name="text">
  1368. <string>Unlock</string>
  1369. </property>
  1370. <property name="toolTip">
  1371. <string>Unlock all objects on the map</string>
  1372. </property>
  1373. <property name="shortcut">
  1374. <string>Ctrl+Shift+L</string>
  1375. </property>
  1376. </action>
  1377. <action name="actionZoom_in">
  1378. <property name="text">
  1379. <string>Zoom in</string>
  1380. </property>
  1381. <property name="shortcut">
  1382. <string>Ctrl+=</string>
  1383. </property>
  1384. </action>
  1385. <action name="actionZoom_out">
  1386. <property name="text">
  1387. <string>Zoom out</string>
  1388. </property>
  1389. <property name="shortcut">
  1390. <string>Ctrl+-</string>
  1391. </property>
  1392. </action>
  1393. <action name="actionZoom_reset">
  1394. <property name="text">
  1395. <string>Zoom reset</string>
  1396. </property>
  1397. <property name="shortcut">
  1398. <string>Ctrl+Shift+=</string>
  1399. </property>
  1400. </action>
  1401. </widget>
  1402. <customwidgets>
  1403. <customwidget>
  1404. <class>MapView</class>
  1405. <extends>QGraphicsView</extends>
  1406. <header>mapview.h</header>
  1407. </customwidget>
  1408. <customwidget>
  1409. <class>MinimapView</class>
  1410. <extends>QGraphicsView</extends>
  1411. <header>mapview.h</header>
  1412. </customwidget>
  1413. <customwidget>
  1414. <class>ObjectBrowser</class>
  1415. <extends>QTreeView</extends>
  1416. <header>objectbrowser.h</header>
  1417. </customwidget>
  1418. </customwidgets>
  1419. <resources/>
  1420. <connections/>
  1421. <slots>
  1422. <signal>enableUndo(bool)</signal>
  1423. <signal>enableRedo(bool)</signal>
  1424. </slots>
  1425. </ui>