Nav apraksta

mainwindow.ui 46KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285
  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>1117</width>
  10. <height>747</height>
  11. </rect>
  12. </property>
  13. <property name="sizePolicy">
  14. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  15. <horstretch>0</horstretch>
  16. <verstretch>0</verstretch>
  17. </sizepolicy>
  18. </property>
  19. <property name="windowTitle">
  20. <string>pretmap</string>
  21. </property>
  22. <widget class="QWidget" name="centralWidget">
  23. <layout class="QGridLayout" name="gridLayout">
  24. <item row="0" column="0">
  25. <widget class="QSplitter" name="splitter">
  26. <property name="orientation">
  27. <enum>Qt::Horizontal</enum>
  28. </property>
  29. <widget class="QTreeView" name="mapList">
  30. <property name="sizePolicy">
  31. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  32. <horstretch>0</horstretch>
  33. <verstretch>0</verstretch>
  34. </sizepolicy>
  35. </property>
  36. <property name="minimumSize">
  37. <size>
  38. <width>100</width>
  39. <height>0</height>
  40. </size>
  41. </property>
  42. <property name="selectionMode">
  43. <enum>QAbstractItemView::SingleSelection</enum>
  44. </property>
  45. <property name="selectionBehavior">
  46. <enum>QAbstractItemView::SelectItems</enum>
  47. </property>
  48. <attribute name="headerVisible">
  49. <bool>false</bool>
  50. </attribute>
  51. </widget>
  52. <widget class="QTabWidget" name="tabWidget">
  53. <property name="enabled">
  54. <bool>true</bool>
  55. </property>
  56. <property name="sizePolicy">
  57. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  58. <horstretch>1</horstretch>
  59. <verstretch>0</verstretch>
  60. </sizepolicy>
  61. </property>
  62. <property name="currentIndex">
  63. <number>0</number>
  64. </property>
  65. <property name="tabsClosable">
  66. <bool>false</bool>
  67. </property>
  68. <property name="movable">
  69. <bool>false</bool>
  70. </property>
  71. <widget class="QWidget" name="tab_Map">
  72. <attribute name="icon">
  73. <iconset resource="resources/images.qrc">
  74. <normaloff>:/icons/map.ico</normaloff>:/icons/map.ico</iconset>
  75. </attribute>
  76. <attribute name="title">
  77. <string>Map</string>
  78. </attribute>
  79. <layout class="QGridLayout" name="gridLayout_9">
  80. <property name="leftMargin">
  81. <number>0</number>
  82. </property>
  83. <property name="topMargin">
  84. <number>0</number>
  85. </property>
  86. <property name="rightMargin">
  87. <number>0</number>
  88. </property>
  89. <property name="bottomMargin">
  90. <number>0</number>
  91. </property>
  92. <property name="verticalSpacing">
  93. <number>6</number>
  94. </property>
  95. <item row="0" column="0">
  96. <widget class="QSplitter" name="splitter_2">
  97. <property name="orientation">
  98. <enum>Qt::Horizontal</enum>
  99. </property>
  100. <widget class="QFrame" name="frame_9">
  101. <property name="frameShape">
  102. <enum>QFrame::StyledPanel</enum>
  103. </property>
  104. <property name="frameShadow">
  105. <enum>QFrame::Raised</enum>
  106. </property>
  107. <property name="lineWidth">
  108. <number>1</number>
  109. </property>
  110. <layout class="QGridLayout" name="gridLayout_4">
  111. <property name="leftMargin">
  112. <number>0</number>
  113. </property>
  114. <property name="topMargin">
  115. <number>0</number>
  116. </property>
  117. <property name="rightMargin">
  118. <number>0</number>
  119. </property>
  120. <property name="bottomMargin">
  121. <number>0</number>
  122. </property>
  123. <property name="spacing">
  124. <number>0</number>
  125. </property>
  126. <item row="0" column="0">
  127. <widget class="QFrame" name="frame_6">
  128. <property name="sizePolicy">
  129. <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
  130. <horstretch>0</horstretch>
  131. <verstretch>0</verstretch>
  132. </sizepolicy>
  133. </property>
  134. <property name="minimumSize">
  135. <size>
  136. <width>0</width>
  137. <height>32</height>
  138. </size>
  139. </property>
  140. <property name="frameShape">
  141. <enum>QFrame::StyledPanel</enum>
  142. </property>
  143. <property name="frameShadow">
  144. <enum>QFrame::Raised</enum>
  145. </property>
  146. <widget class="QToolButton" name="toolButton_Paint">
  147. <property name="enabled">
  148. <bool>true</bool>
  149. </property>
  150. <property name="geometry">
  151. <rect>
  152. <x>0</x>
  153. <y>0</y>
  154. <width>31</width>
  155. <height>31</height>
  156. </rect>
  157. </property>
  158. <property name="text">
  159. <string>Paint</string>
  160. </property>
  161. <property name="icon">
  162. <iconset resource="resources/images.qrc">
  163. <normaloff>:/icons/pencil.ico</normaloff>:/icons/pencil.ico</iconset>
  164. </property>
  165. <property name="checkable">
  166. <bool>true</bool>
  167. </property>
  168. <property name="checked">
  169. <bool>true</bool>
  170. </property>
  171. <property name="autoRaise">
  172. <bool>false</bool>
  173. </property>
  174. </widget>
  175. <widget class="QToolButton" name="toolButton_Select">
  176. <property name="enabled">
  177. <bool>true</bool>
  178. </property>
  179. <property name="geometry">
  180. <rect>
  181. <x>30</x>
  182. <y>0</y>
  183. <width>31</width>
  184. <height>31</height>
  185. </rect>
  186. </property>
  187. <property name="text">
  188. <string>Select</string>
  189. </property>
  190. <property name="icon">
  191. <iconset resource="resources/images.qrc">
  192. <normaloff>:/icons/cursor.ico</normaloff>:/icons/cursor.ico</iconset>
  193. </property>
  194. <property name="checkable">
  195. <bool>true</bool>
  196. </property>
  197. </widget>
  198. <widget class="QToolButton" name="toolButton_Fill">
  199. <property name="geometry">
  200. <rect>
  201. <x>60</x>
  202. <y>0</y>
  203. <width>31</width>
  204. <height>31</height>
  205. </rect>
  206. </property>
  207. <property name="text">
  208. <string>Fill</string>
  209. </property>
  210. <property name="icon">
  211. <iconset resource="resources/images.qrc">
  212. <normaloff>:/icons/fill_color.ico</normaloff>:/icons/fill_color.ico</iconset>
  213. </property>
  214. <property name="checkable">
  215. <bool>true</bool>
  216. </property>
  217. </widget>
  218. <widget class="QToolButton" name="toolButton_Dropper">
  219. <property name="geometry">
  220. <rect>
  221. <x>90</x>
  222. <y>0</y>
  223. <width>31</width>
  224. <height>31</height>
  225. </rect>
  226. </property>
  227. <property name="text">
  228. <string>Dropper</string>
  229. </property>
  230. <property name="icon">
  231. <iconset resource="resources/images.qrc">
  232. <normaloff>:/icons/pipette.ico</normaloff>:/icons/pipette.ico</iconset>
  233. </property>
  234. <property name="checkable">
  235. <bool>true</bool>
  236. </property>
  237. </widget>
  238. </widget>
  239. </item>
  240. <item row="1" column="0">
  241. <widget class="QFrame" name="frame_7">
  242. <property name="frameShape">
  243. <enum>QFrame::StyledPanel</enum>
  244. </property>
  245. <property name="frameShadow">
  246. <enum>QFrame::Raised</enum>
  247. </property>
  248. <layout class="QGridLayout" name="gridLayout_2">
  249. <property name="leftMargin">
  250. <number>0</number>
  251. </property>
  252. <property name="topMargin">
  253. <number>0</number>
  254. </property>
  255. <property name="rightMargin">
  256. <number>0</number>
  257. </property>
  258. <property name="bottomMargin">
  259. <number>0</number>
  260. </property>
  261. <item row="0" column="0">
  262. <widget class="QScrollArea" name="scrollArea">
  263. <property name="sizePolicy">
  264. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  265. <horstretch>1</horstretch>
  266. <verstretch>0</verstretch>
  267. </sizepolicy>
  268. </property>
  269. <property name="widgetResizable">
  270. <bool>true</bool>
  271. </property>
  272. <widget class="QWidget" name="scrollAreaWidgetContents_5">
  273. <property name="geometry">
  274. <rect>
  275. <x>0</x>
  276. <y>0</y>
  277. <width>617</width>
  278. <height>602</height>
  279. </rect>
  280. </property>
  281. <layout class="QGridLayout" name="gridLayout_8">
  282. <property name="leftMargin">
  283. <number>0</number>
  284. </property>
  285. <property name="topMargin">
  286. <number>0</number>
  287. </property>
  288. <property name="rightMargin">
  289. <number>0</number>
  290. </property>
  291. <property name="bottomMargin">
  292. <number>0</number>
  293. </property>
  294. <property name="spacing">
  295. <number>0</number>
  296. </property>
  297. <item row="1" column="1">
  298. <widget class="QGraphicsView" name="graphicsView_Map">
  299. <property name="sizePolicy">
  300. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  301. <horstretch>0</horstretch>
  302. <verstretch>0</verstretch>
  303. </sizepolicy>
  304. </property>
  305. <property name="autoFillBackground">
  306. <bool>false</bool>
  307. </property>
  308. </widget>
  309. </item>
  310. <item row="1" column="0">
  311. <spacer name="horizontalSpacer_4">
  312. <property name="orientation">
  313. <enum>Qt::Horizontal</enum>
  314. </property>
  315. <property name="sizeHint" stdset="0">
  316. <size>
  317. <width>166</width>
  318. <height>16</height>
  319. </size>
  320. </property>
  321. </spacer>
  322. </item>
  323. <item row="2" column="1">
  324. <spacer name="verticalSpacer_3">
  325. <property name="orientation">
  326. <enum>Qt::Vertical</enum>
  327. </property>
  328. <property name="sizeHint" stdset="0">
  329. <size>
  330. <width>16</width>
  331. <height>166</height>
  332. </size>
  333. </property>
  334. </spacer>
  335. </item>
  336. <item row="1" column="2">
  337. <spacer name="horizontalSpacer_5">
  338. <property name="orientation">
  339. <enum>Qt::Horizontal</enum>
  340. </property>
  341. <property name="sizeHint" stdset="0">
  342. <size>
  343. <width>166</width>
  344. <height>16</height>
  345. </size>
  346. </property>
  347. </spacer>
  348. </item>
  349. <item row="0" column="1">
  350. <spacer name="verticalSpacer_4">
  351. <property name="orientation">
  352. <enum>Qt::Vertical</enum>
  353. </property>
  354. <property name="sizeHint" stdset="0">
  355. <size>
  356. <width>16</width>
  357. <height>166</height>
  358. </size>
  359. </property>
  360. </spacer>
  361. </item>
  362. </layout>
  363. </widget>
  364. </widget>
  365. </item>
  366. </layout>
  367. </widget>
  368. </item>
  369. </layout>
  370. </widget>
  371. <widget class="QFrame" name="frame_8">
  372. <property name="frameShape">
  373. <enum>QFrame::StyledPanel</enum>
  374. </property>
  375. <property name="frameShadow">
  376. <enum>QFrame::Raised</enum>
  377. </property>
  378. <layout class="QVBoxLayout" name="verticalLayout_6">
  379. <property name="leftMargin">
  380. <number>0</number>
  381. </property>
  382. <property name="topMargin">
  383. <number>0</number>
  384. </property>
  385. <property name="rightMargin">
  386. <number>0</number>
  387. </property>
  388. <property name="bottomMargin">
  389. <number>0</number>
  390. </property>
  391. <item>
  392. <widget class="QTabWidget" name="tabWidget_2">
  393. <property name="enabled">
  394. <bool>true</bool>
  395. </property>
  396. <property name="sizePolicy">
  397. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  398. <horstretch>0</horstretch>
  399. <verstretch>0</verstretch>
  400. </sizepolicy>
  401. </property>
  402. <property name="minimumSize">
  403. <size>
  404. <width>156</width>
  405. <height>0</height>
  406. </size>
  407. </property>
  408. <property name="currentIndex">
  409. <number>0</number>
  410. </property>
  411. <widget class="QWidget" name="tab_blocks">
  412. <property name="sizePolicy">
  413. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  414. <horstretch>0</horstretch>
  415. <verstretch>0</verstretch>
  416. </sizepolicy>
  417. </property>
  418. <attribute name="title">
  419. <string>Blocks</string>
  420. </attribute>
  421. <layout class="QGridLayout" name="gridLayout_3">
  422. <property name="leftMargin">
  423. <number>0</number>
  424. </property>
  425. <property name="topMargin">
  426. <number>0</number>
  427. </property>
  428. <property name="rightMargin">
  429. <number>0</number>
  430. </property>
  431. <property name="bottomMargin">
  432. <number>0</number>
  433. </property>
  434. <property name="spacing">
  435. <number>0</number>
  436. </property>
  437. <item row="0" column="0">
  438. <widget class="QScrollArea" name="scrollArea_2">
  439. <property name="sizePolicy">
  440. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  441. <horstretch>0</horstretch>
  442. <verstretch>0</verstretch>
  443. </sizepolicy>
  444. </property>
  445. <property name="verticalScrollBarPolicy">
  446. <enum>Qt::ScrollBarAlwaysOn</enum>
  447. </property>
  448. <property name="horizontalScrollBarPolicy">
  449. <enum>Qt::ScrollBarAsNeeded</enum>
  450. </property>
  451. <property name="sizeAdjustPolicy">
  452. <enum>QAbstractScrollArea::AdjustIgnored</enum>
  453. </property>
  454. <property name="widgetResizable">
  455. <bool>true</bool>
  456. </property>
  457. <widget class="QWidget" name="scrollAreaWidgetContents_2">
  458. <property name="enabled">
  459. <bool>true</bool>
  460. </property>
  461. <property name="geometry">
  462. <rect>
  463. <x>0</x>
  464. <y>0</y>
  465. <width>186</width>
  466. <height>609</height>
  467. </rect>
  468. </property>
  469. <property name="sizePolicy">
  470. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  471. <horstretch>0</horstretch>
  472. <verstretch>0</verstretch>
  473. </sizepolicy>
  474. </property>
  475. <layout class="QGridLayout" name="gridLayout_5" rowstretch="0" columnstretch="0">
  476. <property name="leftMargin">
  477. <number>0</number>
  478. </property>
  479. <property name="topMargin">
  480. <number>0</number>
  481. </property>
  482. <property name="rightMargin">
  483. <number>0</number>
  484. </property>
  485. <property name="bottomMargin">
  486. <number>0</number>
  487. </property>
  488. <property name="spacing">
  489. <number>0</number>
  490. </property>
  491. <item row="0" column="0">
  492. <widget class="QGraphicsView" name="graphicsView_Metatiles">
  493. <property name="enabled">
  494. <bool>true</bool>
  495. </property>
  496. <property name="sizePolicy">
  497. <sizepolicy hsizetype="Ignored" vsizetype="Ignored">
  498. <horstretch>0</horstretch>
  499. <verstretch>0</verstretch>
  500. </sizepolicy>
  501. </property>
  502. <property name="verticalScrollBarPolicy">
  503. <enum>Qt::ScrollBarAlwaysOff</enum>
  504. </property>
  505. <property name="horizontalScrollBarPolicy">
  506. <enum>Qt::ScrollBarAlwaysOff</enum>
  507. </property>
  508. <property name="sizeAdjustPolicy">
  509. <enum>QAbstractScrollArea::AdjustIgnored</enum>
  510. </property>
  511. </widget>
  512. </item>
  513. </layout>
  514. </widget>
  515. </widget>
  516. </item>
  517. </layout>
  518. </widget>
  519. <widget class="QWidget" name="tab_collision">
  520. <property name="enabled">
  521. <bool>true</bool>
  522. </property>
  523. <property name="sizePolicy">
  524. <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
  525. <horstretch>0</horstretch>
  526. <verstretch>0</verstretch>
  527. </sizepolicy>
  528. </property>
  529. <attribute name="title">
  530. <string>Collision</string>
  531. </attribute>
  532. <widget class="Line" name="line">
  533. <property name="geometry">
  534. <rect>
  535. <x>20</x>
  536. <y>60</y>
  537. <width>111</width>
  538. <height>20</height>
  539. </rect>
  540. </property>
  541. <property name="orientation">
  542. <enum>Qt::Horizontal</enum>
  543. </property>
  544. </widget>
  545. <widget class="QFrame" name="frame">
  546. <property name="geometry">
  547. <rect>
  548. <x>0</x>
  549. <y>80</y>
  550. <width>151</width>
  551. <height>101</height>
  552. </rect>
  553. </property>
  554. <property name="frameShape">
  555. <enum>QFrame::StyledPanel</enum>
  556. </property>
  557. <property name="frameShadow">
  558. <enum>QFrame::Raised</enum>
  559. </property>
  560. <widget class="QLabel" name="label_2">
  561. <property name="geometry">
  562. <rect>
  563. <x>10</x>
  564. <y>10</y>
  565. <width>47</width>
  566. <height>13</height>
  567. </rect>
  568. </property>
  569. <property name="text">
  570. <string>Elevation</string>
  571. </property>
  572. </widget>
  573. <widget class="QGraphicsView" name="graphicsView_Elevation">
  574. <property name="geometry">
  575. <rect>
  576. <x>10</x>
  577. <y>30</y>
  578. <width>131</width>
  579. <height>61</height>
  580. </rect>
  581. </property>
  582. </widget>
  583. </widget>
  584. <widget class="QFrame" name="frame_2">
  585. <property name="geometry">
  586. <rect>
  587. <x>0</x>
  588. <y>0</y>
  589. <width>151</width>
  590. <height>61</height>
  591. </rect>
  592. </property>
  593. <property name="frameShape">
  594. <enum>QFrame::StyledPanel</enum>
  595. </property>
  596. <property name="frameShadow">
  597. <enum>QFrame::Raised</enum>
  598. </property>
  599. <widget class="QLabel" name="label">
  600. <property name="geometry">
  601. <rect>
  602. <x>10</x>
  603. <y>10</y>
  604. <width>47</width>
  605. <height>13</height>
  606. </rect>
  607. </property>
  608. <property name="text">
  609. <string>Collision</string>
  610. </property>
  611. </widget>
  612. <widget class="QGraphicsView" name="graphicsView_Collision">
  613. <property name="geometry">
  614. <rect>
  615. <x>40</x>
  616. <y>30</y>
  617. <width>66</width>
  618. <height>18</height>
  619. </rect>
  620. </property>
  621. </widget>
  622. </widget>
  623. </widget>
  624. </widget>
  625. </item>
  626. </layout>
  627. </widget>
  628. </widget>
  629. </item>
  630. </layout>
  631. </widget>
  632. <widget class="QWidget" name="tab_Objects">
  633. <property name="enabled">
  634. <bool>true</bool>
  635. </property>
  636. <attribute name="title">
  637. <string>Objects</string>
  638. </attribute>
  639. <layout class="QGridLayout" name="gridLayout_10">
  640. <property name="leftMargin">
  641. <number>0</number>
  642. </property>
  643. <property name="topMargin">
  644. <number>0</number>
  645. </property>
  646. <property name="rightMargin">
  647. <number>0</number>
  648. </property>
  649. <property name="bottomMargin">
  650. <number>0</number>
  651. </property>
  652. <item row="0" column="0">
  653. <widget class="QSplitter" name="splitter_3">
  654. <property name="sizePolicy">
  655. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  656. <horstretch>0</horstretch>
  657. <verstretch>0</verstretch>
  658. </sizepolicy>
  659. </property>
  660. <property name="orientation">
  661. <enum>Qt::Horizontal</enum>
  662. </property>
  663. <widget class="QScrollArea" name="scrollArea_3">
  664. <property name="sizePolicy">
  665. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  666. <horstretch>1</horstretch>
  667. <verstretch>0</verstretch>
  668. </sizepolicy>
  669. </property>
  670. <property name="widgetResizable">
  671. <bool>true</bool>
  672. </property>
  673. <widget class="QWidget" name="scrollAreaWidgetContents_4">
  674. <property name="geometry">
  675. <rect>
  676. <x>0</x>
  677. <y>0</y>
  678. <width>385</width>
  679. <height>638</height>
  680. </rect>
  681. </property>
  682. <layout class="QGridLayout" name="gridLayout_7">
  683. <property name="leftMargin">
  684. <number>0</number>
  685. </property>
  686. <property name="topMargin">
  687. <number>0</number>
  688. </property>
  689. <property name="rightMargin">
  690. <number>0</number>
  691. </property>
  692. <property name="bottomMargin">
  693. <number>0</number>
  694. </property>
  695. <property name="spacing">
  696. <number>0</number>
  697. </property>
  698. <item row="1" column="2">
  699. <spacer name="horizontalSpacer_Objects_Map_right">
  700. <property name="orientation">
  701. <enum>Qt::Horizontal</enum>
  702. </property>
  703. <property name="sizeHint" stdset="0">
  704. <size>
  705. <width>166</width>
  706. <height>16</height>
  707. </size>
  708. </property>
  709. </spacer>
  710. </item>
  711. <item row="1" column="0">
  712. <spacer name="horizontalSpacer_Objects_Map_left">
  713. <property name="orientation">
  714. <enum>Qt::Horizontal</enum>
  715. </property>
  716. <property name="sizeHint" stdset="0">
  717. <size>
  718. <width>166</width>
  719. <height>16</height>
  720. </size>
  721. </property>
  722. </spacer>
  723. </item>
  724. <item row="0" column="1">
  725. <spacer name="verticalSpacer_Objects_Map_top">
  726. <property name="orientation">
  727. <enum>Qt::Vertical</enum>
  728. </property>
  729. <property name="sizeHint" stdset="0">
  730. <size>
  731. <width>16</width>
  732. <height>166</height>
  733. </size>
  734. </property>
  735. </spacer>
  736. </item>
  737. <item row="2" column="1">
  738. <spacer name="verticalSpacer_Objects_Map_bottom">
  739. <property name="orientation">
  740. <enum>Qt::Vertical</enum>
  741. </property>
  742. <property name="sizeHint" stdset="0">
  743. <size>
  744. <width>16</width>
  745. <height>166</height>
  746. </size>
  747. </property>
  748. </spacer>
  749. </item>
  750. <item row="1" column="1">
  751. <widget class="GraphicsView" name="graphicsView_Objects_Map">
  752. <property name="sizePolicy">
  753. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  754. <horstretch>0</horstretch>
  755. <verstretch>0</verstretch>
  756. </sizepolicy>
  757. </property>
  758. </widget>
  759. </item>
  760. </layout>
  761. </widget>
  762. </widget>
  763. <widget class="QFrame" name="frame_Objects">
  764. <property name="enabled">
  765. <bool>true</bool>
  766. </property>
  767. <property name="sizePolicy">
  768. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  769. <horstretch>0</horstretch>
  770. <verstretch>0</verstretch>
  771. </sizepolicy>
  772. </property>
  773. <property name="minimumSize">
  774. <size>
  775. <width>444</width>
  776. <height>0</height>
  777. </size>
  778. </property>
  779. <layout class="QGridLayout" name="gridLayout_6">
  780. <item row="1" column="0">
  781. <widget class="QGroupBox" name="groupBox_selectedObjects">
  782. <property name="title">
  783. <string>Selected</string>
  784. </property>
  785. <layout class="QVBoxLayout" name="verticalLayout">
  786. <property name="spacing">
  787. <number>6</number>
  788. </property>
  789. <property name="leftMargin">
  790. <number>0</number>
  791. </property>
  792. <property name="topMargin">
  793. <number>0</number>
  794. </property>
  795. <property name="rightMargin">
  796. <number>0</number>
  797. </property>
  798. <property name="bottomMargin">
  799. <number>0</number>
  800. </property>
  801. <item>
  802. <widget class="QFrame" name="frame_5">
  803. <property name="frameShape">
  804. <enum>QFrame::StyledPanel</enum>
  805. </property>
  806. <property name="frameShadow">
  807. <enum>QFrame::Raised</enum>
  808. </property>
  809. <layout class="QVBoxLayout" name="verticalLayout_2">
  810. <property name="leftMargin">
  811. <number>0</number>
  812. </property>
  813. <property name="topMargin">
  814. <number>0</number>
  815. </property>
  816. <property name="rightMargin">
  817. <number>0</number>
  818. </property>
  819. <property name="bottomMargin">
  820. <number>0</number>
  821. </property>
  822. <item>
  823. <widget class="QScrollArea" name="scrollArea_4">
  824. <property name="sizePolicy">
  825. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  826. <horstretch>0</horstretch>
  827. <verstretch>0</verstretch>
  828. </sizepolicy>
  829. </property>
  830. <property name="sizeAdjustPolicy">
  831. <enum>QAbstractScrollArea::AdjustIgnored</enum>
  832. </property>
  833. <property name="widgetResizable">
  834. <bool>true</bool>
  835. </property>
  836. <property name="alignment">
  837. <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
  838. </property>
  839. <widget class="QWidget" name="scrollAreaWidgetContents">
  840. <property name="geometry">
  841. <rect>
  842. <x>0</x>
  843. <y>0</y>
  844. <width>416</width>
  845. <height>557</height>
  846. </rect>
  847. </property>
  848. <property name="sizePolicy">
  849. <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
  850. <horstretch>0</horstretch>
  851. <verstretch>0</verstretch>
  852. </sizepolicy>
  853. </property>
  854. </widget>
  855. </widget>
  856. </item>
  857. </layout>
  858. </widget>
  859. </item>
  860. </layout>
  861. </widget>
  862. </item>
  863. <item row="0" column="0">
  864. <widget class="QFrame" name="frame_4">
  865. <property name="maximumSize">
  866. <size>
  867. <width>16777215</width>
  868. <height>32</height>
  869. </size>
  870. </property>
  871. <property name="frameShape">
  872. <enum>QFrame::StyledPanel</enum>
  873. </property>
  874. <property name="frameShadow">
  875. <enum>QFrame::Raised</enum>
  876. </property>
  877. <layout class="QHBoxLayout" name="horizontalLayout">
  878. <property name="leftMargin">
  879. <number>0</number>
  880. </property>
  881. <property name="topMargin">
  882. <number>0</number>
  883. </property>
  884. <property name="rightMargin">
  885. <number>0</number>
  886. </property>
  887. <property name="bottomMargin">
  888. <number>0</number>
  889. </property>
  890. <item>
  891. <widget class="QToolButton" name="toolButton_newObject">
  892. <property name="sizePolicy">
  893. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  894. <horstretch>0</horstretch>
  895. <verstretch>0</verstretch>
  896. </sizepolicy>
  897. </property>
  898. <property name="minimumSize">
  899. <size>
  900. <width>40</width>
  901. <height>32</height>
  902. </size>
  903. </property>
  904. <property name="text">
  905. <string>New</string>
  906. </property>
  907. <property name="icon">
  908. <iconset resource="resources/images.qrc">
  909. <normaloff>:/icons/add.ico</normaloff>:/icons/add.ico</iconset>
  910. </property>
  911. <property name="toolButtonStyle">
  912. <enum>Qt::ToolButtonTextBesideIcon</enum>
  913. </property>
  914. </widget>
  915. </item>
  916. <item>
  917. <widget class="QToolButton" name="toolButton_deleteObject">
  918. <property name="sizePolicy">
  919. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  920. <horstretch>0</horstretch>
  921. <verstretch>0</verstretch>
  922. </sizepolicy>
  923. </property>
  924. <property name="minimumSize">
  925. <size>
  926. <width>40</width>
  927. <height>32</height>
  928. </size>
  929. </property>
  930. <property name="text">
  931. <string>Delete</string>
  932. </property>
  933. <property name="icon">
  934. <iconset resource="resources/images.qrc">
  935. <normaloff>:/icons/delete.ico</normaloff>:/icons/delete.ico</iconset>
  936. </property>
  937. <property name="toolButtonStyle">
  938. <enum>Qt::ToolButtonTextBesideIcon</enum>
  939. </property>
  940. <property name="autoRaise">
  941. <bool>false</bool>
  942. </property>
  943. </widget>
  944. </item>
  945. <item>
  946. <spacer name="horizontalSpacer_3">
  947. <property name="orientation">
  948. <enum>Qt::Horizontal</enum>
  949. </property>
  950. <property name="sizeHint" stdset="0">
  951. <size>
  952. <width>40</width>
  953. <height>20</height>
  954. </size>
  955. </property>
  956. </spacer>
  957. </item>
  958. </layout>
  959. </widget>
  960. </item>
  961. </layout>
  962. </widget>
  963. </widget>
  964. </item>
  965. </layout>
  966. </widget>
  967. <widget class="QWidget" name="tab_Attributes">
  968. <attribute name="title">
  969. <string>Attributes</string>
  970. </attribute>
  971. <widget class="QFrame" name="frame_3">
  972. <property name="enabled">
  973. <bool>false</bool>
  974. </property>
  975. <property name="geometry">
  976. <rect>
  977. <x>10</x>
  978. <y>10</y>
  979. <width>301</width>
  980. <height>251</height>
  981. </rect>
  982. </property>
  983. <property name="frameShape">
  984. <enum>QFrame::StyledPanel</enum>
  985. </property>
  986. <property name="frameShadow">
  987. <enum>QFrame::Raised</enum>
  988. </property>
  989. <widget class="QLabel" name="label_3">
  990. <property name="geometry">
  991. <rect>
  992. <x>20</x>
  993. <y>30</y>
  994. <width>47</width>
  995. <height>21</height>
  996. </rect>
  997. </property>
  998. <property name="text">
  999. <string>Song</string>
  1000. </property>
  1001. </widget>
  1002. <widget class="QLabel" name="label_4">
  1003. <property name="geometry">
  1004. <rect>
  1005. <x>20</x>
  1006. <y>60</y>
  1007. <width>47</width>
  1008. <height>21</height>
  1009. </rect>
  1010. </property>
  1011. <property name="text">
  1012. <string>Location</string>
  1013. </property>
  1014. </widget>
  1015. <widget class="QLabel" name="label_5">
  1016. <property name="geometry">
  1017. <rect>
  1018. <x>20</x>
  1019. <y>90</y>
  1020. <width>47</width>
  1021. <height>21</height>
  1022. </rect>
  1023. </property>
  1024. <property name="text">
  1025. <string>Visibility</string>
  1026. </property>
  1027. </widget>
  1028. <widget class="QLabel" name="label_6">
  1029. <property name="geometry">
  1030. <rect>
  1031. <x>20</x>
  1032. <y>120</y>
  1033. <width>47</width>
  1034. <height>21</height>
  1035. </rect>
  1036. </property>
  1037. <property name="text">
  1038. <string>Weather</string>
  1039. </property>
  1040. </widget>
  1041. <widget class="QLabel" name="label_7">
  1042. <property name="geometry">
  1043. <rect>
  1044. <x>20</x>
  1045. <y>150</y>
  1046. <width>47</width>
  1047. <height>21</height>
  1048. </rect>
  1049. </property>
  1050. <property name="text">
  1051. <string>Type</string>
  1052. </property>
  1053. </widget>
  1054. <widget class="QLabel" name="label_8">
  1055. <property name="geometry">
  1056. <rect>
  1057. <x>20</x>
  1058. <y>180</y>
  1059. <width>101</width>
  1060. <height>21</height>
  1061. </rect>
  1062. </property>
  1063. <property name="text">
  1064. <string>Show location name</string>
  1065. </property>
  1066. </widget>
  1067. <widget class="QLabel" name="label_9">
  1068. <property name="geometry">
  1069. <rect>
  1070. <x>20</x>
  1071. <y>210</y>
  1072. <width>81</width>
  1073. <height>21</height>
  1074. </rect>
  1075. </property>
  1076. <property name="text">
  1077. <string>Battle scene</string>
  1078. </property>
  1079. </widget>
  1080. <widget class="QComboBox" name="comboBox_Location">
  1081. <property name="geometry">
  1082. <rect>
  1083. <x>80</x>
  1084. <y>60</y>
  1085. <width>211</width>
  1086. <height>22</height>
  1087. </rect>
  1088. </property>
  1089. <property name="editable">
  1090. <bool>true</bool>
  1091. </property>
  1092. </widget>
  1093. <widget class="QComboBox" name="comboBox_Visibility">
  1094. <property name="geometry">
  1095. <rect>
  1096. <x>80</x>
  1097. <y>90</y>
  1098. <width>211</width>
  1099. <height>22</height>
  1100. </rect>
  1101. </property>
  1102. <property name="editable">
  1103. <bool>true</bool>
  1104. </property>
  1105. </widget>
  1106. <widget class="QComboBox" name="comboBox_Song">
  1107. <property name="geometry">
  1108. <rect>
  1109. <x>80</x>
  1110. <y>30</y>
  1111. <width>211</width>
  1112. <height>22</height>
  1113. </rect>
  1114. </property>
  1115. <property name="editable">
  1116. <bool>true</bool>
  1117. </property>
  1118. </widget>
  1119. <widget class="QComboBox" name="comboBox_Weather">
  1120. <property name="geometry">
  1121. <rect>
  1122. <x>80</x>
  1123. <y>120</y>
  1124. <width>211</width>
  1125. <height>22</height>
  1126. </rect>
  1127. </property>
  1128. <property name="editable">
  1129. <bool>true</bool>
  1130. </property>
  1131. </widget>
  1132. <widget class="QComboBox" name="comboBox_Type">
  1133. <property name="geometry">
  1134. <rect>
  1135. <x>80</x>
  1136. <y>150</y>
  1137. <width>211</width>
  1138. <height>22</height>
  1139. </rect>
  1140. </property>
  1141. <property name="editable">
  1142. <bool>true</bool>
  1143. </property>
  1144. </widget>
  1145. <widget class="QComboBox" name="comboBox_BattleScene">
  1146. <property name="geometry">
  1147. <rect>
  1148. <x>90</x>
  1149. <y>210</y>
  1150. <width>201</width>
  1151. <height>22</height>
  1152. </rect>
  1153. </property>
  1154. <property name="editable">
  1155. <bool>true</bool>
  1156. </property>
  1157. </widget>
  1158. <widget class="QCheckBox" name="checkBox_ShowLocation">
  1159. <property name="geometry">
  1160. <rect>
  1161. <x>130</x>
  1162. <y>180</y>
  1163. <width>161</width>
  1164. <height>21</height>
  1165. </rect>
  1166. </property>
  1167. <property name="text">
  1168. <string/>
  1169. </property>
  1170. </widget>
  1171. <widget class="QLabel" name="label_10">
  1172. <property name="geometry">
  1173. <rect>
  1174. <x>0</x>
  1175. <y>0</y>
  1176. <width>47</width>
  1177. <height>13</height>
  1178. </rect>
  1179. </property>
  1180. <property name="text">
  1181. <string>Header</string>
  1182. </property>
  1183. </widget>
  1184. </widget>
  1185. </widget>
  1186. </widget>
  1187. </widget>
  1188. </item>
  1189. </layout>
  1190. </widget>
  1191. <widget class="QMenuBar" name="menuBar">
  1192. <property name="geometry">
  1193. <rect>
  1194. <x>0</x>
  1195. <y>0</y>
  1196. <width>1117</width>
  1197. <height>20</height>
  1198. </rect>
  1199. </property>
  1200. <widget class="QMenu" name="menuFile">
  1201. <property name="title">
  1202. <string>File</string>
  1203. </property>
  1204. <addaction name="action_Open_Project"/>
  1205. <addaction name="action_Save"/>
  1206. <addaction name="action_Save_Project"/>
  1207. <addaction name="separator"/>
  1208. <addaction name="action_Exit"/>
  1209. </widget>
  1210. <widget class="QMenu" name="menuEdit">
  1211. <property name="title">
  1212. <string>Edit</string>
  1213. </property>
  1214. <addaction name="actionUndo"/>
  1215. <addaction name="actionRedo"/>
  1216. </widget>
  1217. <addaction name="menuFile"/>
  1218. <addaction name="menuEdit"/>
  1219. </widget>
  1220. <widget class="QStatusBar" name="statusBar"/>
  1221. <action name="action_Save_Project">
  1222. <property name="text">
  1223. <string>Save All</string>
  1224. </property>
  1225. <property name="shortcut">
  1226. <string>Ctrl+Shift+S</string>
  1227. </property>
  1228. </action>
  1229. <action name="action_Exit">
  1230. <property name="text">
  1231. <string>Exit</string>
  1232. </property>
  1233. <property name="shortcut">
  1234. <string>Ctrl+Q</string>
  1235. </property>
  1236. </action>
  1237. <action name="action_Open_Project">
  1238. <property name="text">
  1239. <string>Open Project...</string>
  1240. </property>
  1241. <property name="shortcut">
  1242. <string>Ctrl+O</string>
  1243. </property>
  1244. </action>
  1245. <action name="action_Save">
  1246. <property name="text">
  1247. <string>Save</string>
  1248. </property>
  1249. <property name="shortcut">
  1250. <string>Ctrl+S</string>
  1251. </property>
  1252. </action>
  1253. <action name="actionUndo">
  1254. <property name="text">
  1255. <string>Undo</string>
  1256. </property>
  1257. <property name="shortcut">
  1258. <string>Ctrl+Z</string>
  1259. </property>
  1260. </action>
  1261. <action name="actionRedo">
  1262. <property name="text">
  1263. <string>Redo</string>
  1264. </property>
  1265. <property name="font">
  1266. <font/>
  1267. </property>
  1268. <property name="shortcut">
  1269. <string>Ctrl+Y</string>
  1270. </property>
  1271. </action>
  1272. </widget>
  1273. <layoutdefault spacing="6" margin="11"/>
  1274. <customwidgets>
  1275. <customwidget>
  1276. <class>GraphicsView</class>
  1277. <extends>QGraphicsView</extends>
  1278. <header>graphicsview.h</header>
  1279. </customwidget>
  1280. </customwidgets>
  1281. <resources>
  1282. <include location="resources/images.qrc"/>
  1283. </resources>
  1284. <connections/>
  1285. </ui>