Ingen beskrivning

mainwindow.ui 73KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987
  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="Expanding" 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. <layout class="QHBoxLayout" name="horizontalLayout_2">
  147. <property name="spacing">
  148. <number>4</number>
  149. </property>
  150. <property name="leftMargin">
  151. <number>4</number>
  152. </property>
  153. <property name="topMargin">
  154. <number>4</number>
  155. </property>
  156. <property name="rightMargin">
  157. <number>4</number>
  158. </property>
  159. <property name="bottomMargin">
  160. <number>4</number>
  161. </property>
  162. <item>
  163. <widget class="QToolButton" name="toolButton_Paint">
  164. <property name="enabled">
  165. <bool>true</bool>
  166. </property>
  167. <property name="text">
  168. <string>Paint</string>
  169. </property>
  170. <property name="icon">
  171. <iconset resource="resources/images.qrc">
  172. <normaloff>:/icons/pencil.ico</normaloff>:/icons/pencil.ico</iconset>
  173. </property>
  174. <property name="checkable">
  175. <bool>true</bool>
  176. </property>
  177. <property name="checked">
  178. <bool>true</bool>
  179. </property>
  180. <property name="autoRaise">
  181. <bool>false</bool>
  182. </property>
  183. </widget>
  184. </item>
  185. <item>
  186. <widget class="QToolButton" name="toolButton_Select">
  187. <property name="enabled">
  188. <bool>true</bool>
  189. </property>
  190. <property name="text">
  191. <string>Select</string>
  192. </property>
  193. <property name="icon">
  194. <iconset resource="resources/images.qrc">
  195. <normaloff>:/icons/cursor.ico</normaloff>:/icons/cursor.ico</iconset>
  196. </property>
  197. <property name="checkable">
  198. <bool>true</bool>
  199. </property>
  200. </widget>
  201. </item>
  202. <item>
  203. <widget class="QToolButton" name="toolButton_Fill">
  204. <property name="text">
  205. <string>Fill</string>
  206. </property>
  207. <property name="icon">
  208. <iconset resource="resources/images.qrc">
  209. <normaloff>:/icons/fill_color.ico</normaloff>:/icons/fill_color.ico</iconset>
  210. </property>
  211. <property name="checkable">
  212. <bool>true</bool>
  213. </property>
  214. </widget>
  215. </item>
  216. <item>
  217. <widget class="QToolButton" name="toolButton_Dropper">
  218. <property name="text">
  219. <string>Dropper</string>
  220. </property>
  221. <property name="icon">
  222. <iconset resource="resources/images.qrc">
  223. <normaloff>:/icons/pipette.ico</normaloff>:/icons/pipette.ico</iconset>
  224. </property>
  225. <property name="checkable">
  226. <bool>true</bool>
  227. </property>
  228. </widget>
  229. </item>
  230. <item>
  231. <widget class="QCheckBox" name="checkBox_ToggleGrid">
  232. <property name="styleSheet">
  233. <string notr="true">margin-left: 10px</string>
  234. </property>
  235. <property name="text">
  236. <string>Show Grid</string>
  237. </property>
  238. </widget>
  239. </item>
  240. <item>
  241. <spacer name="horizontalSpacer">
  242. <property name="orientation">
  243. <enum>Qt::Horizontal</enum>
  244. </property>
  245. <property name="sizeHint" stdset="0">
  246. <size>
  247. <width>40</width>
  248. <height>20</height>
  249. </size>
  250. </property>
  251. </spacer>
  252. </item>
  253. <item>
  254. <widget class="QPushButton" name="pushButton">
  255. <property name="text">
  256. <string>Change Dimensions</string>
  257. </property>
  258. </widget>
  259. </item>
  260. </layout>
  261. </widget>
  262. </item>
  263. <item row="1" column="0">
  264. <widget class="QFrame" name="frame_7">
  265. <property name="frameShape">
  266. <enum>QFrame::StyledPanel</enum>
  267. </property>
  268. <property name="frameShadow">
  269. <enum>QFrame::Raised</enum>
  270. </property>
  271. <layout class="QGridLayout" name="gridLayout_2">
  272. <property name="leftMargin">
  273. <number>0</number>
  274. </property>
  275. <property name="topMargin">
  276. <number>0</number>
  277. </property>
  278. <property name="rightMargin">
  279. <number>0</number>
  280. </property>
  281. <property name="bottomMargin">
  282. <number>0</number>
  283. </property>
  284. <item row="0" column="0">
  285. <widget class="QScrollArea" name="scrollArea">
  286. <property name="sizePolicy">
  287. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  288. <horstretch>1</horstretch>
  289. <verstretch>0</verstretch>
  290. </sizepolicy>
  291. </property>
  292. <property name="widgetResizable">
  293. <bool>true</bool>
  294. </property>
  295. <widget class="QWidget" name="scrollAreaWidgetContents_5">
  296. <property name="geometry">
  297. <rect>
  298. <x>0</x>
  299. <y>0</y>
  300. <width>436</width>
  301. <height>620</height>
  302. </rect>
  303. </property>
  304. <layout class="QGridLayout" name="gridLayout_8">
  305. <property name="leftMargin">
  306. <number>0</number>
  307. </property>
  308. <property name="topMargin">
  309. <number>0</number>
  310. </property>
  311. <property name="rightMargin">
  312. <number>0</number>
  313. </property>
  314. <property name="bottomMargin">
  315. <number>0</number>
  316. </property>
  317. <property name="spacing">
  318. <number>0</number>
  319. </property>
  320. <item row="1" column="1">
  321. <widget class="QGraphicsView" name="graphicsView_Map">
  322. <property name="sizePolicy">
  323. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  324. <horstretch>0</horstretch>
  325. <verstretch>0</verstretch>
  326. </sizepolicy>
  327. </property>
  328. <property name="autoFillBackground">
  329. <bool>false</bool>
  330. </property>
  331. </widget>
  332. </item>
  333. <item row="1" column="0">
  334. <spacer name="horizontalSpacer_4">
  335. <property name="orientation">
  336. <enum>Qt::Horizontal</enum>
  337. </property>
  338. <property name="sizeHint" stdset="0">
  339. <size>
  340. <width>166</width>
  341. <height>16</height>
  342. </size>
  343. </property>
  344. </spacer>
  345. </item>
  346. <item row="2" column="1">
  347. <spacer name="verticalSpacer_3">
  348. <property name="orientation">
  349. <enum>Qt::Vertical</enum>
  350. </property>
  351. <property name="sizeHint" stdset="0">
  352. <size>
  353. <width>16</width>
  354. <height>166</height>
  355. </size>
  356. </property>
  357. </spacer>
  358. </item>
  359. <item row="1" column="2">
  360. <spacer name="horizontalSpacer_5">
  361. <property name="orientation">
  362. <enum>Qt::Horizontal</enum>
  363. </property>
  364. <property name="sizeHint" stdset="0">
  365. <size>
  366. <width>166</width>
  367. <height>16</height>
  368. </size>
  369. </property>
  370. </spacer>
  371. </item>
  372. <item row="0" column="1">
  373. <spacer name="verticalSpacer_4">
  374. <property name="orientation">
  375. <enum>Qt::Vertical</enum>
  376. </property>
  377. <property name="sizeHint" stdset="0">
  378. <size>
  379. <width>16</width>
  380. <height>166</height>
  381. </size>
  382. </property>
  383. </spacer>
  384. </item>
  385. </layout>
  386. </widget>
  387. </widget>
  388. </item>
  389. </layout>
  390. </widget>
  391. </item>
  392. </layout>
  393. </widget>
  394. <widget class="QFrame" name="frame_8">
  395. <property name="frameShape">
  396. <enum>QFrame::StyledPanel</enum>
  397. </property>
  398. <property name="frameShadow">
  399. <enum>QFrame::Raised</enum>
  400. </property>
  401. <layout class="QVBoxLayout" name="verticalLayout_6">
  402. <property name="leftMargin">
  403. <number>0</number>
  404. </property>
  405. <property name="topMargin">
  406. <number>0</number>
  407. </property>
  408. <property name="rightMargin">
  409. <number>0</number>
  410. </property>
  411. <property name="bottomMargin">
  412. <number>0</number>
  413. </property>
  414. <item>
  415. <widget class="QTabWidget" name="tabWidget_2">
  416. <property name="enabled">
  417. <bool>true</bool>
  418. </property>
  419. <property name="sizePolicy">
  420. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  421. <horstretch>0</horstretch>
  422. <verstretch>0</verstretch>
  423. </sizepolicy>
  424. </property>
  425. <property name="minimumSize">
  426. <size>
  427. <width>156</width>
  428. <height>0</height>
  429. </size>
  430. </property>
  431. <property name="currentIndex">
  432. <number>0</number>
  433. </property>
  434. <widget class="QWidget" name="tab_blocks">
  435. <property name="sizePolicy">
  436. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  437. <horstretch>0</horstretch>
  438. <verstretch>0</verstretch>
  439. </sizepolicy>
  440. </property>
  441. <attribute name="title">
  442. <string>Blocks</string>
  443. </attribute>
  444. <layout class="QGridLayout" name="gridLayout_3">
  445. <property name="leftMargin">
  446. <number>0</number>
  447. </property>
  448. <property name="topMargin">
  449. <number>0</number>
  450. </property>
  451. <property name="rightMargin">
  452. <number>0</number>
  453. </property>
  454. <property name="bottomMargin">
  455. <number>0</number>
  456. </property>
  457. <property name="spacing">
  458. <number>0</number>
  459. </property>
  460. <item row="0" column="0">
  461. <widget class="QFrame" name="frame_Tilesets">
  462. <property name="sizePolicy">
  463. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  464. <horstretch>0</horstretch>
  465. <verstretch>0</verstretch>
  466. </sizepolicy>
  467. </property>
  468. <property name="frameShape">
  469. <enum>QFrame::StyledPanel</enum>
  470. </property>
  471. <property name="frameShadow">
  472. <enum>QFrame::Raised</enum>
  473. </property>
  474. <layout class="QFormLayout" name="formLayout">
  475. <item row="0" column="0">
  476. <widget class="QLabel" name="label_PrimaryTileset">
  477. <property name="text">
  478. <string>Primary Tileset</string>
  479. </property>
  480. </widget>
  481. </item>
  482. <item row="0" column="1">
  483. <widget class="QComboBox" name="comboBox_PrimaryTileset">
  484. <property name="editable">
  485. <bool>true</bool>
  486. </property>
  487. </widget>
  488. </item>
  489. <item row="1" column="0">
  490. <widget class="QLabel" name="label_SecondaryTileset">
  491. <property name="text">
  492. <string>Secondary Tileset</string>
  493. </property>
  494. </widget>
  495. </item>
  496. <item row="1" column="1">
  497. <widget class="QComboBox" name="comboBox_SecondaryTileset">
  498. <property name="editable">
  499. <bool>true</bool>
  500. </property>
  501. </widget>
  502. </item>
  503. </layout>
  504. </widget>
  505. </item>
  506. <item row="1" column="0">
  507. <widget class="QFrame" name="frame_10">
  508. <property name="sizePolicy">
  509. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  510. <horstretch>0</horstretch>
  511. <verstretch>0</verstretch>
  512. </sizepolicy>
  513. </property>
  514. <property name="frameShape">
  515. <enum>QFrame::NoFrame</enum>
  516. </property>
  517. <property name="frameShadow">
  518. <enum>QFrame::Raised</enum>
  519. </property>
  520. <layout class="QHBoxLayout" name="horizontalLayout_5">
  521. <property name="spacing">
  522. <number>6</number>
  523. </property>
  524. <property name="sizeConstraint">
  525. <enum>QLayout::SetDefaultConstraint</enum>
  526. </property>
  527. <item>
  528. <spacer name="horizontalSpacer_13">
  529. <property name="orientation">
  530. <enum>Qt::Horizontal</enum>
  531. </property>
  532. <property name="sizeHint" stdset="0">
  533. <size>
  534. <width>40</width>
  535. <height>20</height>
  536. </size>
  537. </property>
  538. </spacer>
  539. </item>
  540. <item>
  541. <widget class="QLabel" name="label_16">
  542. <property name="sizePolicy">
  543. <sizepolicy hsizetype="Preferred" vsizetype="Minimum">
  544. <horstretch>0</horstretch>
  545. <verstretch>0</verstretch>
  546. </sizepolicy>
  547. </property>
  548. <property name="text">
  549. <string>Border</string>
  550. </property>
  551. </widget>
  552. </item>
  553. <item>
  554. <widget class="QGraphicsView" name="graphicsView_BorderMetatile">
  555. <property name="sizePolicy">
  556. <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
  557. <horstretch>0</horstretch>
  558. <verstretch>0</verstretch>
  559. </sizepolicy>
  560. </property>
  561. <property name="maximumSize">
  562. <size>
  563. <width>16777215</width>
  564. <height>48</height>
  565. </size>
  566. </property>
  567. <property name="frameShape">
  568. <enum>QFrame::StyledPanel</enum>
  569. </property>
  570. <property name="frameShadow">
  571. <enum>QFrame::Sunken</enum>
  572. </property>
  573. <property name="verticalScrollBarPolicy">
  574. <enum>Qt::ScrollBarAsNeeded</enum>
  575. </property>
  576. </widget>
  577. </item>
  578. <item>
  579. <spacer name="horizontalSpacer_12">
  580. <property name="orientation">
  581. <enum>Qt::Horizontal</enum>
  582. </property>
  583. <property name="sizeType">
  584. <enum>QSizePolicy::Expanding</enum>
  585. </property>
  586. <property name="sizeHint" stdset="0">
  587. <size>
  588. <width>40</width>
  589. <height>20</height>
  590. </size>
  591. </property>
  592. </spacer>
  593. </item>
  594. </layout>
  595. </widget>
  596. </item>
  597. <item row="2" column="0">
  598. <widget class="QScrollArea" name="scrollArea_2">
  599. <property name="sizePolicy">
  600. <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
  601. <horstretch>0</horstretch>
  602. <verstretch>0</verstretch>
  603. </sizepolicy>
  604. </property>
  605. <property name="verticalScrollBarPolicy">
  606. <enum>Qt::ScrollBarAlwaysOn</enum>
  607. </property>
  608. <property name="horizontalScrollBarPolicy">
  609. <enum>Qt::ScrollBarAsNeeded</enum>
  610. </property>
  611. <property name="sizeAdjustPolicy">
  612. <enum>QAbstractScrollArea::AdjustIgnored</enum>
  613. </property>
  614. <property name="widgetResizable">
  615. <bool>true</bool>
  616. </property>
  617. <property name="alignment">
  618. <set>Qt::AlignHCenter|Qt::AlignTop</set>
  619. </property>
  620. <widget class="QWidget" name="scrollAreaWidgetContents_2">
  621. <property name="enabled">
  622. <bool>true</bool>
  623. </property>
  624. <property name="geometry">
  625. <rect>
  626. <x>0</x>
  627. <y>0</y>
  628. <width>358</width>
  629. <height>497</height>
  630. </rect>
  631. </property>
  632. <property name="sizePolicy">
  633. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  634. <horstretch>0</horstretch>
  635. <verstretch>0</verstretch>
  636. </sizepolicy>
  637. </property>
  638. <layout class="QGridLayout" name="gridLayout_5">
  639. <property name="sizeConstraint">
  640. <enum>QLayout::SetDefaultConstraint</enum>
  641. </property>
  642. <property name="leftMargin">
  643. <number>0</number>
  644. </property>
  645. <property name="topMargin">
  646. <number>0</number>
  647. </property>
  648. <property name="rightMargin">
  649. <number>0</number>
  650. </property>
  651. <property name="bottomMargin">
  652. <number>0</number>
  653. </property>
  654. <item row="1" column="1">
  655. <spacer name="verticalSpacer_5">
  656. <property name="orientation">
  657. <enum>Qt::Vertical</enum>
  658. </property>
  659. <property name="sizeHint" stdset="0">
  660. <size>
  661. <width>20</width>
  662. <height>40</height>
  663. </size>
  664. </property>
  665. </spacer>
  666. </item>
  667. <item row="0" column="1">
  668. <widget class="QGraphicsView" name="graphicsView_Metatiles">
  669. <property name="enabled">
  670. <bool>true</bool>
  671. </property>
  672. <property name="sizePolicy">
  673. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  674. <horstretch>0</horstretch>
  675. <verstretch>0</verstretch>
  676. </sizepolicy>
  677. </property>
  678. <property name="verticalScrollBarPolicy">
  679. <enum>Qt::ScrollBarAlwaysOff</enum>
  680. </property>
  681. <property name="horizontalScrollBarPolicy">
  682. <enum>Qt::ScrollBarAlwaysOff</enum>
  683. </property>
  684. <property name="sizeAdjustPolicy">
  685. <enum>QAbstractScrollArea::AdjustIgnored</enum>
  686. </property>
  687. </widget>
  688. </item>
  689. <item row="0" column="0">
  690. <spacer name="horizontalSpacer_14">
  691. <property name="orientation">
  692. <enum>Qt::Horizontal</enum>
  693. </property>
  694. <property name="sizeHint" stdset="0">
  695. <size>
  696. <width>40</width>
  697. <height>20</height>
  698. </size>
  699. </property>
  700. </spacer>
  701. </item>
  702. <item row="0" column="2">
  703. <spacer name="horizontalSpacer_15">
  704. <property name="orientation">
  705. <enum>Qt::Horizontal</enum>
  706. </property>
  707. <property name="sizeHint" stdset="0">
  708. <size>
  709. <width>40</width>
  710. <height>20</height>
  711. </size>
  712. </property>
  713. </spacer>
  714. </item>
  715. </layout>
  716. </widget>
  717. </widget>
  718. </item>
  719. </layout>
  720. </widget>
  721. <widget class="QWidget" name="tab_collision">
  722. <property name="enabled">
  723. <bool>true</bool>
  724. </property>
  725. <property name="sizePolicy">
  726. <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
  727. <horstretch>0</horstretch>
  728. <verstretch>0</verstretch>
  729. </sizepolicy>
  730. </property>
  731. <attribute name="title">
  732. <string>Collision</string>
  733. </attribute>
  734. <widget class="Line" name="line">
  735. <property name="geometry">
  736. <rect>
  737. <x>20</x>
  738. <y>60</y>
  739. <width>111</width>
  740. <height>20</height>
  741. </rect>
  742. </property>
  743. <property name="orientation">
  744. <enum>Qt::Horizontal</enum>
  745. </property>
  746. </widget>
  747. <widget class="QFrame" name="frame">
  748. <property name="geometry">
  749. <rect>
  750. <x>0</x>
  751. <y>80</y>
  752. <width>151</width>
  753. <height>101</height>
  754. </rect>
  755. </property>
  756. <property name="frameShape">
  757. <enum>QFrame::StyledPanel</enum>
  758. </property>
  759. <property name="frameShadow">
  760. <enum>QFrame::Raised</enum>
  761. </property>
  762. <widget class="QLabel" name="label_2">
  763. <property name="geometry">
  764. <rect>
  765. <x>10</x>
  766. <y>10</y>
  767. <width>47</width>
  768. <height>13</height>
  769. </rect>
  770. </property>
  771. <property name="text">
  772. <string>Elevation</string>
  773. </property>
  774. </widget>
  775. <widget class="QGraphicsView" name="graphicsView_Elevation">
  776. <property name="geometry">
  777. <rect>
  778. <x>10</x>
  779. <y>30</y>
  780. <width>131</width>
  781. <height>61</height>
  782. </rect>
  783. </property>
  784. </widget>
  785. </widget>
  786. <widget class="QFrame" name="frame_2">
  787. <property name="geometry">
  788. <rect>
  789. <x>0</x>
  790. <y>0</y>
  791. <width>151</width>
  792. <height>61</height>
  793. </rect>
  794. </property>
  795. <property name="frameShape">
  796. <enum>QFrame::StyledPanel</enum>
  797. </property>
  798. <property name="frameShadow">
  799. <enum>QFrame::Raised</enum>
  800. </property>
  801. <widget class="QLabel" name="label">
  802. <property name="geometry">
  803. <rect>
  804. <x>10</x>
  805. <y>10</y>
  806. <width>47</width>
  807. <height>13</height>
  808. </rect>
  809. </property>
  810. <property name="text">
  811. <string>Collision</string>
  812. </property>
  813. </widget>
  814. <widget class="QGraphicsView" name="graphicsView_Collision">
  815. <property name="geometry">
  816. <rect>
  817. <x>40</x>
  818. <y>30</y>
  819. <width>66</width>
  820. <height>18</height>
  821. </rect>
  822. </property>
  823. </widget>
  824. </widget>
  825. </widget>
  826. </widget>
  827. </item>
  828. </layout>
  829. </widget>
  830. </widget>
  831. </item>
  832. </layout>
  833. </widget>
  834. <widget class="QWidget" name="tab_Objects">
  835. <property name="enabled">
  836. <bool>true</bool>
  837. </property>
  838. <attribute name="title">
  839. <string>Objects</string>
  840. </attribute>
  841. <layout class="QGridLayout" name="gridLayout_10">
  842. <property name="leftMargin">
  843. <number>0</number>
  844. </property>
  845. <property name="topMargin">
  846. <number>0</number>
  847. </property>
  848. <property name="rightMargin">
  849. <number>0</number>
  850. </property>
  851. <property name="bottomMargin">
  852. <number>0</number>
  853. </property>
  854. <item row="0" column="0">
  855. <widget class="QSplitter" name="splitter_3">
  856. <property name="sizePolicy">
  857. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  858. <horstretch>0</horstretch>
  859. <verstretch>0</verstretch>
  860. </sizepolicy>
  861. </property>
  862. <property name="orientation">
  863. <enum>Qt::Horizontal</enum>
  864. </property>
  865. <widget class="QScrollArea" name="scrollArea_3">
  866. <property name="sizePolicy">
  867. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  868. <horstretch>1</horstretch>
  869. <verstretch>0</verstretch>
  870. </sizepolicy>
  871. </property>
  872. <property name="widgetResizable">
  873. <bool>true</bool>
  874. </property>
  875. <widget class="QWidget" name="scrollAreaWidgetContents_4">
  876. <property name="geometry">
  877. <rect>
  878. <x>0</x>
  879. <y>0</y>
  880. <width>381</width>
  881. <height>657</height>
  882. </rect>
  883. </property>
  884. <layout class="QGridLayout" name="gridLayout_7">
  885. <property name="leftMargin">
  886. <number>0</number>
  887. </property>
  888. <property name="topMargin">
  889. <number>0</number>
  890. </property>
  891. <property name="rightMargin">
  892. <number>0</number>
  893. </property>
  894. <property name="bottomMargin">
  895. <number>0</number>
  896. </property>
  897. <property name="spacing">
  898. <number>0</number>
  899. </property>
  900. <item row="1" column="2">
  901. <spacer name="horizontalSpacer_Objects_Map_right">
  902. <property name="orientation">
  903. <enum>Qt::Horizontal</enum>
  904. </property>
  905. <property name="sizeHint" stdset="0">
  906. <size>
  907. <width>166</width>
  908. <height>16</height>
  909. </size>
  910. </property>
  911. </spacer>
  912. </item>
  913. <item row="1" column="0">
  914. <spacer name="horizontalSpacer_Objects_Map_left">
  915. <property name="orientation">
  916. <enum>Qt::Horizontal</enum>
  917. </property>
  918. <property name="sizeHint" stdset="0">
  919. <size>
  920. <width>166</width>
  921. <height>16</height>
  922. </size>
  923. </property>
  924. </spacer>
  925. </item>
  926. <item row="0" column="1">
  927. <spacer name="verticalSpacer_Objects_Map_top">
  928. <property name="orientation">
  929. <enum>Qt::Vertical</enum>
  930. </property>
  931. <property name="sizeHint" stdset="0">
  932. <size>
  933. <width>16</width>
  934. <height>166</height>
  935. </size>
  936. </property>
  937. </spacer>
  938. </item>
  939. <item row="2" column="1">
  940. <spacer name="verticalSpacer_Objects_Map_bottom">
  941. <property name="orientation">
  942. <enum>Qt::Vertical</enum>
  943. </property>
  944. <property name="sizeHint" stdset="0">
  945. <size>
  946. <width>16</width>
  947. <height>166</height>
  948. </size>
  949. </property>
  950. </spacer>
  951. </item>
  952. <item row="1" column="1">
  953. <widget class="GraphicsView" name="graphicsView_Objects_Map">
  954. <property name="sizePolicy">
  955. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  956. <horstretch>0</horstretch>
  957. <verstretch>0</verstretch>
  958. </sizepolicy>
  959. </property>
  960. </widget>
  961. </item>
  962. </layout>
  963. </widget>
  964. </widget>
  965. <widget class="QFrame" name="frame_Objects">
  966. <property name="enabled">
  967. <bool>true</bool>
  968. </property>
  969. <property name="sizePolicy">
  970. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  971. <horstretch>0</horstretch>
  972. <verstretch>0</verstretch>
  973. </sizepolicy>
  974. </property>
  975. <property name="minimumSize">
  976. <size>
  977. <width>444</width>
  978. <height>0</height>
  979. </size>
  980. </property>
  981. <layout class="QGridLayout" name="gridLayout_6">
  982. <item row="1" column="0">
  983. <widget class="QGroupBox" name="groupBox_selectedObjects">
  984. <property name="title">
  985. <string>Selected</string>
  986. </property>
  987. <layout class="QVBoxLayout" name="verticalLayout">
  988. <property name="spacing">
  989. <number>6</number>
  990. </property>
  991. <property name="leftMargin">
  992. <number>0</number>
  993. </property>
  994. <property name="topMargin">
  995. <number>0</number>
  996. </property>
  997. <property name="rightMargin">
  998. <number>0</number>
  999. </property>
  1000. <property name="bottomMargin">
  1001. <number>0</number>
  1002. </property>
  1003. <item>
  1004. <widget class="QFrame" name="frame_5">
  1005. <property name="frameShape">
  1006. <enum>QFrame::StyledPanel</enum>
  1007. </property>
  1008. <property name="frameShadow">
  1009. <enum>QFrame::Raised</enum>
  1010. </property>
  1011. <layout class="QVBoxLayout" name="verticalLayout_2">
  1012. <property name="leftMargin">
  1013. <number>0</number>
  1014. </property>
  1015. <property name="topMargin">
  1016. <number>0</number>
  1017. </property>
  1018. <property name="rightMargin">
  1019. <number>0</number>
  1020. </property>
  1021. <property name="bottomMargin">
  1022. <number>0</number>
  1023. </property>
  1024. <item>
  1025. <widget class="QScrollArea" name="scrollArea_4">
  1026. <property name="sizePolicy">
  1027. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  1028. <horstretch>0</horstretch>
  1029. <verstretch>0</verstretch>
  1030. </sizepolicy>
  1031. </property>
  1032. <property name="sizeAdjustPolicy">
  1033. <enum>QAbstractScrollArea::AdjustIgnored</enum>
  1034. </property>
  1035. <property name="widgetResizable">
  1036. <bool>true</bool>
  1037. </property>
  1038. <property name="alignment">
  1039. <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
  1040. </property>
  1041. <widget class="QWidget" name="scrollAreaWidgetContents">
  1042. <property name="geometry">
  1043. <rect>
  1044. <x>0</x>
  1045. <y>0</y>
  1046. <width>420</width>
  1047. <height>584</height>
  1048. </rect>
  1049. </property>
  1050. <property name="sizePolicy">
  1051. <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
  1052. <horstretch>0</horstretch>
  1053. <verstretch>0</verstretch>
  1054. </sizepolicy>
  1055. </property>
  1056. </widget>
  1057. </widget>
  1058. </item>
  1059. </layout>
  1060. </widget>
  1061. </item>
  1062. </layout>
  1063. </widget>
  1064. </item>
  1065. <item row="0" column="0">
  1066. <widget class="QFrame" name="frame_4">
  1067. <property name="maximumSize">
  1068. <size>
  1069. <width>16777215</width>
  1070. <height>32</height>
  1071. </size>
  1072. </property>
  1073. <property name="frameShape">
  1074. <enum>QFrame::StyledPanel</enum>
  1075. </property>
  1076. <property name="frameShadow">
  1077. <enum>QFrame::Raised</enum>
  1078. </property>
  1079. <layout class="QHBoxLayout" name="horizontalLayout">
  1080. <property name="leftMargin">
  1081. <number>0</number>
  1082. </property>
  1083. <property name="topMargin">
  1084. <number>0</number>
  1085. </property>
  1086. <property name="rightMargin">
  1087. <number>0</number>
  1088. </property>
  1089. <property name="bottomMargin">
  1090. <number>0</number>
  1091. </property>
  1092. <item>
  1093. <widget class="NewEventToolButton" name="newEventToolButton">
  1094. <property name="minimumSize">
  1095. <size>
  1096. <width>40</width>
  1097. <height>32</height>
  1098. </size>
  1099. </property>
  1100. <property name="text">
  1101. <string>New Object</string>
  1102. </property>
  1103. <property name="icon">
  1104. <iconset resource="resources/images.qrc">
  1105. <normaloff>:/icons/add.ico</normaloff>:/icons/add.ico</iconset>
  1106. </property>
  1107. <property name="toolButtonStyle">
  1108. <enum>Qt::ToolButtonTextBesideIcon</enum>
  1109. </property>
  1110. </widget>
  1111. </item>
  1112. <item>
  1113. <widget class="QToolButton" name="toolButton_deleteObject">
  1114. <property name="sizePolicy">
  1115. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  1116. <horstretch>0</horstretch>
  1117. <verstretch>0</verstretch>
  1118. </sizepolicy>
  1119. </property>
  1120. <property name="minimumSize">
  1121. <size>
  1122. <width>40</width>
  1123. <height>32</height>
  1124. </size>
  1125. </property>
  1126. <property name="text">
  1127. <string>Delete</string>
  1128. </property>
  1129. <property name="icon">
  1130. <iconset resource="resources/images.qrc">
  1131. <normaloff>:/icons/delete.ico</normaloff>:/icons/delete.ico</iconset>
  1132. </property>
  1133. <property name="toolButtonStyle">
  1134. <enum>Qt::ToolButtonTextBesideIcon</enum>
  1135. </property>
  1136. <property name="autoRaise">
  1137. <bool>false</bool>
  1138. </property>
  1139. </widget>
  1140. </item>
  1141. <item>
  1142. <spacer name="horizontalSpacer_3">
  1143. <property name="orientation">
  1144. <enum>Qt::Horizontal</enum>
  1145. </property>
  1146. <property name="sizeHint" stdset="0">
  1147. <size>
  1148. <width>40</width>
  1149. <height>20</height>
  1150. </size>
  1151. </property>
  1152. </spacer>
  1153. </item>
  1154. </layout>
  1155. </widget>
  1156. </item>
  1157. </layout>
  1158. </widget>
  1159. </widget>
  1160. </item>
  1161. </layout>
  1162. </widget>
  1163. <widget class="QWidget" name="tab_Attributes">
  1164. <attribute name="title">
  1165. <string>Attributes</string>
  1166. </attribute>
  1167. <widget class="QFrame" name="frame_3">
  1168. <property name="enabled">
  1169. <bool>false</bool>
  1170. </property>
  1171. <property name="geometry">
  1172. <rect>
  1173. <x>10</x>
  1174. <y>10</y>
  1175. <width>301</width>
  1176. <height>251</height>
  1177. </rect>
  1178. </property>
  1179. <property name="frameShape">
  1180. <enum>QFrame::StyledPanel</enum>
  1181. </property>
  1182. <property name="frameShadow">
  1183. <enum>QFrame::Raised</enum>
  1184. </property>
  1185. <widget class="QLabel" name="label_3">
  1186. <property name="geometry">
  1187. <rect>
  1188. <x>20</x>
  1189. <y>30</y>
  1190. <width>47</width>
  1191. <height>21</height>
  1192. </rect>
  1193. </property>
  1194. <property name="text">
  1195. <string>Song</string>
  1196. </property>
  1197. </widget>
  1198. <widget class="QLabel" name="label_4">
  1199. <property name="geometry">
  1200. <rect>
  1201. <x>20</x>
  1202. <y>60</y>
  1203. <width>47</width>
  1204. <height>21</height>
  1205. </rect>
  1206. </property>
  1207. <property name="text">
  1208. <string>Location</string>
  1209. </property>
  1210. </widget>
  1211. <widget class="QLabel" name="label_5">
  1212. <property name="geometry">
  1213. <rect>
  1214. <x>20</x>
  1215. <y>90</y>
  1216. <width>47</width>
  1217. <height>21</height>
  1218. </rect>
  1219. </property>
  1220. <property name="text">
  1221. <string>Visibility</string>
  1222. </property>
  1223. </widget>
  1224. <widget class="QLabel" name="label_6">
  1225. <property name="geometry">
  1226. <rect>
  1227. <x>20</x>
  1228. <y>120</y>
  1229. <width>47</width>
  1230. <height>21</height>
  1231. </rect>
  1232. </property>
  1233. <property name="text">
  1234. <string>Weather</string>
  1235. </property>
  1236. </widget>
  1237. <widget class="QLabel" name="label_7">
  1238. <property name="geometry">
  1239. <rect>
  1240. <x>20</x>
  1241. <y>150</y>
  1242. <width>47</width>
  1243. <height>21</height>
  1244. </rect>
  1245. </property>
  1246. <property name="text">
  1247. <string>Type</string>
  1248. </property>
  1249. </widget>
  1250. <widget class="QLabel" name="label_8">
  1251. <property name="geometry">
  1252. <rect>
  1253. <x>20</x>
  1254. <y>180</y>
  1255. <width>101</width>
  1256. <height>21</height>
  1257. </rect>
  1258. </property>
  1259. <property name="text">
  1260. <string>Show location name</string>
  1261. </property>
  1262. </widget>
  1263. <widget class="QLabel" name="label_9">
  1264. <property name="geometry">
  1265. <rect>
  1266. <x>20</x>
  1267. <y>210</y>
  1268. <width>81</width>
  1269. <height>21</height>
  1270. </rect>
  1271. </property>
  1272. <property name="text">
  1273. <string>Battle scene</string>
  1274. </property>
  1275. </widget>
  1276. <widget class="QComboBox" name="comboBox_Location">
  1277. <property name="geometry">
  1278. <rect>
  1279. <x>80</x>
  1280. <y>60</y>
  1281. <width>211</width>
  1282. <height>22</height>
  1283. </rect>
  1284. </property>
  1285. <property name="editable">
  1286. <bool>true</bool>
  1287. </property>
  1288. </widget>
  1289. <widget class="QComboBox" name="comboBox_Visibility">
  1290. <property name="geometry">
  1291. <rect>
  1292. <x>80</x>
  1293. <y>90</y>
  1294. <width>211</width>
  1295. <height>22</height>
  1296. </rect>
  1297. </property>
  1298. <property name="editable">
  1299. <bool>true</bool>
  1300. </property>
  1301. </widget>
  1302. <widget class="QComboBox" name="comboBox_Song">
  1303. <property name="geometry">
  1304. <rect>
  1305. <x>80</x>
  1306. <y>30</y>
  1307. <width>211</width>
  1308. <height>22</height>
  1309. </rect>
  1310. </property>
  1311. <property name="editable">
  1312. <bool>true</bool>
  1313. </property>
  1314. </widget>
  1315. <widget class="QComboBox" name="comboBox_Weather">
  1316. <property name="geometry">
  1317. <rect>
  1318. <x>80</x>
  1319. <y>120</y>
  1320. <width>211</width>
  1321. <height>22</height>
  1322. </rect>
  1323. </property>
  1324. <property name="editable">
  1325. <bool>true</bool>
  1326. </property>
  1327. </widget>
  1328. <widget class="QComboBox" name="comboBox_Type">
  1329. <property name="geometry">
  1330. <rect>
  1331. <x>80</x>
  1332. <y>150</y>
  1333. <width>211</width>
  1334. <height>22</height>
  1335. </rect>
  1336. </property>
  1337. <property name="editable">
  1338. <bool>true</bool>
  1339. </property>
  1340. </widget>
  1341. <widget class="QComboBox" name="comboBox_BattleScene">
  1342. <property name="geometry">
  1343. <rect>
  1344. <x>90</x>
  1345. <y>210</y>
  1346. <width>201</width>
  1347. <height>22</height>
  1348. </rect>
  1349. </property>
  1350. <property name="editable">
  1351. <bool>true</bool>
  1352. </property>
  1353. </widget>
  1354. <widget class="QCheckBox" name="checkBox_ShowLocation">
  1355. <property name="geometry">
  1356. <rect>
  1357. <x>130</x>
  1358. <y>180</y>
  1359. <width>161</width>
  1360. <height>21</height>
  1361. </rect>
  1362. </property>
  1363. <property name="text">
  1364. <string/>
  1365. </property>
  1366. </widget>
  1367. <widget class="QLabel" name="label_10">
  1368. <property name="geometry">
  1369. <rect>
  1370. <x>0</x>
  1371. <y>0</y>
  1372. <width>47</width>
  1373. <height>13</height>
  1374. </rect>
  1375. </property>
  1376. <property name="text">
  1377. <string>Header</string>
  1378. </property>
  1379. </widget>
  1380. </widget>
  1381. </widget>
  1382. <widget class="QWidget" name="tab_Connections">
  1383. <attribute name="title">
  1384. <string>Connections</string>
  1385. </attribute>
  1386. <layout class="QGridLayout" name="gridLayout_12">
  1387. <property name="leftMargin">
  1388. <number>0</number>
  1389. </property>
  1390. <property name="topMargin">
  1391. <number>0</number>
  1392. </property>
  1393. <property name="rightMargin">
  1394. <number>0</number>
  1395. </property>
  1396. <property name="bottomMargin">
  1397. <number>0</number>
  1398. </property>
  1399. <item row="3" column="0">
  1400. <widget class="QFrame" name="gridFrame">
  1401. <property name="sizePolicy">
  1402. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  1403. <horstretch>0</horstretch>
  1404. <verstretch>0</verstretch>
  1405. </sizepolicy>
  1406. </property>
  1407. <property name="frameShape">
  1408. <enum>QFrame::StyledPanel</enum>
  1409. </property>
  1410. <property name="frameShadow">
  1411. <enum>QFrame::Raised</enum>
  1412. </property>
  1413. <layout class="QGridLayout" name="gridLayout_11">
  1414. <property name="leftMargin">
  1415. <number>0</number>
  1416. </property>
  1417. <property name="topMargin">
  1418. <number>0</number>
  1419. </property>
  1420. <property name="rightMargin">
  1421. <number>0</number>
  1422. </property>
  1423. <property name="bottomMargin">
  1424. <number>0</number>
  1425. </property>
  1426. <property name="spacing">
  1427. <number>0</number>
  1428. </property>
  1429. <item row="1" column="0">
  1430. <widget class="QFrame" name="horizontalFrame">
  1431. <property name="sizePolicy">
  1432. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  1433. <horstretch>0</horstretch>
  1434. <verstretch>0</verstretch>
  1435. </sizepolicy>
  1436. </property>
  1437. <property name="minimumSize">
  1438. <size>
  1439. <width>0</width>
  1440. <height>32</height>
  1441. </size>
  1442. </property>
  1443. <property name="frameShape">
  1444. <enum>QFrame::StyledPanel</enum>
  1445. </property>
  1446. <property name="frameShadow">
  1447. <enum>QFrame::Raised</enum>
  1448. </property>
  1449. <layout class="QHBoxLayout" name="horizontalLayout_4">
  1450. <property name="spacing">
  1451. <number>4</number>
  1452. </property>
  1453. <property name="leftMargin">
  1454. <number>4</number>
  1455. </property>
  1456. <property name="topMargin">
  1457. <number>4</number>
  1458. </property>
  1459. <property name="rightMargin">
  1460. <number>4</number>
  1461. </property>
  1462. <property name="bottomMargin">
  1463. <number>4</number>
  1464. </property>
  1465. <item>
  1466. <widget class="QPushButton" name="pushButton_AddConnection">
  1467. <property name="sizePolicy">
  1468. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  1469. <horstretch>0</horstretch>
  1470. <verstretch>0</verstretch>
  1471. </sizepolicy>
  1472. </property>
  1473. <property name="text">
  1474. <string/>
  1475. </property>
  1476. <property name="icon">
  1477. <iconset>
  1478. <activeon>:/icons/add.ico</activeon>
  1479. </iconset>
  1480. </property>
  1481. </widget>
  1482. </item>
  1483. <item>
  1484. <widget class="QPushButton" name="pushButton_RemoveConnection">
  1485. <property name="text">
  1486. <string/>
  1487. </property>
  1488. <property name="icon">
  1489. <iconset>
  1490. <activeon>:/icons/delete.ico</activeon>
  1491. </iconset>
  1492. </property>
  1493. </widget>
  1494. </item>
  1495. <item>
  1496. <widget class="QLabel" name="label_13">
  1497. <property name="text">
  1498. <string>Number of Connections:</string>
  1499. </property>
  1500. </widget>
  1501. </item>
  1502. <item>
  1503. <widget class="QLabel" name="label_NumConnections">
  1504. <property name="text">
  1505. <string/>
  1506. </property>
  1507. </widget>
  1508. </item>
  1509. <item>
  1510. <spacer name="horizontalSpacer_11">
  1511. <property name="orientation">
  1512. <enum>Qt::Horizontal</enum>
  1513. </property>
  1514. <property name="sizeType">
  1515. <enum>QSizePolicy::Maximum</enum>
  1516. </property>
  1517. <property name="sizeHint" stdset="0">
  1518. <size>
  1519. <width>40</width>
  1520. <height>20</height>
  1521. </size>
  1522. </property>
  1523. </spacer>
  1524. </item>
  1525. <item>
  1526. <widget class="QCheckBox" name="checkBox_MirrorConnections">
  1527. <property name="sizePolicy">
  1528. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  1529. <horstretch>0</horstretch>
  1530. <verstretch>0</verstretch>
  1531. </sizepolicy>
  1532. </property>
  1533. <property name="text">
  1534. <string>Mirror</string>
  1535. </property>
  1536. <property name="checked">
  1537. <bool>true</bool>
  1538. </property>
  1539. </widget>
  1540. </item>
  1541. <item>
  1542. <spacer name="horizontalSpacer_9">
  1543. <property name="orientation">
  1544. <enum>Qt::Horizontal</enum>
  1545. </property>
  1546. <property name="sizeHint" stdset="0">
  1547. <size>
  1548. <width>40</width>
  1549. <height>20</height>
  1550. </size>
  1551. </property>
  1552. </spacer>
  1553. </item>
  1554. </layout>
  1555. </widget>
  1556. </item>
  1557. <item row="2" column="0">
  1558. <widget class="QFrame" name="horizontalFrame">
  1559. <property name="sizePolicy">
  1560. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  1561. <horstretch>0</horstretch>
  1562. <verstretch>0</verstretch>
  1563. </sizepolicy>
  1564. </property>
  1565. <property name="minimumSize">
  1566. <size>
  1567. <width>0</width>
  1568. <height>32</height>
  1569. </size>
  1570. </property>
  1571. <property name="frameShape">
  1572. <enum>QFrame::StyledPanel</enum>
  1573. </property>
  1574. <property name="frameShadow">
  1575. <enum>QFrame::Raised</enum>
  1576. </property>
  1577. <layout class="QHBoxLayout" name="horizontalLayout_3" stretch="0,0,0,0,0,0,0">
  1578. <property name="spacing">
  1579. <number>4</number>
  1580. </property>
  1581. <property name="leftMargin">
  1582. <number>4</number>
  1583. </property>
  1584. <property name="topMargin">
  1585. <number>4</number>
  1586. </property>
  1587. <property name="rightMargin">
  1588. <number>4</number>
  1589. </property>
  1590. <property name="bottomMargin">
  1591. <number>4</number>
  1592. </property>
  1593. <item>
  1594. <widget class="QComboBox" name="comboBox_ConnectionDirection">
  1595. <item>
  1596. <property name="text">
  1597. <string>up</string>
  1598. </property>
  1599. </item>
  1600. <item>
  1601. <property name="text">
  1602. <string>right</string>
  1603. </property>
  1604. </item>
  1605. <item>
  1606. <property name="text">
  1607. <string>down</string>
  1608. </property>
  1609. </item>
  1610. <item>
  1611. <property name="text">
  1612. <string>left</string>
  1613. </property>
  1614. </item>
  1615. </widget>
  1616. </item>
  1617. <item>
  1618. <spacer name="horizontalSpacer_2">
  1619. <property name="orientation">
  1620. <enum>Qt::Horizontal</enum>
  1621. </property>
  1622. <property name="sizeType">
  1623. <enum>QSizePolicy::Fixed</enum>
  1624. </property>
  1625. <property name="sizeHint" stdset="0">
  1626. <size>
  1627. <width>20</width>
  1628. <height>20</height>
  1629. </size>
  1630. </property>
  1631. </spacer>
  1632. </item>
  1633. <item>
  1634. <widget class="QLabel" name="label_11">
  1635. <property name="text">
  1636. <string>Map</string>
  1637. </property>
  1638. </widget>
  1639. </item>
  1640. <item>
  1641. <widget class="QComboBox" name="comboBox_ConnectedMap">
  1642. <property name="editable">
  1643. <bool>true</bool>
  1644. </property>
  1645. </widget>
  1646. </item>
  1647. <item>
  1648. <widget class="QLabel" name="label_12">
  1649. <property name="text">
  1650. <string>Offset</string>
  1651. </property>
  1652. </widget>
  1653. </item>
  1654. <item>
  1655. <widget class="QSpinBox" name="spinBox_ConnectionOffset">
  1656. <property name="minimum">
  1657. <number>-999</number>
  1658. </property>
  1659. <property name="maximum">
  1660. <number>999</number>
  1661. </property>
  1662. </widget>
  1663. </item>
  1664. <item>
  1665. <spacer name="horizontalSpacer_6">
  1666. <property name="orientation">
  1667. <enum>Qt::Horizontal</enum>
  1668. </property>
  1669. <property name="sizeHint" stdset="0">
  1670. <size>
  1671. <width>40</width>
  1672. <height>20</height>
  1673. </size>
  1674. </property>
  1675. </spacer>
  1676. </item>
  1677. </layout>
  1678. </widget>
  1679. </item>
  1680. <item row="3" column="0">
  1681. <widget class="QFrame" name="gridFrame">
  1682. <property name="frameShape">
  1683. <enum>QFrame::StyledPanel</enum>
  1684. </property>
  1685. <property name="frameShadow">
  1686. <enum>QFrame::Raised</enum>
  1687. </property>
  1688. <layout class="QGridLayout" name="gridLayout_13">
  1689. <property name="leftMargin">
  1690. <number>0</number>
  1691. </property>
  1692. <property name="topMargin">
  1693. <number>0</number>
  1694. </property>
  1695. <property name="rightMargin">
  1696. <number>0</number>
  1697. </property>
  1698. <property name="bottomMargin">
  1699. <number>0</number>
  1700. </property>
  1701. <property name="spacing">
  1702. <number>0</number>
  1703. </property>
  1704. <item row="1" column="0">
  1705. <widget class="QScrollArea" name="scrollArea_5">
  1706. <property name="sizePolicy">
  1707. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  1708. <horstretch>1</horstretch>
  1709. <verstretch>0</verstretch>
  1710. </sizepolicy>
  1711. </property>
  1712. <property name="widgetResizable">
  1713. <bool>true</bool>
  1714. </property>
  1715. <widget class="QWidget" name="scrollAreaWidgetContents_3">
  1716. <property name="geometry">
  1717. <rect>
  1718. <x>0</x>
  1719. <y>0</y>
  1720. <width>826</width>
  1721. <height>557</height>
  1722. </rect>
  1723. </property>
  1724. <layout class="QGridLayout" name="gridLayout_14">
  1725. <item row="1" column="2">
  1726. <spacer name="horizontalSpacer_8">
  1727. <property name="orientation">
  1728. <enum>Qt::Horizontal</enum>
  1729. </property>
  1730. <property name="sizeHint" stdset="0">
  1731. <size>
  1732. <width>40</width>
  1733. <height>20</height>
  1734. </size>
  1735. </property>
  1736. </spacer>
  1737. </item>
  1738. <item row="2" column="1">
  1739. <spacer name="verticalSpacer_2">
  1740. <property name="orientation">
  1741. <enum>Qt::Vertical</enum>
  1742. </property>
  1743. <property name="sizeHint" stdset="0">
  1744. <size>
  1745. <width>20</width>
  1746. <height>40</height>
  1747. </size>
  1748. </property>
  1749. </spacer>
  1750. </item>
  1751. <item row="0" column="1">
  1752. <spacer name="verticalSpacer">
  1753. <property name="orientation">
  1754. <enum>Qt::Vertical</enum>
  1755. </property>
  1756. <property name="sizeHint" stdset="0">
  1757. <size>
  1758. <width>20</width>
  1759. <height>40</height>
  1760. </size>
  1761. </property>
  1762. </spacer>
  1763. </item>
  1764. <item row="1" column="1">
  1765. <widget class="QGraphicsView" name="graphicsView_Connections">
  1766. <property name="backgroundBrush">
  1767. <brush brushstyle="SolidPattern">
  1768. <color alpha="255">
  1769. <red>0</red>
  1770. <green>0</green>
  1771. <blue>0</blue>
  1772. </color>
  1773. </brush>
  1774. </property>
  1775. </widget>
  1776. </item>
  1777. <item row="1" column="0">
  1778. <spacer name="horizontalSpacer_7">
  1779. <property name="orientation">
  1780. <enum>Qt::Horizontal</enum>
  1781. </property>
  1782. <property name="sizeHint" stdset="0">
  1783. <size>
  1784. <width>40</width>
  1785. <height>20</height>
  1786. </size>
  1787. </property>
  1788. </spacer>
  1789. </item>
  1790. </layout>
  1791. </widget>
  1792. </widget>
  1793. </item>
  1794. <item row="0" column="0">
  1795. <widget class="QFrame" name="horizontalFrame">
  1796. <property name="sizePolicy">
  1797. <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
  1798. <horstretch>0</horstretch>
  1799. <verstretch>0</verstretch>
  1800. </sizepolicy>
  1801. </property>
  1802. <property name="frameShape">
  1803. <enum>QFrame::StyledPanel</enum>
  1804. </property>
  1805. <property name="frameShadow">
  1806. <enum>QFrame::Raised</enum>
  1807. </property>
  1808. <layout class="QHBoxLayout" name="horizontalLayout_6">
  1809. <property name="spacing">
  1810. <number>4</number>
  1811. </property>
  1812. <property name="leftMargin">
  1813. <number>4</number>
  1814. </property>
  1815. <property name="topMargin">
  1816. <number>4</number>
  1817. </property>
  1818. <property name="rightMargin">
  1819. <number>4</number>
  1820. </property>
  1821. <property name="bottomMargin">
  1822. <number>4</number>
  1823. </property>
  1824. <item>
  1825. <widget class="QLabel" name="label_14">
  1826. <property name="text">
  1827. <string>Dive Map</string>
  1828. </property>
  1829. </widget>
  1830. </item>
  1831. <item>
  1832. <widget class="QComboBox" name="comboBox_DiveMap">
  1833. <property name="editable">
  1834. <bool>true</bool>
  1835. </property>
  1836. </widget>
  1837. </item>
  1838. <item>
  1839. <widget class="QLabel" name="label_15">
  1840. <property name="text">
  1841. <string>Emerge Map</string>
  1842. </property>
  1843. </widget>
  1844. </item>
  1845. <item>
  1846. <widget class="QComboBox" name="comboBox_EmergeMap">
  1847. <property name="editable">
  1848. <bool>true</bool>
  1849. </property>
  1850. </widget>
  1851. </item>
  1852. <item>
  1853. <spacer name="horizontalSpacer_10">
  1854. <property name="orientation">
  1855. <enum>Qt::Horizontal</enum>
  1856. </property>
  1857. <property name="sizeHint" stdset="0">
  1858. <size>
  1859. <width>40</width>
  1860. <height>20</height>
  1861. </size>
  1862. </property>
  1863. </spacer>
  1864. </item>
  1865. </layout>
  1866. </widget>
  1867. </item>
  1868. </layout>
  1869. </widget>
  1870. </item>
  1871. </layout>
  1872. </widget>
  1873. </item>
  1874. </layout>
  1875. </widget>
  1876. </widget>
  1877. </widget>
  1878. </item>
  1879. </layout>
  1880. </widget>
  1881. <widget class="QMenuBar" name="menuBar">
  1882. <property name="geometry">
  1883. <rect>
  1884. <x>0</x>
  1885. <y>0</y>
  1886. <width>1117</width>
  1887. <height>21</height>
  1888. </rect>
  1889. </property>
  1890. <widget class="QMenu" name="menuFile">
  1891. <property name="title">
  1892. <string>File</string>
  1893. </property>
  1894. <addaction name="action_Open_Project"/>
  1895. <addaction name="action_Save"/>
  1896. <addaction name="action_Save_Project"/>
  1897. <addaction name="separator"/>
  1898. <addaction name="action_Export_Map_Image"/>
  1899. <addaction name="separator"/>
  1900. <addaction name="action_Exit"/>
  1901. </widget>
  1902. <widget class="QMenu" name="menuEdit">
  1903. <property name="title">
  1904. <string>Edit</string>
  1905. </property>
  1906. <addaction name="actionUndo"/>
  1907. <addaction name="actionRedo"/>
  1908. </widget>
  1909. <addaction name="menuFile"/>
  1910. <addaction name="menuEdit"/>
  1911. </widget>
  1912. <widget class="QStatusBar" name="statusBar"/>
  1913. <action name="action_Save_Project">
  1914. <property name="text">
  1915. <string>Save All</string>
  1916. </property>
  1917. <property name="shortcut">
  1918. <string>Ctrl+Shift+S</string>
  1919. </property>
  1920. </action>
  1921. <action name="action_Exit">
  1922. <property name="text">
  1923. <string>Exit</string>
  1924. </property>
  1925. <property name="shortcut">
  1926. <string>Ctrl+Q</string>
  1927. </property>
  1928. </action>
  1929. <action name="action_Open_Project">
  1930. <property name="text">
  1931. <string>Open Project...</string>
  1932. </property>
  1933. <property name="shortcut">
  1934. <string>Ctrl+O</string>
  1935. </property>
  1936. </action>
  1937. <action name="action_Save">
  1938. <property name="text">
  1939. <string>Save</string>
  1940. </property>
  1941. <property name="shortcut">
  1942. <string>Ctrl+S</string>
  1943. </property>
  1944. </action>
  1945. <action name="actionUndo">
  1946. <property name="text">
  1947. <string>Undo</string>
  1948. </property>
  1949. <property name="shortcut">
  1950. <string>Ctrl+Z</string>
  1951. </property>
  1952. </action>
  1953. <action name="actionRedo">
  1954. <property name="text">
  1955. <string>Redo</string>
  1956. </property>
  1957. <property name="font">
  1958. <font/>
  1959. </property>
  1960. <property name="shortcut">
  1961. <string>Ctrl+Y</string>
  1962. </property>
  1963. </action>
  1964. <action name="action_Export_Map_Image">
  1965. <property name="text">
  1966. <string>Export Map Image...</string>
  1967. </property>
  1968. </action>
  1969. </widget>
  1970. <layoutdefault spacing="6" margin="11"/>
  1971. <customwidgets>
  1972. <customwidget>
  1973. <class>GraphicsView</class>
  1974. <extends>QGraphicsView</extends>
  1975. <header>graphicsview.h</header>
  1976. </customwidget>
  1977. <customwidget>
  1978. <class>NewEventToolButton</class>
  1979. <extends>QToolButton</extends>
  1980. <header>neweventtoolbutton.h</header>
  1981. </customwidget>
  1982. </customwidgets>
  1983. <resources>
  1984. <include location="resources/images.qrc"/>
  1985. </resources>
  1986. <connections/>
  1987. </ui>