暂无描述

mainwindow.ui 14KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559
  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>942</width>
  10. <height>650</height>
  11. </rect>
  12. </property>
  13. <property name="minimumSize">
  14. <size>
  15. <width>800</width>
  16. <height>500</height>
  17. </size>
  18. </property>
  19. <property name="maximumSize">
  20. <size>
  21. <width>1200</width>
  22. <height>670</height>
  23. </size>
  24. </property>
  25. <property name="windowTitle">
  26. <string>MainWindow</string>
  27. </property>
  28. <widget class="QWidget" name="centralWidget">
  29. <widget class="QLabel" name="lblImage9">
  30. <property name="geometry">
  31. <rect>
  32. <x>350</x>
  33. <y>230</y>
  34. <width>100</width>
  35. <height>100</height>
  36. </rect>
  37. </property>
  38. <property name="minimumSize">
  39. <size>
  40. <width>100</width>
  41. <height>100</height>
  42. </size>
  43. </property>
  44. <property name="maximumSize">
  45. <size>
  46. <width>100</width>
  47. <height>100</height>
  48. </size>
  49. </property>
  50. <property name="styleSheet">
  51. <string notr="true">background-color: #3f3f49</string>
  52. </property>
  53. <property name="text">
  54. <string/>
  55. </property>
  56. <property name="scaledContents">
  57. <bool>true</bool>
  58. </property>
  59. </widget>
  60. <widget class="QWidget" name="layoutWidget">
  61. <property name="geometry">
  62. <rect>
  63. <x>460</x>
  64. <y>90</y>
  65. <width>461</width>
  66. <height>481</height>
  67. </rect>
  68. </property>
  69. <layout class="QVBoxLayout" name="verticalLayout_2">
  70. <item>
  71. <widget class="QLabel" name="lblFinalImage">
  72. <property name="minimumSize">
  73. <size>
  74. <width>300</width>
  75. <height>300</height>
  76. </size>
  77. </property>
  78. <property name="styleSheet">
  79. <string notr="true">background-color: #3f3f49
  80. </string>
  81. </property>
  82. <property name="text">
  83. <string/>
  84. </property>
  85. </widget>
  86. </item>
  87. </layout>
  88. </widget>
  89. <widget class="QWidget" name="layoutWidget1">
  90. <property name="geometry">
  91. <rect>
  92. <x>20</x>
  93. <y>340</y>
  94. <width>428</width>
  95. <height>236</height>
  96. </rect>
  97. </property>
  98. <property name="minimumSize">
  99. <size>
  100. <width>100</width>
  101. <height>100</height>
  102. </size>
  103. </property>
  104. <layout class="QGridLayout" name="gridLayout_2">
  105. <item row="0" column="0">
  106. <layout class="QGridLayout" name="gridLayout">
  107. <item row="1" column="1">
  108. <widget class="QLabel" name="lblImage6">
  109. <property name="minimumSize">
  110. <size>
  111. <width>100</width>
  112. <height>100</height>
  113. </size>
  114. </property>
  115. <property name="maximumSize">
  116. <size>
  117. <width>100</width>
  118. <height>100</height>
  119. </size>
  120. </property>
  121. <property name="styleSheet">
  122. <string notr="true">background-color: #3f3f49
  123. </string>
  124. </property>
  125. <property name="text">
  126. <string/>
  127. </property>
  128. <property name="scaledContents">
  129. <bool>true</bool>
  130. </property>
  131. </widget>
  132. </item>
  133. <item row="1" column="2">
  134. <widget class="QLabel" name="lblImage7">
  135. <property name="minimumSize">
  136. <size>
  137. <width>100</width>
  138. <height>100</height>
  139. </size>
  140. </property>
  141. <property name="maximumSize">
  142. <size>
  143. <width>100</width>
  144. <height>100</height>
  145. </size>
  146. </property>
  147. <property name="styleSheet">
  148. <string notr="true">background-color: #3f3f49</string>
  149. </property>
  150. <property name="text">
  151. <string/>
  152. </property>
  153. <property name="scaledContents">
  154. <bool>true</bool>
  155. </property>
  156. </widget>
  157. </item>
  158. <item row="1" column="0">
  159. <widget class="QLabel" name="lblImage5">
  160. <property name="minimumSize">
  161. <size>
  162. <width>100</width>
  163. <height>100</height>
  164. </size>
  165. </property>
  166. <property name="maximumSize">
  167. <size>
  168. <width>100</width>
  169. <height>100</height>
  170. </size>
  171. </property>
  172. <property name="styleSheet">
  173. <string notr="true">background-color: #3f3f49</string>
  174. </property>
  175. <property name="text">
  176. <string/>
  177. </property>
  178. <property name="scaledContents">
  179. <bool>true</bool>
  180. </property>
  181. </widget>
  182. </item>
  183. <item row="0" column="2">
  184. <widget class="QLabel" name="lblImage3">
  185. <property name="minimumSize">
  186. <size>
  187. <width>100</width>
  188. <height>100</height>
  189. </size>
  190. </property>
  191. <property name="maximumSize">
  192. <size>
  193. <width>100</width>
  194. <height>100</height>
  195. </size>
  196. </property>
  197. <property name="styleSheet">
  198. <string notr="true">background-color: #3f3f49</string>
  199. </property>
  200. <property name="text">
  201. <string/>
  202. </property>
  203. <property name="scaledContents">
  204. <bool>true</bool>
  205. </property>
  206. </widget>
  207. </item>
  208. <item row="0" column="3">
  209. <widget class="QLabel" name="lblImage4">
  210. <property name="minimumSize">
  211. <size>
  212. <width>100</width>
  213. <height>100</height>
  214. </size>
  215. </property>
  216. <property name="maximumSize">
  217. <size>
  218. <width>100</width>
  219. <height>100</height>
  220. </size>
  221. </property>
  222. <property name="styleSheet">
  223. <string notr="true">background-color: #3f3f49</string>
  224. </property>
  225. <property name="text">
  226. <string/>
  227. </property>
  228. <property name="scaledContents">
  229. <bool>true</bool>
  230. </property>
  231. </widget>
  232. </item>
  233. <item row="1" column="3">
  234. <widget class="QLabel" name="lblImage8">
  235. <property name="minimumSize">
  236. <size>
  237. <width>100</width>
  238. <height>100</height>
  239. </size>
  240. </property>
  241. <property name="maximumSize">
  242. <size>
  243. <width>100</width>
  244. <height>100</height>
  245. </size>
  246. </property>
  247. <property name="styleSheet">
  248. <string notr="true">background-color: #3f3f49</string>
  249. </property>
  250. <property name="text">
  251. <string/>
  252. </property>
  253. <property name="scaledContents">
  254. <bool>true</bool>
  255. </property>
  256. </widget>
  257. </item>
  258. <item row="0" column="1">
  259. <widget class="QLabel" name="lblImage2">
  260. <property name="minimumSize">
  261. <size>
  262. <width>100</width>
  263. <height>100</height>
  264. </size>
  265. </property>
  266. <property name="maximumSize">
  267. <size>
  268. <width>100</width>
  269. <height>100</height>
  270. </size>
  271. </property>
  272. <property name="styleSheet">
  273. <string notr="true">background-color: #3f3f49</string>
  274. </property>
  275. <property name="text">
  276. <string/>
  277. </property>
  278. <property name="scaledContents">
  279. <bool>true</bool>
  280. </property>
  281. </widget>
  282. </item>
  283. <item row="0" column="0">
  284. <widget class="QLabel" name="lblImage1">
  285. <property name="minimumSize">
  286. <size>
  287. <width>100</width>
  288. <height>100</height>
  289. </size>
  290. </property>
  291. <property name="maximumSize">
  292. <size>
  293. <width>100</width>
  294. <height>100</height>
  295. </size>
  296. </property>
  297. <property name="styleSheet">
  298. <string notr="true">background-color: #3f3f49</string>
  299. </property>
  300. <property name="text">
  301. <string/>
  302. </property>
  303. <property name="scaledContents">
  304. <bool>true</bool>
  305. </property>
  306. </widget>
  307. </item>
  308. </layout>
  309. </item>
  310. </layout>
  311. </widget>
  312. <widget class="QLabel" name="lblOriginalImageTitle">
  313. <property name="geometry">
  314. <rect>
  315. <x>-20</x>
  316. <y>310</y>
  317. <width>161</width>
  318. <height>31</height>
  319. </rect>
  320. </property>
  321. <property name="layoutDirection">
  322. <enum>Qt::LeftToRight</enum>
  323. </property>
  324. <property name="text">
  325. <string>Original images:</string>
  326. </property>
  327. <property name="textFormat">
  328. <enum>Qt::PlainText</enum>
  329. </property>
  330. <property name="alignment">
  331. <set>Qt::AlignCenter</set>
  332. </property>
  333. </widget>
  334. <widget class="QLabel" name="lblFinalImageTitle">
  335. <property name="geometry">
  336. <rect>
  337. <x>450</x>
  338. <y>60</y>
  339. <width>191</width>
  340. <height>31</height>
  341. </rect>
  342. </property>
  343. <property name="text">
  344. <string>Image Without Noise:</string>
  345. </property>
  346. <property name="alignment">
  347. <set>Qt::AlignCenter</set>
  348. </property>
  349. </widget>
  350. <widget class="QFrame" name="frame">
  351. <property name="geometry">
  352. <rect>
  353. <x>740</x>
  354. <y>570</y>
  355. <width>201</width>
  356. <height>61</height>
  357. </rect>
  358. </property>
  359. <property name="styleSheet">
  360. <string notr="true">background-image: url(/home/rgb/Desktop/eip/CaesarCipher/logo.png);
  361. border: 0px;
  362. </string>
  363. </property>
  364. <property name="frameShape">
  365. <enum>QFrame::StyledPanel</enum>
  366. </property>
  367. <property name="frameShadow">
  368. <enum>QFrame::Raised</enum>
  369. </property>
  370. </widget>
  371. <widget class="QLabel" name="lblFinalImageTitle_2">
  372. <property name="geometry">
  373. <rect>
  374. <x>0</x>
  375. <y>580</y>
  376. <width>751</width>
  377. <height>31</height>
  378. </rect>
  379. </property>
  380. <property name="text">
  381. <string>Program Shortcuts: Get Images (⌘O)Remove Noise from Images (⌘R) Save Image without Noise(⌘S)</string>
  382. </property>
  383. <property name="alignment">
  384. <set>Qt::AlignCenter</set>
  385. </property>
  386. </widget>
  387. <widget class="QPushButton" name="btnLoadImages">
  388. <property name="geometry">
  389. <rect>
  390. <x>10</x>
  391. <y>150</y>
  392. <width>143</width>
  393. <height>41</height>
  394. </rect>
  395. </property>
  396. <property name="styleSheet">
  397. <string notr="true">background-color: gray;
  398. border-style: outset;
  399. border-width: 2px;
  400. border-color:gray;
  401. color:white;
  402. </string>
  403. </property>
  404. <property name="text">
  405. <string>Load Images Dir</string>
  406. </property>
  407. </widget>
  408. <widget class="QPushButton" name="btnRemoveNoise">
  409. <property name="geometry">
  410. <rect>
  411. <x>10</x>
  412. <y>200</y>
  413. <width>141</width>
  414. <height>41</height>
  415. </rect>
  416. </property>
  417. <property name="styleSheet">
  418. <string notr="true">background-color: gray;
  419. border-style: outset;
  420. border-width: 2px;
  421. border-color:gray;
  422. color:white;
  423. </string>
  424. </property>
  425. <property name="text">
  426. <string>Remove Noise</string>
  427. </property>
  428. </widget>
  429. <widget class="QPushButton" name="btnSaveImage">
  430. <property name="geometry">
  431. <rect>
  432. <x>10</x>
  433. <y>250</y>
  434. <width>141</width>
  435. <height>41</height>
  436. </rect>
  437. </property>
  438. <property name="styleSheet">
  439. <string notr="true">background-color: gray;
  440. border-style: outset;
  441. border-width: 2px;
  442. border-color:gray;
  443. color:white;
  444. </string>
  445. </property>
  446. <property name="text">
  447. <string>Save Image</string>
  448. </property>
  449. </widget>
  450. <widget class="QFrame" name="frame_2">
  451. <property name="geometry">
  452. <rect>
  453. <x>-10</x>
  454. <y>-30</y>
  455. <width>961</width>
  456. <height>91</height>
  457. </rect>
  458. </property>
  459. <property name="styleSheet">
  460. <string notr="true">background-color:#c2050b
  461. ;
  462. border-color:#525662;</string>
  463. </property>
  464. <property name="frameShape">
  465. <enum>QFrame::StyledPanel</enum>
  466. </property>
  467. <property name="frameShadow">
  468. <enum>QFrame::Raised</enum>
  469. </property>
  470. <widget class="QLabel" name="old_label_2">
  471. <property name="geometry">
  472. <rect>
  473. <x>370</x>
  474. <y>40</y>
  475. <width>241</width>
  476. <height>41</height>
  477. </rect>
  478. </property>
  479. <property name="font">
  480. <font>
  481. <pointsize>25</pointsize>
  482. </font>
  483. </property>
  484. <property name="styleSheet">
  485. <string notr="true">color:#f9ffff;</string>
  486. </property>
  487. <property name="text">
  488. <string>Pesky Tourist</string>
  489. </property>
  490. </widget>
  491. </widget>
  492. <widget class="QFrame" name="LogoFrame">
  493. <property name="geometry">
  494. <rect>
  495. <x>0</x>
  496. <y>70</y>
  497. <width>201</width>
  498. <height>61</height>
  499. </rect>
  500. </property>
  501. <property name="styleSheet">
  502. <string notr="true">background-image: url(:/images/logo.png);</string>
  503. </property>
  504. <property name="frameShape">
  505. <enum>QFrame::NoFrame</enum>
  506. </property>
  507. <property name="frameShadow">
  508. <enum>QFrame::Raised</enum>
  509. </property>
  510. </widget>
  511. </widget>
  512. <widget class="QMenuBar" name="menuBar">
  513. <property name="geometry">
  514. <rect>
  515. <x>0</x>
  516. <y>0</y>
  517. <width>942</width>
  518. <height>21</height>
  519. </rect>
  520. </property>
  521. <widget class="QMenu" name="menuFile">
  522. <property name="title">
  523. <string>File</string>
  524. </property>
  525. <addaction name="actLoad_Images"/>
  526. <addaction name="actSaveImage"/>
  527. </widget>
  528. <widget class="QMenu" name="menuEdit">
  529. <property name="title">
  530. <string>Edit</string>
  531. </property>
  532. <addaction name="actRemoveNoise"/>
  533. </widget>
  534. <addaction name="menuFile"/>
  535. <addaction name="menuEdit"/>
  536. </widget>
  537. <action name="actLoad_Images">
  538. <property name="text">
  539. <string>Load Images (⌘O)</string>
  540. </property>
  541. </action>
  542. <action name="actRemoveNoise">
  543. <property name="text">
  544. <string>Remove Noise from Images (⌘R)</string>
  545. </property>
  546. </action>
  547. <action name="actSaveImage">
  548. <property name="text">
  549. <string>Save Image (⌘S)</string>
  550. </property>
  551. </action>
  552. </widget>
  553. <layoutdefault spacing="6" margin="11"/>
  554. <resources/>
  555. <connections/>
  556. </ui>