mainwindow.ui 42 KB

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