No Description

mainwindow.ui 5.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237
  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>546</width>
  10. <height>346</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>MainWindow</string>
  15. </property>
  16. <property name="styleSheet">
  17. <string notr="true">background-color:white;
  18. </string>
  19. </property>
  20. <widget class="QWidget" name="centralWidget">
  21. <widget class="QLabel" name="PlainTextLabel">
  22. <property name="geometry">
  23. <rect>
  24. <x>40</x>
  25. <y>140</y>
  26. <width>62</width>
  27. <height>16</height>
  28. </rect>
  29. </property>
  30. <property name="styleSheet">
  31. <string notr="true">
  32. color: #979797;
  33. text-align:center;
  34. border-width: 0px;</string>
  35. </property>
  36. <property name="text">
  37. <string>Plaintext</string>
  38. </property>
  39. </widget>
  40. <widget class="QLabel" name="CypherLabel">
  41. <property name="geometry">
  42. <rect>
  43. <x>450</x>
  44. <y>140</y>
  45. <width>71</width>
  46. <height>16</height>
  47. </rect>
  48. </property>
  49. <property name="styleSheet">
  50. <string notr="true">
  51. color: #979797;
  52. text-align:center;
  53. border-width: 0px;</string>
  54. </property>
  55. <property name="text">
  56. <string>Ciphertext</string>
  57. </property>
  58. </widget>
  59. <widget class="QPushButton" name="EncodeButton">
  60. <property name="geometry">
  61. <rect>
  62. <x>170</x>
  63. <y>260</y>
  64. <width>91</width>
  65. <height>32</height>
  66. </rect>
  67. </property>
  68. <property name="styleSheet">
  69. <string notr="true">background-color: #ed1c24
  70. ;
  71. border-style: outset;
  72. border-width: 2px;
  73. border-color:#b51218;
  74. color:#f8f8f8;</string>
  75. </property>
  76. <property name="text">
  77. <string>Encode</string>
  78. </property>
  79. </widget>
  80. <widget class="QPushButton" name="DecodeButton">
  81. <property name="geometry">
  82. <rect>
  83. <x>430</x>
  84. <y>260</y>
  85. <width>91</width>
  86. <height>32</height>
  87. </rect>
  88. </property>
  89. <property name="styleSheet">
  90. <string notr="true">background-color: #ed1c24
  91. ;
  92. border-style: outset;
  93. border-width: 2px;
  94. border-color:#b51218;
  95. color:#f8f8f8;</string>
  96. </property>
  97. <property name="text">
  98. <string>Decode</string>
  99. </property>
  100. </widget>
  101. <widget class="QTextEdit" name="PlainTextTextEdit">
  102. <property name="geometry">
  103. <rect>
  104. <x>40</x>
  105. <y>160</y>
  106. <width>221</width>
  107. <height>91</height>
  108. </rect>
  109. </property>
  110. <property name="styleSheet">
  111. <string notr="true">border-width: 2px;
  112. border-color: #a6a5aa;
  113. border-style: inset;
  114. border-radius: 4px;</string>
  115. </property>
  116. </widget>
  117. <widget class="QTextEdit" name="CypherTextEdit">
  118. <property name="geometry">
  119. <rect>
  120. <x>300</x>
  121. <y>160</y>
  122. <width>221</width>
  123. <height>91</height>
  124. </rect>
  125. </property>
  126. <property name="styleSheet">
  127. <string notr="true">border-width: 2px;
  128. border-color: #a6a5aa;
  129. border-style: inset;
  130. border-radius: 4px;</string>
  131. </property>
  132. </widget>
  133. <widget class="QLabel" name="label">
  134. <property name="geometry">
  135. <rect>
  136. <x>40</x>
  137. <y>80</y>
  138. <width>71</width>
  139. <height>16</height>
  140. </rect>
  141. </property>
  142. <property name="styleSheet">
  143. <string notr="true">
  144. color: #979797;
  145. text-align:center;
  146. border-width: 0px;</string>
  147. </property>
  148. <property name="text">
  149. <string>Key word:</string>
  150. </property>
  151. </widget>
  152. <widget class="QPlainTextEdit" name="keyText">
  153. <property name="geometry">
  154. <rect>
  155. <x>40</x>
  156. <y>100</y>
  157. <width>481</width>
  158. <height>31</height>
  159. </rect>
  160. </property>
  161. <property name="styleSheet">
  162. <string notr="true">border-width: 2px;
  163. border-color: #a6a5aa;
  164. border-style: inset;
  165. border-radius: 4px;</string>
  166. </property>
  167. </widget>
  168. <widget class="QFrame" name="frame">
  169. <property name="geometry">
  170. <rect>
  171. <x>-50</x>
  172. <y>-30</y>
  173. <width>611</width>
  174. <height>91</height>
  175. </rect>
  176. </property>
  177. <property name="styleSheet">
  178. <string notr="true">background-color:#666;</string>
  179. </property>
  180. <property name="frameShape">
  181. <enum>QFrame::StyledPanel</enum>
  182. </property>
  183. <property name="frameShadow">
  184. <enum>QFrame::Raised</enum>
  185. </property>
  186. <widget class="QLabel" name="label_2">
  187. <property name="geometry">
  188. <rect>
  189. <x>210</x>
  190. <y>40</y>
  191. <width>241</width>
  192. <height>41</height>
  193. </rect>
  194. </property>
  195. <property name="font">
  196. <font>
  197. <family>Junction</family>
  198. <pointsize>22</pointsize>
  199. </font>
  200. </property>
  201. <property name="styleSheet">
  202. <string notr="true">text-align:center;
  203. border-width: 0px;
  204. color:white
  205. ;</string>
  206. </property>
  207. <property name="text">
  208. <string>Vigenere Cipher</string>
  209. </property>
  210. </widget>
  211. </widget>
  212. <widget class="QFrame" name="frame_2">
  213. <property name="geometry">
  214. <rect>
  215. <x>350</x>
  216. <y>290</y>
  217. <width>201</width>
  218. <height>61</height>
  219. </rect>
  220. </property>
  221. <property name="styleSheet">
  222. <string notr="true">background-image: url(/home/rgb/Desktop/eip/CaesarCipher/logo.png);
  223. border: 0px;</string>
  224. </property>
  225. <property name="frameShape">
  226. <enum>QFrame::StyledPanel</enum>
  227. </property>
  228. <property name="frameShadow">
  229. <enum>QFrame::Raised</enum>
  230. </property>
  231. </widget>
  232. </widget>
  233. </widget>
  234. <layoutdefault spacing="6" margin="11"/>
  235. <resources/>
  236. <connections/>
  237. </ui>