No Description

MergePanel.ui 11KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434
  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>810</width>
  10. <height>595</height>
  11. </rect>
  12. </property>
  13. <property name="minimumSize">
  14. <size>
  15. <width>800</width>
  16. <height>400</height>
  17. </size>
  18. </property>
  19. <property name="maximumSize">
  20. <size>
  21. <width>1500</width>
  22. <height>600</height>
  23. </size>
  24. </property>
  25. <property name="windowTitle">
  26. <string>MainWindow</string>
  27. </property>
  28. <widget class="QWidget" name="centralWidget">
  29. <property name="minimumSize">
  30. <size>
  31. <width>1271</width>
  32. <height>0</height>
  33. </size>
  34. </property>
  35. <widget class="QWidget" name="verticalLayoutWidget">
  36. <property name="geometry">
  37. <rect>
  38. <x>10</x>
  39. <y>120</y>
  40. <width>262</width>
  41. <height>321</height>
  42. </rect>
  43. </property>
  44. <layout class="QVBoxLayout" name="verticalLayout">
  45. <item>
  46. <widget class="ClickableLabel" name="lblOriginalImage">
  47. <property name="sizePolicy">
  48. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  49. <horstretch>0</horstretch>
  50. <verstretch>0</verstretch>
  51. </sizepolicy>
  52. </property>
  53. <property name="minimumSize">
  54. <size>
  55. <width>260</width>
  56. <height>260</height>
  57. </size>
  58. </property>
  59. <property name="maximumSize">
  60. <size>
  61. <width>350</width>
  62. <height>350</height>
  63. </size>
  64. </property>
  65. <property name="mouseTracking">
  66. <bool>false</bool>
  67. </property>
  68. <property name="frameShape">
  69. <enum>QFrame::Box</enum>
  70. </property>
  71. <property name="frameShadow">
  72. <enum>QFrame::Sunken</enum>
  73. </property>
  74. <property name="text">
  75. <string/>
  76. </property>
  77. <property name="scaledContents">
  78. <bool>true</bool>
  79. </property>
  80. <property name="buddy">
  81. <cstring>btnSelectImage</cstring>
  82. </property>
  83. </widget>
  84. </item>
  85. </layout>
  86. </widget>
  87. <widget class="QWidget" name="verticalLayoutWidget_2">
  88. <property name="geometry">
  89. <rect>
  90. <x>270</x>
  91. <y>120</y>
  92. <width>262</width>
  93. <height>321</height>
  94. </rect>
  95. </property>
  96. <layout class="QVBoxLayout" name="verticalLayout_2">
  97. <item>
  98. <widget class="ClickableLabel" name="lblBackgroundImage">
  99. <property name="enabled">
  100. <bool>true</bool>
  101. </property>
  102. <property name="minimumSize">
  103. <size>
  104. <width>260</width>
  105. <height>260</height>
  106. </size>
  107. </property>
  108. <property name="maximumSize">
  109. <size>
  110. <width>350</width>
  111. <height>350</height>
  112. </size>
  113. </property>
  114. <property name="mouseTracking">
  115. <bool>false</bool>
  116. </property>
  117. <property name="frameShape">
  118. <enum>QFrame::Box</enum>
  119. </property>
  120. <property name="frameShadow">
  121. <enum>QFrame::Sunken</enum>
  122. </property>
  123. <property name="text">
  124. <string/>
  125. </property>
  126. <property name="scaledContents">
  127. <bool>true</bool>
  128. </property>
  129. <property name="buddy">
  130. <cstring>btnSelectBackground</cstring>
  131. </property>
  132. </widget>
  133. </item>
  134. </layout>
  135. </widget>
  136. <widget class="QWidget" name="verticalLayoutWidget_3">
  137. <property name="geometry">
  138. <rect>
  139. <x>530</x>
  140. <y>120</y>
  141. <width>262</width>
  142. <height>321</height>
  143. </rect>
  144. </property>
  145. <layout class="QVBoxLayout" name="verticalLayout_3">
  146. <item>
  147. <widget class="QLabel" name="lblMergedImage">
  148. <property name="enabled">
  149. <bool>true</bool>
  150. </property>
  151. <property name="minimumSize">
  152. <size>
  153. <width>260</width>
  154. <height>200</height>
  155. </size>
  156. </property>
  157. <property name="maximumSize">
  158. <size>
  159. <width>350</width>
  160. <height>350</height>
  161. </size>
  162. </property>
  163. <property name="frameShape">
  164. <enum>QFrame::Box</enum>
  165. </property>
  166. <property name="frameShadow">
  167. <enum>QFrame::Sunken</enum>
  168. </property>
  169. <property name="text">
  170. <string/>
  171. </property>
  172. <property name="scaledContents">
  173. <bool>true</bool>
  174. </property>
  175. </widget>
  176. </item>
  177. </layout>
  178. </widget>
  179. <widget class="QWidget" name="layoutWidget1">
  180. <property name="geometry">
  181. <rect>
  182. <x>20</x>
  183. <y>450</y>
  184. <width>251</width>
  185. <height>42</height>
  186. </rect>
  187. </property>
  188. <layout class="QVBoxLayout" name="verticalLayout_4">
  189. <item>
  190. <widget class="QLabel" name="origCoord">
  191. <property name="text">
  192. <string>Selected Coord: (0,0)</string>
  193. </property>
  194. </widget>
  195. </item>
  196. <item>
  197. <widget class="QLabel" name="origSize">
  198. <property name="text">
  199. <string>Original Image Size: 0x0</string>
  200. </property>
  201. </widget>
  202. </item>
  203. </layout>
  204. </widget>
  205. <widget class="QWidget" name="layoutWidget">
  206. <property name="geometry">
  207. <rect>
  208. <x>280</x>
  209. <y>450</y>
  210. <width>251</width>
  211. <height>42</height>
  212. </rect>
  213. </property>
  214. <layout class="QVBoxLayout" name="verticalLayout_5">
  215. <item>
  216. <widget class="QLabel" name="backCoord">
  217. <property name="enabled">
  218. <bool>true</bool>
  219. </property>
  220. <property name="text">
  221. <string>Selected Coord: (0, 0)</string>
  222. </property>
  223. </widget>
  224. </item>
  225. <item>
  226. <widget class="QLabel" name="bgSize">
  227. <property name="text">
  228. <string>Original Image Size: 0x0</string>
  229. </property>
  230. </widget>
  231. </item>
  232. </layout>
  233. </widget>
  234. <widget class="QFrame" name="LogoFrame">
  235. <property name="geometry">
  236. <rect>
  237. <x>20</x>
  238. <y>500</y>
  239. <width>201</width>
  240. <height>61</height>
  241. </rect>
  242. </property>
  243. <property name="styleSheet">
  244. <string notr="true"/>
  245. </property>
  246. <property name="frameShape">
  247. <enum>QFrame::StyledPanel</enum>
  248. </property>
  249. <property name="frameShadow">
  250. <enum>QFrame::Raised</enum>
  251. </property>
  252. </widget>
  253. <widget class="QPushButton" name="btnSelectImage">
  254. <property name="geometry">
  255. <rect>
  256. <x>10</x>
  257. <y>70</y>
  258. <width>251</width>
  259. <height>41</height>
  260. </rect>
  261. </property>
  262. <property name="styleSheet">
  263. <string notr="true"/>
  264. </property>
  265. <property name="text">
  266. <string>Select Image</string>
  267. </property>
  268. </widget>
  269. <widget class="QPushButton" name="btnSelectBackground">
  270. <property name="geometry">
  271. <rect>
  272. <x>270</x>
  273. <y>70</y>
  274. <width>251</width>
  275. <height>41</height>
  276. </rect>
  277. </property>
  278. <property name="styleSheet">
  279. <string notr="true"/>
  280. </property>
  281. <property name="text">
  282. <string>Select Background Image</string>
  283. </property>
  284. </widget>
  285. <widget class="QPushButton" name="btnMergeImages">
  286. <property name="geometry">
  287. <rect>
  288. <x>530</x>
  289. <y>70</y>
  290. <width>270</width>
  291. <height>41</height>
  292. </rect>
  293. </property>
  294. <property name="styleSheet">
  295. <string notr="true"/>
  296. </property>
  297. <property name="text">
  298. <string>Merge Images</string>
  299. </property>
  300. </widget>
  301. <widget class="QFrame" name="Banner">
  302. <property name="geometry">
  303. <rect>
  304. <x>-10</x>
  305. <y>-30</y>
  306. <width>861</width>
  307. <height>91</height>
  308. </rect>
  309. </property>
  310. <property name="styleSheet">
  311. <string notr="true"/>
  312. </property>
  313. <property name="frameShape">
  314. <enum>QFrame::StyledPanel</enum>
  315. </property>
  316. <property name="frameShadow">
  317. <enum>QFrame::Raised</enum>
  318. </property>
  319. <widget class="QLabel" name="HeaderLabel">
  320. <property name="geometry">
  321. <rect>
  322. <x>250</x>
  323. <y>20</y>
  324. <width>271</width>
  325. <height>61</height>
  326. </rect>
  327. </property>
  328. <property name="font">
  329. <font>
  330. <pointsize>25</pointsize>
  331. </font>
  332. </property>
  333. <property name="styleSheet">
  334. <string notr="true"/>
  335. </property>
  336. <property name="text">
  337. <string>Green Screen Lab</string>
  338. </property>
  339. </widget>
  340. </widget>
  341. <widget class="QWidget" name="layoutWidget_3">
  342. <property name="geometry">
  343. <rect>
  344. <x>540</x>
  345. <y>450</y>
  346. <width>261</width>
  347. <height>71</height>
  348. </rect>
  349. </property>
  350. <layout class="QVBoxLayout" name="verticalLayout_7">
  351. <item>
  352. <layout class="QHBoxLayout" name="horizontalLayout_2">
  353. <item>
  354. <widget class="QLabel" name="label">
  355. <property name="text">
  356. <string>Threshold</string>
  357. </property>
  358. </widget>
  359. </item>
  360. <item>
  361. <widget class="QSlider" name="thresholdSlider">
  362. <property name="minimum">
  363. <number>0</number>
  364. </property>
  365. <property name="value">
  366. <number>10</number>
  367. </property>
  368. <property name="orientation">
  369. <enum>Qt::Horizontal</enum>
  370. </property>
  371. </widget>
  372. </item>
  373. </layout>
  374. </item>
  375. <item>
  376. <widget class="QCheckBox" name="ghostBox">
  377. <property name="text">
  378. <string>Ghost</string>
  379. </property>
  380. </widget>
  381. </item>
  382. </layout>
  383. </widget>
  384. <widget class="QPushButton" name="btnSaveImage">
  385. <property name="geometry">
  386. <rect>
  387. <x>540</x>
  388. <y>530</y>
  389. <width>259</width>
  390. <height>31</height>
  391. </rect>
  392. </property>
  393. <property name="styleSheet">
  394. <string notr="true"/>
  395. </property>
  396. <property name="text">
  397. <string>Save Merged Image</string>
  398. </property>
  399. </widget>
  400. <zorder>layoutWidget</zorder>
  401. <zorder>layoutWidget</zorder>
  402. <zorder>verticalLayoutWidget</zorder>
  403. <zorder>verticalLayoutWidget_2</zorder>
  404. <zorder>verticalLayoutWidget_3</zorder>
  405. <zorder>LogoFrame</zorder>
  406. <zorder>btnSelectImage</zorder>
  407. <zorder>btnSelectBackground</zorder>
  408. <zorder>btnMergeImages</zorder>
  409. <zorder>Banner</zorder>
  410. <zorder>layoutWidget_3</zorder>
  411. <zorder>btnSaveImage</zorder>
  412. </widget>
  413. <widget class="QMenuBar" name="menuBar">
  414. <property name="geometry">
  415. <rect>
  416. <x>0</x>
  417. <y>0</y>
  418. <width>810</width>
  419. <height>25</height>
  420. </rect>
  421. </property>
  422. </widget>
  423. </widget>
  424. <layoutdefault spacing="6" margin="11"/>
  425. <customwidgets>
  426. <customwidget>
  427. <class>ClickableLabel</class>
  428. <extends>QLabel</extends>
  429. <header location="global">ClickableLabel.h</header>
  430. </customwidget>
  431. </customwidgets>
  432. <resources/>
  433. <connections/>
  434. </ui>