mainwindow.ui 40 KB

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