mainwindow.ui 38 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404
  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="iconSize">
  515. <size>
  516. <width>16</width>
  517. <height>16</height>
  518. </size>
  519. </property>
  520. <property name="checkable">
  521. <bool>true</bool>
  522. </property>
  523. <property name="autoExclusive">
  524. <bool>true</bool>
  525. </property>
  526. <property name="flat">
  527. <bool>false</bool>
  528. </property>
  529. </widget>
  530. </item>
  531. <item>
  532. <widget class="QPushButton" name="toolBrush2">
  533. <property name="enabled">
  534. <bool>true</bool>
  535. </property>
  536. <property name="sizePolicy">
  537. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  538. <horstretch>0</horstretch>
  539. <verstretch>0</verstretch>
  540. </sizepolicy>
  541. </property>
  542. <property name="minimumSize">
  543. <size>
  544. <width>40</width>
  545. <height>40</height>
  546. </size>
  547. </property>
  548. <property name="maximumSize">
  549. <size>
  550. <width>40</width>
  551. <height>40</height>
  552. </size>
  553. </property>
  554. <property name="text">
  555. <string/>
  556. </property>
  557. <property name="iconSize">
  558. <size>
  559. <width>16</width>
  560. <height>16</height>
  561. </size>
  562. </property>
  563. <property name="checkable">
  564. <bool>true</bool>
  565. </property>
  566. <property name="autoExclusive">
  567. <bool>true</bool>
  568. </property>
  569. <property name="flat">
  570. <bool>false</bool>
  571. </property>
  572. </widget>
  573. </item>
  574. <item>
  575. <widget class="QPushButton" name="toolBrush4">
  576. <property name="enabled">
  577. <bool>true</bool>
  578. </property>
  579. <property name="sizePolicy">
  580. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  581. <horstretch>0</horstretch>
  582. <verstretch>0</verstretch>
  583. </sizepolicy>
  584. </property>
  585. <property name="minimumSize">
  586. <size>
  587. <width>40</width>
  588. <height>40</height>
  589. </size>
  590. </property>
  591. <property name="maximumSize">
  592. <size>
  593. <width>40</width>
  594. <height>40</height>
  595. </size>
  596. </property>
  597. <property name="text">
  598. <string/>
  599. </property>
  600. <property name="iconSize">
  601. <size>
  602. <width>16</width>
  603. <height>16</height>
  604. </size>
  605. </property>
  606. <property name="checkable">
  607. <bool>true</bool>
  608. </property>
  609. <property name="autoExclusive">
  610. <bool>true</bool>
  611. </property>
  612. <property name="flat">
  613. <bool>false</bool>
  614. </property>
  615. </widget>
  616. </item>
  617. <item>
  618. <widget class="QPushButton" name="toolLasso">
  619. <property name="enabled">
  620. <bool>true</bool>
  621. </property>
  622. <property name="sizePolicy">
  623. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  624. <horstretch>0</horstretch>
  625. <verstretch>0</verstretch>
  626. </sizepolicy>
  627. </property>
  628. <property name="minimumSize">
  629. <size>
  630. <width>40</width>
  631. <height>40</height>
  632. </size>
  633. </property>
  634. <property name="maximumSize">
  635. <size>
  636. <width>40</width>
  637. <height>40</height>
  638. </size>
  639. </property>
  640. <property name="text">
  641. <string/>
  642. </property>
  643. <property name="checkable">
  644. <bool>true</bool>
  645. </property>
  646. <property name="autoExclusive">
  647. <bool>true</bool>
  648. </property>
  649. <property name="flat">
  650. <bool>false</bool>
  651. </property>
  652. </widget>
  653. </item>
  654. </layout>
  655. </item>
  656. <item>
  657. <layout class="QHBoxLayout" name="horizontalLayout_2">
  658. <property name="topMargin">
  659. <number>0</number>
  660. </property>
  661. <item>
  662. <widget class="QPushButton" name="toolLine">
  663. <property name="sizePolicy">
  664. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  665. <horstretch>0</horstretch>
  666. <verstretch>0</verstretch>
  667. </sizepolicy>
  668. </property>
  669. <property name="minimumSize">
  670. <size>
  671. <width>40</width>
  672. <height>40</height>
  673. </size>
  674. </property>
  675. <property name="maximumSize">
  676. <size>
  677. <width>40</width>
  678. <height>40</height>
  679. </size>
  680. </property>
  681. <property name="text">
  682. <string/>
  683. </property>
  684. <property name="checkable">
  685. <bool>true</bool>
  686. </property>
  687. <property name="autoExclusive">
  688. <bool>true</bool>
  689. </property>
  690. </widget>
  691. </item>
  692. <item>
  693. <widget class="QPushButton" name="toolArea">
  694. <property name="sizePolicy">
  695. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  696. <horstretch>0</horstretch>
  697. <verstretch>0</verstretch>
  698. </sizepolicy>
  699. </property>
  700. <property name="minimumSize">
  701. <size>
  702. <width>40</width>
  703. <height>40</height>
  704. </size>
  705. </property>
  706. <property name="maximumSize">
  707. <size>
  708. <width>40</width>
  709. <height>40</height>
  710. </size>
  711. </property>
  712. <property name="text">
  713. <string/>
  714. </property>
  715. <property name="checkable">
  716. <bool>true</bool>
  717. </property>
  718. <property name="autoExclusive">
  719. <bool>true</bool>
  720. </property>
  721. <property name="flat">
  722. <bool>false</bool>
  723. </property>
  724. </widget>
  725. </item>
  726. <item>
  727. <widget class="QPushButton" name="toolFill">
  728. <property name="sizePolicy">
  729. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  730. <horstretch>0</horstretch>
  731. <verstretch>0</verstretch>
  732. </sizepolicy>
  733. </property>
  734. <property name="minimumSize">
  735. <size>
  736. <width>40</width>
  737. <height>40</height>
  738. </size>
  739. </property>
  740. <property name="maximumSize">
  741. <size>
  742. <width>40</width>
  743. <height>40</height>
  744. </size>
  745. </property>
  746. <property name="text">
  747. <string/>
  748. </property>
  749. <property name="checkable">
  750. <bool>true</bool>
  751. </property>
  752. <property name="autoExclusive">
  753. <bool>true</bool>
  754. </property>
  755. </widget>
  756. </item>
  757. <item>
  758. <widget class="QPushButton" name="toolSelect">
  759. <property name="enabled">
  760. <bool>true</bool>
  761. </property>
  762. <property name="sizePolicy">
  763. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  764. <horstretch>0</horstretch>
  765. <verstretch>0</verstretch>
  766. </sizepolicy>
  767. </property>
  768. <property name="minimumSize">
  769. <size>
  770. <width>40</width>
  771. <height>40</height>
  772. </size>
  773. </property>
  774. <property name="maximumSize">
  775. <size>
  776. <width>40</width>
  777. <height>40</height>
  778. </size>
  779. </property>
  780. <property name="text">
  781. <string/>
  782. </property>
  783. <property name="checkable">
  784. <bool>true</bool>
  785. </property>
  786. <property name="checked">
  787. <bool>true</bool>
  788. </property>
  789. <property name="autoExclusive">
  790. <bool>true</bool>
  791. </property>
  792. <property name="flat">
  793. <bool>false</bool>
  794. </property>
  795. </widget>
  796. </item>
  797. </layout>
  798. </item>
  799. </layout>
  800. </widget>
  801. </widget>
  802. <widget class="QDockWidget" name="dockWidget_4">
  803. <property name="sizePolicy">
  804. <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
  805. <horstretch>0</horstretch>
  806. <verstretch>0</verstretch>
  807. </sizepolicy>
  808. </property>
  809. <property name="features">
  810. <set>QDockWidget::DockWidgetFloatable|QDockWidget::DockWidgetMovable</set>
  811. </property>
  812. <property name="windowTitle">
  813. <string>Painting</string>
  814. </property>
  815. <attribute name="dockWidgetArea">
  816. <number>1</number>
  817. </attribute>
  818. <widget class="QWidget" name="dockWidgetContents_6">
  819. <layout class="QVBoxLayout" name="verticalLayout_9">
  820. <property name="leftMargin">
  821. <number>0</number>
  822. </property>
  823. <property name="topMargin">
  824. <number>0</number>
  825. </property>
  826. <property name="rightMargin">
  827. <number>0</number>
  828. </property>
  829. <property name="bottomMargin">
  830. <number>0</number>
  831. </property>
  832. <item>
  833. <widget class="QToolBox" name="toolBox">
  834. <property name="sizePolicy">
  835. <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
  836. <horstretch>0</horstretch>
  837. <verstretch>0</verstretch>
  838. </sizepolicy>
  839. </property>
  840. <property name="maximumSize">
  841. <size>
  842. <width>16777215</width>
  843. <height>16777215</height>
  844. </size>
  845. </property>
  846. <property name="currentIndex">
  847. <number>0</number>
  848. </property>
  849. <widget class="QWidget" name="terrainPage">
  850. <property name="geometry">
  851. <rect>
  852. <x>0</x>
  853. <y>0</y>
  854. <width>256</width>
  855. <height>120</height>
  856. </rect>
  857. </property>
  858. <property name="sizePolicy">
  859. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
  860. <horstretch>0</horstretch>
  861. <verstretch>0</verstretch>
  862. </sizepolicy>
  863. </property>
  864. <attribute name="label">
  865. <string>Terrains</string>
  866. </attribute>
  867. <layout class="QVBoxLayout" name="verticalLayout">
  868. <property name="spacing">
  869. <number>1</number>
  870. </property>
  871. <property name="leftMargin">
  872. <number>0</number>
  873. </property>
  874. <property name="topMargin">
  875. <number>0</number>
  876. </property>
  877. <property name="rightMargin">
  878. <number>0</number>
  879. </property>
  880. <property name="bottomMargin">
  881. <number>0</number>
  882. </property>
  883. <item>
  884. <layout class="QVBoxLayout" name="terrainLayout">
  885. <property name="spacing">
  886. <number>1</number>
  887. </property>
  888. </layout>
  889. </item>
  890. </layout>
  891. </widget>
  892. <widget class="QWidget" name="roadPage">
  893. <property name="geometry">
  894. <rect>
  895. <x>0</x>
  896. <y>0</y>
  897. <width>256</width>
  898. <height>120</height>
  899. </rect>
  900. </property>
  901. <property name="sizePolicy">
  902. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
  903. <horstretch>0</horstretch>
  904. <verstretch>0</verstretch>
  905. </sizepolicy>
  906. </property>
  907. <attribute name="label">
  908. <string>Roads</string>
  909. </attribute>
  910. <layout class="QVBoxLayout" name="verticalLayout_4">
  911. <property name="leftMargin">
  912. <number>0</number>
  913. </property>
  914. <property name="topMargin">
  915. <number>0</number>
  916. </property>
  917. <property name="rightMargin">
  918. <number>0</number>
  919. </property>
  920. <property name="bottomMargin">
  921. <number>0</number>
  922. </property>
  923. <item>
  924. <layout class="QVBoxLayout" name="roadLayout">
  925. <property name="spacing">
  926. <number>1</number>
  927. </property>
  928. </layout>
  929. </item>
  930. </layout>
  931. </widget>
  932. <widget class="QWidget" name="riverPage">
  933. <property name="geometry">
  934. <rect>
  935. <x>0</x>
  936. <y>0</y>
  937. <width>256</width>
  938. <height>120</height>
  939. </rect>
  940. </property>
  941. <property name="sizePolicy">
  942. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
  943. <horstretch>0</horstretch>
  944. <verstretch>0</verstretch>
  945. </sizepolicy>
  946. </property>
  947. <attribute name="label">
  948. <string>Rivers</string>
  949. </attribute>
  950. <layout class="QVBoxLayout" name="verticalLayout_5">
  951. <property name="leftMargin">
  952. <number>0</number>
  953. </property>
  954. <property name="topMargin">
  955. <number>0</number>
  956. </property>
  957. <property name="rightMargin">
  958. <number>0</number>
  959. </property>
  960. <property name="bottomMargin">
  961. <number>0</number>
  962. </property>
  963. <item>
  964. <layout class="QVBoxLayout" name="riverLayout">
  965. <property name="spacing">
  966. <number>1</number>
  967. </property>
  968. </layout>
  969. </item>
  970. </layout>
  971. </widget>
  972. </widget>
  973. </item>
  974. </layout>
  975. </widget>
  976. </widget>
  977. <widget class="QDockWidget" name="dockWidget_5">
  978. <property name="features">
  979. <set>QDockWidget::DockWidgetFloatable|QDockWidget::DockWidgetMovable</set>
  980. </property>
  981. <property name="windowTitle">
  982. <string>Preview</string>
  983. </property>
  984. <attribute name="dockWidgetArea">
  985. <number>1</number>
  986. </attribute>
  987. <widget class="QWidget" name="dockWidgetContents_7">
  988. <layout class="QVBoxLayout" name="verticalLayout_11">
  989. <property name="leftMargin">
  990. <number>0</number>
  991. </property>
  992. <property name="topMargin">
  993. <number>0</number>
  994. </property>
  995. <property name="rightMargin">
  996. <number>0</number>
  997. </property>
  998. <property name="bottomMargin">
  999. <number>0</number>
  1000. </property>
  1001. <item>
  1002. <widget class="QGraphicsView" name="objectPreview">
  1003. <property name="minimumSize">
  1004. <size>
  1005. <width>128</width>
  1006. <height>128</height>
  1007. </size>
  1008. </property>
  1009. </widget>
  1010. </item>
  1011. </layout>
  1012. </widget>
  1013. </widget>
  1014. <action name="actionOpen">
  1015. <property name="text">
  1016. <string>Open</string>
  1017. </property>
  1018. <property name="shortcut">
  1019. <string notr="true">Ctrl+O</string>
  1020. </property>
  1021. </action>
  1022. <action name="actionSave">
  1023. <property name="text">
  1024. <string>Save</string>
  1025. </property>
  1026. <property name="shortcut">
  1027. <string notr="true">Ctrl+S</string>
  1028. </property>
  1029. </action>
  1030. <action name="actionNew">
  1031. <property name="text">
  1032. <string>New</string>
  1033. </property>
  1034. <property name="shortcut">
  1035. <string notr="true">Ctrl+N</string>
  1036. </property>
  1037. </action>
  1038. <action name="actionSave_as">
  1039. <property name="text">
  1040. <string>Save as...</string>
  1041. </property>
  1042. <property name="shortcut">
  1043. <string>Ctrl+Shift+S</string>
  1044. </property>
  1045. </action>
  1046. <action name="actionLevel">
  1047. <property name="text">
  1048. <string>U/G</string>
  1049. </property>
  1050. <property name="toolTip">
  1051. <string>View underground</string>
  1052. </property>
  1053. <property name="shortcut">
  1054. <string notr="true">U</string>
  1055. </property>
  1056. </action>
  1057. <action name="actionPass">
  1058. <property name="checkable">
  1059. <bool>true</bool>
  1060. </property>
  1061. <property name="text">
  1062. <string>Pass</string>
  1063. </property>
  1064. <property name="shortcut">
  1065. <string notr="true">P</string>
  1066. </property>
  1067. </action>
  1068. <action name="actionCut">
  1069. <property name="text">
  1070. <string>Cut</string>
  1071. </property>
  1072. <property name="shortcut">
  1073. <string notr="true">Ctrl+X</string>
  1074. </property>
  1075. </action>
  1076. <action name="actionCopy">
  1077. <property name="text">
  1078. <string>Copy</string>
  1079. </property>
  1080. <property name="shortcut">
  1081. <string notr="true">Ctrl+C</string>
  1082. </property>
  1083. </action>
  1084. <action name="actionPaste">
  1085. <property name="text">
  1086. <string>Paste</string>
  1087. </property>
  1088. <property name="shortcut">
  1089. <string notr="true">Ctrl+V</string>
  1090. </property>
  1091. </action>
  1092. <action name="actionFill">
  1093. <property name="text">
  1094. <string>Fill</string>
  1095. </property>
  1096. <property name="toolTip">
  1097. <string>Fills the selection with obstacles</string>
  1098. </property>
  1099. <property name="shortcut">
  1100. <string notr="true">F</string>
  1101. </property>
  1102. </action>
  1103. <action name="actionGrid">
  1104. <property name="checkable">
  1105. <bool>true</bool>
  1106. </property>
  1107. <property name="text">
  1108. <string>Grid</string>
  1109. </property>
  1110. <property name="shortcut">
  1111. <string notr="true">G</string>
  1112. </property>
  1113. </action>
  1114. <action name="actionMapSettings">
  1115. <property name="enabled">
  1116. <bool>false</bool>
  1117. </property>
  1118. <property name="text">
  1119. <string>General</string>
  1120. </property>
  1121. <property name="toolTip">
  1122. <string>Map title and description</string>
  1123. </property>
  1124. <property name="shortcut">
  1125. <string notr="true"/>
  1126. </property>
  1127. </action>
  1128. <action name="actionPlayers_settings">
  1129. <property name="enabled">
  1130. <bool>false</bool>
  1131. </property>
  1132. <property name="text">
  1133. <string>Players settings</string>
  1134. </property>
  1135. <property name="shortcut">
  1136. <string notr="true"/>
  1137. </property>
  1138. </action>
  1139. <action name="actionUndo">
  1140. <property name="enabled">
  1141. <bool>false</bool>
  1142. </property>
  1143. <property name="text">
  1144. <string>Undo</string>
  1145. </property>
  1146. <property name="iconText">
  1147. <string>Undo</string>
  1148. </property>
  1149. <property name="shortcut">
  1150. <string notr="true">Ctrl+Z</string>
  1151. </property>
  1152. <property name="shortcutVisibleInContextMenu">
  1153. <bool>true</bool>
  1154. </property>
  1155. </action>
  1156. <action name="actionRedo">
  1157. <property name="enabled">
  1158. <bool>false</bool>
  1159. </property>
  1160. <property name="text">
  1161. <string>Redo</string>
  1162. </property>
  1163. <property name="shortcut">
  1164. <string notr="true">Ctrl+Y</string>
  1165. </property>
  1166. <property name="shortcutVisibleInContextMenu">
  1167. <bool>true</bool>
  1168. </property>
  1169. </action>
  1170. <action name="actionErase">
  1171. <property name="enabled">
  1172. <bool>false</bool>
  1173. </property>
  1174. <property name="text">
  1175. <string>Erase</string>
  1176. </property>
  1177. <property name="shortcut">
  1178. <string notr="true">Del</string>
  1179. </property>
  1180. </action>
  1181. <action name="actionNeutral">
  1182. <property name="checkable">
  1183. <bool>true</bool>
  1184. </property>
  1185. <property name="text">
  1186. <string>Neutral</string>
  1187. </property>
  1188. <property name="shortcut">
  1189. <string notr="true">Ctrl+0</string>
  1190. </property>
  1191. </action>
  1192. <action name="actionValidate">
  1193. <property name="text">
  1194. <string>Validate</string>
  1195. </property>
  1196. <property name="shortcut">
  1197. <string notr="true"/>
  1198. </property>
  1199. </action>
  1200. <action name="actionUpdate_appearance">
  1201. <property name="enabled">
  1202. <bool>false</bool>
  1203. </property>
  1204. <property name="text">
  1205. <string>Update appearance</string>
  1206. </property>
  1207. <property name="shortcut">
  1208. <string notr="true"/>
  1209. </property>
  1210. </action>
  1211. <action name="actionRecreate_obstacles">
  1212. <property name="enabled">
  1213. <bool>false</bool>
  1214. </property>
  1215. <property name="text">
  1216. <string>Recreate obstacles</string>
  1217. </property>
  1218. <property name="shortcut">
  1219. <string notr="true"/>
  1220. </property>
  1221. </action>
  1222. <action name="actionPlayer_1">
  1223. <property name="checkable">
  1224. <bool>true</bool>
  1225. </property>
  1226. <property name="text">
  1227. <string>Player 1</string>
  1228. </property>
  1229. <property name="shortcut">
  1230. <string notr="true">Ctrl+1</string>
  1231. </property>
  1232. </action>
  1233. <action name="actionPlayer_2">
  1234. <property name="checkable">
  1235. <bool>true</bool>
  1236. </property>
  1237. <property name="text">
  1238. <string>Player 2</string>
  1239. </property>
  1240. <property name="shortcut">
  1241. <string notr="true">Ctrl+2</string>
  1242. </property>
  1243. </action>
  1244. <action name="actionPlayer_3">
  1245. <property name="checkable">
  1246. <bool>true</bool>
  1247. </property>
  1248. <property name="text">
  1249. <string>Player 3</string>
  1250. </property>
  1251. <property name="shortcut">
  1252. <string notr="true">Ctrl+3</string>
  1253. </property>
  1254. </action>
  1255. <action name="actionPlayer_4">
  1256. <property name="checkable">
  1257. <bool>true</bool>
  1258. </property>
  1259. <property name="text">
  1260. <string>Player 4</string>
  1261. </property>
  1262. <property name="shortcut">
  1263. <string notr="true">Ctrl+4</string>
  1264. </property>
  1265. </action>
  1266. <action name="actionPlayer_5">
  1267. <property name="checkable">
  1268. <bool>true</bool>
  1269. </property>
  1270. <property name="text">
  1271. <string>Player 5</string>
  1272. </property>
  1273. <property name="shortcut">
  1274. <string notr="true">Ctrl+5</string>
  1275. </property>
  1276. </action>
  1277. <action name="actionPlayer_6">
  1278. <property name="checkable">
  1279. <bool>true</bool>
  1280. </property>
  1281. <property name="text">
  1282. <string>Player 6</string>
  1283. </property>
  1284. <property name="shortcut">
  1285. <string notr="true">Ctrl+6</string>
  1286. </property>
  1287. </action>
  1288. <action name="actionPlayer_7">
  1289. <property name="checkable">
  1290. <bool>true</bool>
  1291. </property>
  1292. <property name="text">
  1293. <string>Player 7</string>
  1294. </property>
  1295. <property name="shortcut">
  1296. <string notr="true">Ctrl+7</string>
  1297. </property>
  1298. </action>
  1299. <action name="actionPlayer_8">
  1300. <property name="checkable">
  1301. <bool>true</bool>
  1302. </property>
  1303. <property name="text">
  1304. <string>Player 8</string>
  1305. </property>
  1306. <property name="shortcut">
  1307. <string notr="true">Ctrl+8</string>
  1308. </property>
  1309. </action>
  1310. <action name="actionExport">
  1311. <property name="text">
  1312. <string>Export as...</string>
  1313. </property>
  1314. </action>
  1315. <action name="actionTranslations">
  1316. <property name="enabled">
  1317. <bool>false</bool>
  1318. </property>
  1319. <property name="text">
  1320. <string>Translations</string>
  1321. </property>
  1322. <property name="shortcut">
  1323. <string>Ctrl+T</string>
  1324. </property>
  1325. </action>
  1326. <action name="actionh3m_converter">
  1327. <property name="text">
  1328. <string>h3m converter</string>
  1329. </property>
  1330. <property name="toolTip">
  1331. <string>h3m converter</string>
  1332. </property>
  1333. </action>
  1334. <action name="actionLock">
  1335. <property name="text">
  1336. <string>Lock</string>
  1337. </property>
  1338. <property name="toolTip">
  1339. <string>Lock objects on map to avoid unnecessary changes</string>
  1340. </property>
  1341. <property name="shortcut">
  1342. <string>Ctrl+L</string>
  1343. </property>
  1344. </action>
  1345. <action name="actionUnlock">
  1346. <property name="text">
  1347. <string>Unlock</string>
  1348. </property>
  1349. <property name="toolTip">
  1350. <string>Unlock all objects on the map</string>
  1351. </property>
  1352. <property name="shortcut">
  1353. <string>Ctrl+Shift+L</string>
  1354. </property>
  1355. </action>
  1356. <action name="actionZoom_in">
  1357. <property name="text">
  1358. <string>Zoom in</string>
  1359. </property>
  1360. <property name="shortcut">
  1361. <string>Ctrl+=</string>
  1362. </property>
  1363. </action>
  1364. <action name="actionZoom_out">
  1365. <property name="text">
  1366. <string>Zoom out</string>
  1367. </property>
  1368. <property name="shortcut">
  1369. <string>Ctrl+-</string>
  1370. </property>
  1371. </action>
  1372. <action name="actionZoom_reset">
  1373. <property name="text">
  1374. <string>Zoom reset</string>
  1375. </property>
  1376. <property name="shortcut">
  1377. <string>Ctrl+Shift+=</string>
  1378. </property>
  1379. </action>
  1380. </widget>
  1381. <customwidgets>
  1382. <customwidget>
  1383. <class>MapView</class>
  1384. <extends>QGraphicsView</extends>
  1385. <header>mapview.h</header>
  1386. </customwidget>
  1387. <customwidget>
  1388. <class>MinimapView</class>
  1389. <extends>QGraphicsView</extends>
  1390. <header>mapview.h</header>
  1391. </customwidget>
  1392. <customwidget>
  1393. <class>ObjectBrowser</class>
  1394. <extends>QTreeView</extends>
  1395. <header>objectbrowser.h</header>
  1396. </customwidget>
  1397. </customwidgets>
  1398. <resources/>
  1399. <connections/>
  1400. <slots>
  1401. <signal>enableUndo(bool)</signal>
  1402. <signal>enableRedo(bool)</signal>
  1403. </slots>
  1404. </ui>