123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434 |
- <?xml version="1.0" encoding="UTF-8"?>
- <ui version="4.0">
- <class>MainWindow</class>
- <widget class="QMainWindow" name="MainWindow">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>810</width>
- <height>595</height>
- </rect>
- </property>
- <property name="minimumSize">
- <size>
- <width>800</width>
- <height>400</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>1500</width>
- <height>600</height>
- </size>
- </property>
- <property name="windowTitle">
- <string>MainWindow</string>
- </property>
- <widget class="QWidget" name="centralWidget">
- <property name="minimumSize">
- <size>
- <width>1271</width>
- <height>0</height>
- </size>
- </property>
- <widget class="QWidget" name="verticalLayoutWidget">
- <property name="geometry">
- <rect>
- <x>10</x>
- <y>120</y>
- <width>262</width>
- <height>321</height>
- </rect>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout">
- <item>
- <widget class="ClickableLabel" name="lblOriginalImage">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>260</width>
- <height>260</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>350</width>
- <height>350</height>
- </size>
- </property>
- <property name="mouseTracking">
- <bool>false</bool>
- </property>
- <property name="frameShape">
- <enum>QFrame::Box</enum>
- </property>
- <property name="frameShadow">
- <enum>QFrame::Sunken</enum>
- </property>
- <property name="text">
- <string/>
- </property>
- <property name="scaledContents">
- <bool>true</bool>
- </property>
- <property name="buddy">
- <cstring>btnSelectImage</cstring>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- <widget class="QWidget" name="verticalLayoutWidget_2">
- <property name="geometry">
- <rect>
- <x>270</x>
- <y>120</y>
- <width>262</width>
- <height>321</height>
- </rect>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout_2">
- <item>
- <widget class="ClickableLabel" name="lblBackgroundImage">
- <property name="enabled">
- <bool>true</bool>
- </property>
- <property name="minimumSize">
- <size>
- <width>260</width>
- <height>260</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>350</width>
- <height>350</height>
- </size>
- </property>
- <property name="mouseTracking">
- <bool>false</bool>
- </property>
- <property name="frameShape">
- <enum>QFrame::Box</enum>
- </property>
- <property name="frameShadow">
- <enum>QFrame::Sunken</enum>
- </property>
- <property name="text">
- <string/>
- </property>
- <property name="scaledContents">
- <bool>true</bool>
- </property>
- <property name="buddy">
- <cstring>btnSelectBackground</cstring>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- <widget class="QWidget" name="verticalLayoutWidget_3">
- <property name="geometry">
- <rect>
- <x>530</x>
- <y>120</y>
- <width>262</width>
- <height>321</height>
- </rect>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout_3">
- <item>
- <widget class="QLabel" name="lblMergedImage">
- <property name="enabled">
- <bool>true</bool>
- </property>
- <property name="minimumSize">
- <size>
- <width>260</width>
- <height>200</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>350</width>
- <height>350</height>
- </size>
- </property>
- <property name="frameShape">
- <enum>QFrame::Box</enum>
- </property>
- <property name="frameShadow">
- <enum>QFrame::Sunken</enum>
- </property>
- <property name="text">
- <string/>
- </property>
- <property name="scaledContents">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- <widget class="QWidget" name="layoutWidget1">
- <property name="geometry">
- <rect>
- <x>20</x>
- <y>450</y>
- <width>251</width>
- <height>42</height>
- </rect>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout_4">
- <item>
- <widget class="QLabel" name="origCoord">
- <property name="text">
- <string>Selected Coord: (0,0)</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLabel" name="origSize">
- <property name="text">
- <string>Original Image Size: 0x0</string>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- <widget class="QWidget" name="layoutWidget">
- <property name="geometry">
- <rect>
- <x>280</x>
- <y>450</y>
- <width>251</width>
- <height>42</height>
- </rect>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout_5">
- <item>
- <widget class="QLabel" name="backCoord">
- <property name="enabled">
- <bool>true</bool>
- </property>
- <property name="text">
- <string>Selected Coord: (0, 0)</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLabel" name="bgSize">
- <property name="text">
- <string>Original Image Size: 0x0</string>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- <widget class="QFrame" name="LogoFrame">
- <property name="geometry">
- <rect>
- <x>20</x>
- <y>500</y>
- <width>201</width>
- <height>61</height>
- </rect>
- </property>
- <property name="styleSheet">
- <string notr="true"/>
- </property>
- <property name="frameShape">
- <enum>QFrame::StyledPanel</enum>
- </property>
- <property name="frameShadow">
- <enum>QFrame::Raised</enum>
- </property>
- </widget>
- <widget class="QPushButton" name="btnSelectImage">
- <property name="geometry">
- <rect>
- <x>10</x>
- <y>70</y>
- <width>251</width>
- <height>41</height>
- </rect>
- </property>
- <property name="styleSheet">
- <string notr="true"/>
- </property>
- <property name="text">
- <string>Select Image</string>
- </property>
- </widget>
- <widget class="QPushButton" name="btnSelectBackground">
- <property name="geometry">
- <rect>
- <x>270</x>
- <y>70</y>
- <width>251</width>
- <height>41</height>
- </rect>
- </property>
- <property name="styleSheet">
- <string notr="true"/>
- </property>
- <property name="text">
- <string>Select Background Image</string>
- </property>
- </widget>
- <widget class="QPushButton" name="btnMergeImages">
- <property name="geometry">
- <rect>
- <x>530</x>
- <y>70</y>
- <width>270</width>
- <height>41</height>
- </rect>
- </property>
- <property name="styleSheet">
- <string notr="true"/>
- </property>
- <property name="text">
- <string>Merge Images</string>
- </property>
- </widget>
- <widget class="QFrame" name="Banner">
- <property name="geometry">
- <rect>
- <x>-10</x>
- <y>-30</y>
- <width>861</width>
- <height>91</height>
- </rect>
- </property>
- <property name="styleSheet">
- <string notr="true"/>
- </property>
- <property name="frameShape">
- <enum>QFrame::StyledPanel</enum>
- </property>
- <property name="frameShadow">
- <enum>QFrame::Raised</enum>
- </property>
- <widget class="QLabel" name="HeaderLabel">
- <property name="geometry">
- <rect>
- <x>250</x>
- <y>20</y>
- <width>271</width>
- <height>61</height>
- </rect>
- </property>
- <property name="font">
- <font>
- <pointsize>25</pointsize>
- </font>
- </property>
- <property name="styleSheet">
- <string notr="true"/>
- </property>
- <property name="text">
- <string>Green Screen Lab</string>
- </property>
- </widget>
- </widget>
- <widget class="QWidget" name="layoutWidget_3">
- <property name="geometry">
- <rect>
- <x>540</x>
- <y>450</y>
- <width>261</width>
- <height>71</height>
- </rect>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout_7">
- <item>
- <layout class="QHBoxLayout" name="horizontalLayout_2">
- <item>
- <widget class="QLabel" name="label">
- <property name="text">
- <string>Threshold</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QSlider" name="thresholdSlider">
- <property name="minimum">
- <number>0</number>
- </property>
- <property name="value">
- <number>10</number>
- </property>
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item>
- <widget class="QCheckBox" name="ghostBox">
- <property name="text">
- <string>Ghost</string>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- <widget class="QPushButton" name="btnSaveImage">
- <property name="geometry">
- <rect>
- <x>540</x>
- <y>530</y>
- <width>259</width>
- <height>31</height>
- </rect>
- </property>
- <property name="styleSheet">
- <string notr="true"/>
- </property>
- <property name="text">
- <string>Save Merged Image</string>
- </property>
- </widget>
- <zorder>layoutWidget</zorder>
- <zorder>layoutWidget</zorder>
- <zorder>verticalLayoutWidget</zorder>
- <zorder>verticalLayoutWidget_2</zorder>
- <zorder>verticalLayoutWidget_3</zorder>
- <zorder>LogoFrame</zorder>
- <zorder>btnSelectImage</zorder>
- <zorder>btnSelectBackground</zorder>
- <zorder>btnMergeImages</zorder>
- <zorder>Banner</zorder>
- <zorder>layoutWidget_3</zorder>
- <zorder>btnSaveImage</zorder>
- </widget>
- <widget class="QMenuBar" name="menuBar">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>810</width>
- <height>25</height>
- </rect>
- </property>
- </widget>
- </widget>
- <layoutdefault spacing="6" margin="11"/>
- <customwidgets>
- <customwidget>
- <class>ClickableLabel</class>
- <extends>QLabel</extends>
- <header location="global">ClickableLabel.h</header>
- </customwidget>
- </customwidgets>
- <resources/>
- <connections/>
- </ui>
|