No Description

mainwindow.ui 46KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293
  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="QToolBar" name="mainToolBar">
  1221. <attribute name="toolBarArea">
  1222. <enum>TopToolBarArea</enum>
  1223. </attribute>
  1224. <attribute name="toolBarBreak">
  1225. <bool>false</bool>
  1226. </attribute>
  1227. </widget>
  1228. <widget class="QStatusBar" name="statusBar"/>
  1229. <action name="action_Save_Project">
  1230. <property name="text">
  1231. <string>Save All</string>
  1232. </property>
  1233. <property name="shortcut">
  1234. <string>Ctrl+Shift+S</string>
  1235. </property>
  1236. </action>
  1237. <action name="action_Exit">
  1238. <property name="text">
  1239. <string>Exit</string>
  1240. </property>
  1241. <property name="shortcut">
  1242. <string>Ctrl+Q</string>
  1243. </property>
  1244. </action>
  1245. <action name="action_Open_Project">
  1246. <property name="text">
  1247. <string>Open Project...</string>
  1248. </property>
  1249. <property name="shortcut">
  1250. <string>Ctrl+O</string>
  1251. </property>
  1252. </action>
  1253. <action name="action_Save">
  1254. <property name="text">
  1255. <string>Save</string>
  1256. </property>
  1257. <property name="shortcut">
  1258. <string>Ctrl+S</string>
  1259. </property>
  1260. </action>
  1261. <action name="actionUndo">
  1262. <property name="text">
  1263. <string>Undo</string>
  1264. </property>
  1265. <property name="shortcut">
  1266. <string>Ctrl+Z</string>
  1267. </property>
  1268. </action>
  1269. <action name="actionRedo">
  1270. <property name="text">
  1271. <string>Redo</string>
  1272. </property>
  1273. <property name="font">
  1274. <font/>
  1275. </property>
  1276. <property name="shortcut">
  1277. <string>Ctrl+Y</string>
  1278. </property>
  1279. </action>
  1280. </widget>
  1281. <layoutdefault spacing="6" margin="11"/>
  1282. <customwidgets>
  1283. <customwidget>
  1284. <class>GraphicsView</class>
  1285. <extends>QGraphicsView</extends>
  1286. <header>graphicsview.h</header>
  1287. </customwidget>
  1288. </customwidgets>
  1289. <resources>
  1290. <include location="resources/images.qrc"/>
  1291. </resources>
  1292. <connections/>
  1293. </ui>