mainwindow.ui 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306
  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="enabled">
  6. <bool>true</bool>
  7. </property>
  8. <property name="geometry">
  9. <rect>
  10. <x>0</x>
  11. <y>0</y>
  12. <width>699</width>
  13. <height>398</height>
  14. </rect>
  15. </property>
  16. <property name="windowTitle">
  17. <string>MainWindow</string>
  18. </property>
  19. <widget class="QWidget" name="centralWidget">
  20. <property name="enabled">
  21. <bool>true</bool>
  22. </property>
  23. <property name="sizePolicy">
  24. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  25. <horstretch>0</horstretch>
  26. <verstretch>0</verstretch>
  27. </sizepolicy>
  28. </property>
  29. <layout class="QHBoxLayout" name="horizontalLayout">
  30. <item>
  31. <layout class="QGridLayout" name="gridLayout">
  32. <item row="0" column="0">
  33. <widget class="QLabel" name="labelOrigImg">
  34. <property name="font">
  35. <font>
  36. <pointsize>12</pointsize>
  37. <weight>50</weight>
  38. <italic>true</italic>
  39. <bold>false</bold>
  40. <underline>false</underline>
  41. </font>
  42. </property>
  43. <property name="text">
  44. <string/>
  45. </property>
  46. <property name="scaledContents">
  47. <bool>true</bool>
  48. </property>
  49. </widget>
  50. </item>
  51. <item row="1" column="0">
  52. <widget class="QComboBox" name="comboBoxFilters">
  53. <item>
  54. <property name="text">
  55. <string>(No Effect Applied)</string>
  56. </property>
  57. </item>
  58. <item>
  59. <property name="text">
  60. <string>Box</string>
  61. </property>
  62. </item>
  63. <item>
  64. <property name="text">
  65. <string>Sharpening</string>
  66. </property>
  67. </item>
  68. <item>
  69. <property name="text">
  70. <string>Sobel Module</string>
  71. </property>
  72. </item>
  73. <item>
  74. <property name="text">
  75. <string>Sobel Phase</string>
  76. </property>
  77. </item>
  78. <item>
  79. <property name="text">
  80. <string>Roberts Module</string>
  81. </property>
  82. </item>
  83. <item>
  84. <property name="text">
  85. <string>Roberts Phase</string>
  86. </property>
  87. </item>
  88. <item>
  89. <property name="text">
  90. <string>Isotropic Module</string>
  91. </property>
  92. </item>
  93. <item>
  94. <property name="text">
  95. <string>Isotropic Phase</string>
  96. </property>
  97. </item>
  98. <item>
  99. <property name="text">
  100. <string>Prewitt Module</string>
  101. </property>
  102. </item>
  103. <item>
  104. <property name="text">
  105. <string>Prewitt Phase</string>
  106. </property>
  107. </item>
  108. <item>
  109. <property name="text">
  110. <string>Rank Filter</string>
  111. </property>
  112. </item>
  113. <item>
  114. <property name="text">
  115. <string>Median Filter</string>
  116. </property>
  117. </item>
  118. <item>
  119. <property name="text">
  120. <string>Nagao Matsuyama Filter</string>
  121. </property>
  122. </item>
  123. <item>
  124. <property name="text">
  125. <string>Kirsch</string>
  126. </property>
  127. </item>
  128. <item>
  129. <property name="text">
  130. <string>3/9 Filter</string>
  131. </property>
  132. </item>
  133. <item>
  134. <property name="text">
  135. <string>Gaussian Filter</string>
  136. </property>
  137. </item>
  138. <item>
  139. <property name="text">
  140. <string>DoG (Difference of Gaussians)</string>
  141. </property>
  142. </item>
  143. <item>
  144. <property name="text">
  145. <string>Laplacian Filter</string>
  146. </property>
  147. </item>
  148. <item>
  149. <property name="text">
  150. <string>Uniform Noise</string>
  151. </property>
  152. </item>
  153. <item>
  154. <property name="text">
  155. <string>Gaussian Noise</string>
  156. </property>
  157. </item>
  158. <item>
  159. <property name="text">
  160. <string>Salt and Pepper Noise</string>
  161. </property>
  162. </item>
  163. <item>
  164. <property name="text">
  165. <string>Impulse Noise</string>
  166. </property>
  167. </item>
  168. </widget>
  169. </item>
  170. <item row="1" column="1">
  171. <widget class="QPushButton" name="pushButtonOpenImg">
  172. <property name="text">
  173. <string>Open Image</string>
  174. </property>
  175. </widget>
  176. </item>
  177. <item row="0" column="1">
  178. <widget class="QLabel" name="labelFilteredImg">
  179. <property name="text">
  180. <string/>
  181. </property>
  182. <property name="scaledContents">
  183. <bool>true</bool>
  184. </property>
  185. </widget>
  186. </item>
  187. <item row="2" column="0">
  188. <widget class="QPushButton" name="pushButtonApplyFilter">
  189. <property name="text">
  190. <string>Apply Effect</string>
  191. </property>
  192. </widget>
  193. </item>
  194. <item row="2" column="1">
  195. <widget class="QPushButton" name="pushButtonSaveImg">
  196. <property name="text">
  197. <string>Save Filtered Image</string>
  198. </property>
  199. </widget>
  200. </item>
  201. </layout>
  202. </item>
  203. </layout>
  204. </widget>
  205. <widget class="QMenuBar" name="menuBar">
  206. <property name="geometry">
  207. <rect>
  208. <x>0</x>
  209. <y>0</y>
  210. <width>699</width>
  211. <height>19</height>
  212. </rect>
  213. </property>
  214. <widget class="QMenu" name="menuFile">
  215. <property name="title">
  216. <string>File</string>
  217. </property>
  218. <addaction name="actionOpen_Image"/>
  219. <addaction name="actionSave_Filtered_Image"/>
  220. <addaction name="actionExit"/>
  221. </widget>
  222. <widget class="QMenu" name="menuHelp">
  223. <property name="title">
  224. <string>Help</string>
  225. </property>
  226. <addaction name="actionAbout"/>
  227. </widget>
  228. <addaction name="menuFile"/>
  229. <addaction name="menuHelp"/>
  230. </widget>
  231. <widget class="QStatusBar" name="statusBar"/>
  232. <action name="actionOpen_Image">
  233. <property name="text">
  234. <string>Open Image</string>
  235. </property>
  236. </action>
  237. <action name="actionExit">
  238. <property name="text">
  239. <string>Exit</string>
  240. </property>
  241. </action>
  242. <action name="actionAbout">
  243. <property name="text">
  244. <string>About</string>
  245. </property>
  246. </action>
  247. <action name="actionSave_Filtered_Image">
  248. <property name="text">
  249. <string>Save Filtered Image</string>
  250. </property>
  251. </action>
  252. </widget>
  253. <layoutdefault spacing="6" margin="11"/>
  254. <resources/>
  255. <connections>
  256. <connection>
  257. <sender>actionExit</sender>
  258. <signal>triggered()</signal>
  259. <receiver>MainWindow</receiver>
  260. <slot>close()</slot>
  261. <hints>
  262. <hint type="sourcelabel">
  263. <x>-1</x>
  264. <y>-1</y>
  265. </hint>
  266. <hint type="destinationlabel">
  267. <x>199</x>
  268. <y>149</y>
  269. </hint>
  270. </hints>
  271. </connection>
  272. <connection>
  273. <sender>actionOpen_Image</sender>
  274. <signal>triggered()</signal>
  275. <receiver>pushButtonOpenImg</receiver>
  276. <slot>click()</slot>
  277. <hints>
  278. <hint type="sourcelabel">
  279. <x>-1</x>
  280. <y>-1</y>
  281. </hint>
  282. <hint type="destinationlabel">
  283. <x>520</x>
  284. <y>326</y>
  285. </hint>
  286. </hints>
  287. </connection>
  288. <connection>
  289. <sender>actionSave_Filtered_Image</sender>
  290. <signal>triggered()</signal>
  291. <receiver>pushButtonSaveImg</receiver>
  292. <slot>click()</slot>
  293. <hints>
  294. <hint type="sourcelabel">
  295. <x>-1</x>
  296. <y>-1</y>
  297. </hint>
  298. <hint type="destinationlabel">
  299. <x>520</x>
  300. <y>354</y>
  301. </hint>
  302. </hints>
  303. </connection>
  304. </connections>
  305. </ui>