123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306 |
- <?xml version="1.0" encoding="UTF-8"?>
- <ui version="4.0">
- <class>MainWindow</class>
- <widget class="QMainWindow" name="MainWindow">
- <property name="enabled">
- <bool>true</bool>
- </property>
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>699</width>
- <height>398</height>
- </rect>
- </property>
- <property name="windowTitle">
- <string>MainWindow</string>
- </property>
- <widget class="QWidget" name="centralWidget">
- <property name="enabled">
- <bool>true</bool>
- </property>
- <property name="sizePolicy">
- <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <layout class="QHBoxLayout" name="horizontalLayout">
- <item>
- <layout class="QGridLayout" name="gridLayout">
- <item row="0" column="0">
- <widget class="QLabel" name="labelOrigImg">
- <property name="font">
- <font>
- <pointsize>12</pointsize>
- <weight>50</weight>
- <italic>true</italic>
- <bold>false</bold>
- <underline>false</underline>
- </font>
- </property>
- <property name="text">
- <string/>
- </property>
- <property name="scaledContents">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item row="1" column="0">
- <widget class="QComboBox" name="comboBoxFilters">
- <item>
- <property name="text">
- <string>(No Effect Applied)</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Box</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Sharpening</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Sobel Module</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Sobel Phase</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Roberts Module</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Roberts Phase</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Isotropic Module</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Isotropic Phase</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Prewitt Module</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Prewitt Phase</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Rank Filter</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Median Filter</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Nagao Matsuyama Filter</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Kirsch</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>3/9 Filter</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Gaussian Filter</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>DoG (Difference of Gaussians)</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Laplacian Filter</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Uniform Noise</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Gaussian Noise</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Salt and Pepper Noise</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Impulse Noise</string>
- </property>
- </item>
- </widget>
- </item>
- <item row="1" column="1">
- <widget class="QPushButton" name="pushButtonOpenImg">
- <property name="text">
- <string>Open Image</string>
- </property>
- </widget>
- </item>
- <item row="0" column="1">
- <widget class="QLabel" name="labelFilteredImg">
- <property name="text">
- <string/>
- </property>
- <property name="scaledContents">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item row="2" column="0">
- <widget class="QPushButton" name="pushButtonApplyFilter">
- <property name="text">
- <string>Apply Effect</string>
- </property>
- </widget>
- </item>
- <item row="2" column="1">
- <widget class="QPushButton" name="pushButtonSaveImg">
- <property name="text">
- <string>Save Filtered Image</string>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- </layout>
- </widget>
- <widget class="QMenuBar" name="menuBar">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>699</width>
- <height>19</height>
- </rect>
- </property>
- <widget class="QMenu" name="menuFile">
- <property name="title">
- <string>File</string>
- </property>
- <addaction name="actionOpen_Image"/>
- <addaction name="actionSave_Filtered_Image"/>
- <addaction name="actionExit"/>
- </widget>
- <widget class="QMenu" name="menuHelp">
- <property name="title">
- <string>Help</string>
- </property>
- <addaction name="actionAbout"/>
- </widget>
- <addaction name="menuFile"/>
- <addaction name="menuHelp"/>
- </widget>
- <widget class="QStatusBar" name="statusBar"/>
- <action name="actionOpen_Image">
- <property name="text">
- <string>Open Image</string>
- </property>
- </action>
- <action name="actionExit">
- <property name="text">
- <string>Exit</string>
- </property>
- </action>
- <action name="actionAbout">
- <property name="text">
- <string>About</string>
- </property>
- </action>
- <action name="actionSave_Filtered_Image">
- <property name="text">
- <string>Save Filtered Image</string>
- </property>
- </action>
- </widget>
- <layoutdefault spacing="6" margin="11"/>
- <resources/>
- <connections>
- <connection>
- <sender>actionExit</sender>
- <signal>triggered()</signal>
- <receiver>MainWindow</receiver>
- <slot>close()</slot>
- <hints>
- <hint type="sourcelabel">
- <x>-1</x>
- <y>-1</y>
- </hint>
- <hint type="destinationlabel">
- <x>199</x>
- <y>149</y>
- </hint>
- </hints>
- </connection>
- <connection>
- <sender>actionOpen_Image</sender>
- <signal>triggered()</signal>
- <receiver>pushButtonOpenImg</receiver>
- <slot>click()</slot>
- <hints>
- <hint type="sourcelabel">
- <x>-1</x>
- <y>-1</y>
- </hint>
- <hint type="destinationlabel">
- <x>520</x>
- <y>326</y>
- </hint>
- </hints>
- </connection>
- <connection>
- <sender>actionSave_Filtered_Image</sender>
- <signal>triggered()</signal>
- <receiver>pushButtonSaveImg</receiver>
- <slot>click()</slot>
- <hints>
- <hint type="sourcelabel">
- <x>-1</x>
- <y>-1</y>
- </hint>
- <hint type="destinationlabel">
- <x>520</x>
- <y>354</y>
- </hint>
- </hints>
- </connection>
- </connections>
- </ui>
|