Açıklama Yok

ImageScrambler.ui 8.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>ImageScrambler</class>
  4. <widget class="QMainWindow" name="ImageScrambler">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>1023</width>
  10. <height>583</height>
  11. </rect>
  12. </property>
  13. <property name="minimumSize">
  14. <size>
  15. <width>500</width>
  16. <height>500</height>
  17. </size>
  18. </property>
  19. <property name="maximumSize">
  20. <size>
  21. <width>1100</width>
  22. <height>1000</height>
  23. </size>
  24. </property>
  25. <property name="windowTitle">
  26. <string>Image Scrambler</string>
  27. </property>
  28. <widget class="QWidget" name="centralWidget">
  29. <widget class="QWidget" name="layoutWidget">
  30. <property name="geometry">
  31. <rect>
  32. <x>241</x>
  33. <y>104</y>
  34. <width>402</width>
  35. <height>431</height>
  36. </rect>
  37. </property>
  38. <layout class="QVBoxLayout" name="verticalLayout">
  39. <item>
  40. <widget class="QLabel" name="label">
  41. <property name="text">
  42. <string>Original Image:</string>
  43. </property>
  44. <property name="alignment">
  45. <set>Qt::AlignCenter</set>
  46. </property>
  47. </widget>
  48. </item>
  49. <item>
  50. <widget class="QLabel" name="lblOriginalImage">
  51. <property name="minimumSize">
  52. <size>
  53. <width>400</width>
  54. <height>400</height>
  55. </size>
  56. </property>
  57. <property name="maximumSize">
  58. <size>
  59. <width>400</width>
  60. <height>400</height>
  61. </size>
  62. </property>
  63. <property name="frameShape">
  64. <enum>QFrame::Box</enum>
  65. </property>
  66. <property name="frameShadow">
  67. <enum>QFrame::Sunken</enum>
  68. </property>
  69. <property name="text">
  70. <string/>
  71. </property>
  72. <property name="scaledContents">
  73. <bool>true</bool>
  74. </property>
  75. </widget>
  76. </item>
  77. </layout>
  78. </widget>
  79. <widget class="QWidget" name="layoutWidget1">
  80. <property name="geometry">
  81. <rect>
  82. <x>610</x>
  83. <y>104</y>
  84. <width>402</width>
  85. <height>431</height>
  86. </rect>
  87. </property>
  88. <layout class="QVBoxLayout" name="verticalLayout_2">
  89. <item>
  90. <widget class="QLabel" name="label_2">
  91. <property name="text">
  92. <string>Encrypted Image:</string>
  93. </property>
  94. <property name="alignment">
  95. <set>Qt::AlignCenter</set>
  96. </property>
  97. </widget>
  98. </item>
  99. <item>
  100. <widget class="QLabel" name="lblScrambleImage">
  101. <property name="minimumSize">
  102. <size>
  103. <width>400</width>
  104. <height>400</height>
  105. </size>
  106. </property>
  107. <property name="maximumSize">
  108. <size>
  109. <width>400</width>
  110. <height>400</height>
  111. </size>
  112. </property>
  113. <property name="frameShape">
  114. <enum>QFrame::Box</enum>
  115. </property>
  116. <property name="frameShadow">
  117. <enum>QFrame::Sunken</enum>
  118. </property>
  119. <property name="text">
  120. <string/>
  121. </property>
  122. <property name="scaledContents">
  123. <bool>true</bool>
  124. </property>
  125. </widget>
  126. </item>
  127. </layout>
  128. </widget>
  129. <widget class="QPushButton" name="btnLoadNewImage">
  130. <property name="geometry">
  131. <rect>
  132. <x>30</x>
  133. <y>100</y>
  134. <width>184</width>
  135. <height>41</height>
  136. </rect>
  137. </property>
  138. <property name="styleSheet">
  139. <string notr="true"/>
  140. </property>
  141. <property name="text">
  142. <string>Load New Image</string>
  143. </property>
  144. </widget>
  145. <widget class="QLabel" name="label_4">
  146. <property name="geometry">
  147. <rect>
  148. <x>30</x>
  149. <y>149</y>
  150. <width>172</width>
  151. <height>18</height>
  152. </rect>
  153. </property>
  154. <property name="text">
  155. <string>Scramble depth:</string>
  156. </property>
  157. </widget>
  158. <widget class="QSpinBox" name="scrambleDepth">
  159. <property name="geometry">
  160. <rect>
  161. <x>30</x>
  162. <y>179</y>
  163. <width>181</width>
  164. <height>31</height>
  165. </rect>
  166. </property>
  167. <property name="minimum">
  168. <number>1</number>
  169. </property>
  170. <property name="maximum">
  171. <number>10</number>
  172. </property>
  173. </widget>
  174. <widget class="QFrame" name="LogoFrame">
  175. <property name="geometry">
  176. <rect>
  177. <x>20</x>
  178. <y>480</y>
  179. <width>201</width>
  180. <height>61</height>
  181. </rect>
  182. </property>
  183. <property name="styleSheet">
  184. <string notr="true"/>
  185. </property>
  186. <property name="frameShape">
  187. <enum>QFrame::StyledPanel</enum>
  188. </property>
  189. <property name="frameShadow">
  190. <enum>QFrame::Raised</enum>
  191. </property>
  192. </widget>
  193. <widget class="QPushButton" name="btnSave">
  194. <property name="geometry">
  195. <rect>
  196. <x>30</x>
  197. <y>329</y>
  198. <width>185</width>
  199. <height>41</height>
  200. </rect>
  201. </property>
  202. <property name="styleSheet">
  203. <string notr="true"/>
  204. </property>
  205. <property name="text">
  206. <string>Save Scrambled Image</string>
  207. </property>
  208. </widget>
  209. <widget class="QPushButton" name="btnDescrambleImage">
  210. <property name="geometry">
  211. <rect>
  212. <x>30</x>
  213. <y>279</y>
  214. <width>185</width>
  215. <height>41</height>
  216. </rect>
  217. </property>
  218. <property name="styleSheet">
  219. <string notr="true"/>
  220. </property>
  221. <property name="text">
  222. <string>Descramble Image</string>
  223. </property>
  224. </widget>
  225. <widget class="QPushButton" name="btnScrambleImage">
  226. <property name="geometry">
  227. <rect>
  228. <x>30</x>
  229. <y>225</y>
  230. <width>185</width>
  231. <height>41</height>
  232. </rect>
  233. </property>
  234. <property name="styleSheet">
  235. <string notr="true"/>
  236. </property>
  237. <property name="text">
  238. <string>Scramble Image</string>
  239. </property>
  240. </widget>
  241. <widget class="QLabel" name="lblFinalImageTitle_3">
  242. <property name="geometry">
  243. <rect>
  244. <x>20</x>
  245. <y>380</y>
  246. <width>201</width>
  247. <height>91</height>
  248. </rect>
  249. </property>
  250. <property name="text">
  251. <string>Program Shortcuts:
  252. Load Images (⌘O)
  253. Scramble Images (⌘E)
  254. Descramble Image (⌘D)
  255. Save Scrambled Image(⌘S)</string>
  256. </property>
  257. <property name="alignment">
  258. <set>Qt::AlignCenter</set>
  259. </property>
  260. </widget>
  261. <widget class="QFrame" name="Banner">
  262. <property name="geometry">
  263. <rect>
  264. <x>-10</x>
  265. <y>-10</y>
  266. <width>1061</width>
  267. <height>91</height>
  268. </rect>
  269. </property>
  270. <property name="styleSheet">
  271. <string notr="true"/>
  272. </property>
  273. <property name="frameShape">
  274. <enum>QFrame::StyledPanel</enum>
  275. </property>
  276. <property name="frameShadow">
  277. <enum>QFrame::Raised</enum>
  278. </property>
  279. <widget class="QLabel" name="HeaderLabel">
  280. <property name="geometry">
  281. <rect>
  282. <x>370</x>
  283. <y>20</y>
  284. <width>321</width>
  285. <height>61</height>
  286. </rect>
  287. </property>
  288. <property name="font">
  289. <font>
  290. <pointsize>25</pointsize>
  291. </font>
  292. </property>
  293. <property name="styleSheet">
  294. <string notr="true"/>
  295. </property>
  296. <property name="text">
  297. <string>Image Scrambler</string>
  298. </property>
  299. </widget>
  300. </widget>
  301. </widget>
  302. <widget class="QMenuBar" name="menuBar">
  303. <property name="geometry">
  304. <rect>
  305. <x>0</x>
  306. <y>0</y>
  307. <width>1023</width>
  308. <height>22</height>
  309. </rect>
  310. </property>
  311. <widget class="QMenu" name="menuFile">
  312. <property name="title">
  313. <string>File</string>
  314. </property>
  315. <addaction name="actionLoad_Image"/>
  316. <addaction name="actionSave_Image"/>
  317. </widget>
  318. <widget class="QMenu" name="menuEdit">
  319. <property name="title">
  320. <string>Edit</string>
  321. </property>
  322. <addaction name="actionScramble_Image"/>
  323. <addaction name="actionDescramble_Image"/>
  324. </widget>
  325. <addaction name="menuFile"/>
  326. <addaction name="menuEdit"/>
  327. </widget>
  328. <action name="actionLoad_Image">
  329. <property name="text">
  330. <string>Load Image (⌘O)</string>
  331. </property>
  332. </action>
  333. <action name="actionSave_Image">
  334. <property name="text">
  335. <string>Save Image (⌘S)</string>
  336. </property>
  337. </action>
  338. <action name="actionScramble_Image">
  339. <property name="text">
  340. <string>Encrypt Image (⌘E)</string>
  341. </property>
  342. </action>
  343. <action name="actionDescramble_Image">
  344. <property name="text">
  345. <string>Decrypt Image (⌘D)</string>
  346. </property>
  347. </action>
  348. </widget>
  349. <layoutdefault spacing="6" margin="11"/>
  350. <resources/>
  351. <connections/>
  352. </ui>