暂无描述

mainwindow.ui 6.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266
  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>1046</width>
  10. <height>551</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Simple Packet Sniffer</string>
  15. </property>
  16. <widget class="QWidget" name="centralWidget">
  17. <widget class="QPushButton" name="capture">
  18. <property name="geometry">
  19. <rect>
  20. <x>330</x>
  21. <y>439</y>
  22. <width>114</width>
  23. <height>41</height>
  24. </rect>
  25. </property>
  26. <property name="styleSheet">
  27. <string notr="true">background-color: gray;
  28. border-style: outset;
  29. border-width: 2px;
  30. border-color:gray;
  31. color:white;
  32. </string>
  33. </property>
  34. <property name="text">
  35. <string>Capture</string>
  36. </property>
  37. </widget>
  38. <widget class="QTableWidget" name="packetDisplay">
  39. <property name="geometry">
  40. <rect>
  41. <x>10</x>
  42. <y>90</y>
  43. <width>691</width>
  44. <height>191</height>
  45. </rect>
  46. </property>
  47. <property name="sizePolicy">
  48. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  49. <horstretch>0</horstretch>
  50. <verstretch>0</verstretch>
  51. </sizepolicy>
  52. </property>
  53. <property name="font">
  54. <font>
  55. <pointsize>11</pointsize>
  56. </font>
  57. </property>
  58. <property name="sizeAdjustPolicy">
  59. <enum>QAbstractScrollArea::AdjustToContents</enum>
  60. </property>
  61. <property name="rowCount">
  62. <number>0</number>
  63. </property>
  64. <attribute name="horizontalHeaderCascadingSectionResizes">
  65. <bool>false</bool>
  66. </attribute>
  67. <attribute name="horizontalHeaderDefaultSectionSize">
  68. <number>140</number>
  69. </attribute>
  70. <attribute name="horizontalHeaderMinimumSectionSize">
  71. <number>4</number>
  72. </attribute>
  73. <attribute name="horizontalHeaderStretchLastSection">
  74. <bool>false</bool>
  75. </attribute>
  76. <attribute name="verticalHeaderStretchLastSection">
  77. <bool>false</bool>
  78. </attribute>
  79. <column>
  80. <property name="text">
  81. <string>Source IP</string>
  82. </property>
  83. <property name="font">
  84. <font>
  85. <pointsize>13</pointsize>
  86. </font>
  87. </property>
  88. </column>
  89. <column>
  90. <property name="text">
  91. <string>Destination IP</string>
  92. </property>
  93. <property name="font">
  94. <font>
  95. <pointsize>13</pointsize>
  96. </font>
  97. </property>
  98. </column>
  99. <column>
  100. <property name="text">
  101. <string>Source Port</string>
  102. </property>
  103. </column>
  104. <column>
  105. <property name="text">
  106. <string>Destination Port</string>
  107. </property>
  108. </column>
  109. <column>
  110. <property name="text">
  111. <string>Protocol</string>
  112. </property>
  113. </column>
  114. </widget>
  115. <widget class="QTextEdit" name="packetSummary">
  116. <property name="geometry">
  117. <rect>
  118. <x>10</x>
  119. <y>300</y>
  120. <width>691</width>
  121. <height>121</height>
  122. </rect>
  123. </property>
  124. </widget>
  125. <widget class="QComboBox" name="selDevices">
  126. <property name="geometry">
  127. <rect>
  128. <x>180</x>
  129. <y>444</y>
  130. <width>141</width>
  131. <height>31</height>
  132. </rect>
  133. </property>
  134. </widget>
  135. <widget class="QLabel" name="label">
  136. <property name="geometry">
  137. <rect>
  138. <x>80</x>
  139. <y>449</y>
  140. <width>91</width>
  141. <height>21</height>
  142. </rect>
  143. </property>
  144. <property name="text">
  145. <string>Select Device:</string>
  146. </property>
  147. </widget>
  148. <widget class="QPushButton" name="resetButton">
  149. <property name="geometry">
  150. <rect>
  151. <x>450</x>
  152. <y>440</y>
  153. <width>114</width>
  154. <height>41</height>
  155. </rect>
  156. </property>
  157. <property name="styleSheet">
  158. <string notr="true">background-color: gray;
  159. border-style: outset;
  160. border-width: 2px;
  161. border-color:gray;
  162. color:white;
  163. </string>
  164. </property>
  165. <property name="text">
  166. <string>Reset</string>
  167. </property>
  168. </widget>
  169. <widget class="QListWidget" name="imageDisplayList">
  170. <property name="geometry">
  171. <rect>
  172. <x>710</x>
  173. <y>90</y>
  174. <width>331</width>
  175. <height>331</height>
  176. </rect>
  177. </property>
  178. </widget>
  179. <widget class="QFrame" name="frame">
  180. <property name="geometry">
  181. <rect>
  182. <x>840</x>
  183. <y>420</y>
  184. <width>201</width>
  185. <height>61</height>
  186. </rect>
  187. </property>
  188. <property name="styleSheet">
  189. <string notr="true">background-image: url(:/images/logo.png);</string>
  190. </property>
  191. <property name="frameShape">
  192. <enum>QFrame::NoFrame</enum>
  193. </property>
  194. <property name="frameShadow">
  195. <enum>QFrame::Raised</enum>
  196. </property>
  197. </widget>
  198. <widget class="QFrame" name="frame_2">
  199. <property name="geometry">
  200. <rect>
  201. <x>0</x>
  202. <y>-10</y>
  203. <width>1061</width>
  204. <height>91</height>
  205. </rect>
  206. </property>
  207. <property name="styleSheet">
  208. <string notr="true">background-color:#c2050b
  209. ;
  210. border-color:#525662;</string>
  211. </property>
  212. <property name="frameShape">
  213. <enum>QFrame::StyledPanel</enum>
  214. </property>
  215. <property name="frameShadow">
  216. <enum>QFrame::Raised</enum>
  217. </property>
  218. <widget class="QLabel" name="old_label_2">
  219. <property name="geometry">
  220. <rect>
  221. <x>405</x>
  222. <y>20</y>
  223. <width>381</width>
  224. <height>61</height>
  225. </rect>
  226. </property>
  227. <property name="font">
  228. <font>
  229. <pointsize>25</pointsize>
  230. </font>
  231. </property>
  232. <property name="styleSheet">
  233. <string notr="true">color:#f9ffff;</string>
  234. </property>
  235. <property name="text">
  236. <string>Simple Packet Sniffer</string>
  237. </property>
  238. </widget>
  239. </widget>
  240. </widget>
  241. <widget class="QMenuBar" name="menuBar">
  242. <property name="geometry">
  243. <rect>
  244. <x>0</x>
  245. <y>0</y>
  246. <width>1046</width>
  247. <height>25</height>
  248. </rect>
  249. </property>
  250. </widget>
  251. <widget class="QStatusBar" name="statusBar"/>
  252. <widget class="QToolBar" name="mainToolBar">
  253. <attribute name="toolBarArea">
  254. <enum>TopToolBarArea</enum>
  255. </attribute>
  256. <attribute name="toolBarBreak">
  257. <bool>false</bool>
  258. </attribute>
  259. </widget>
  260. </widget>
  261. <layoutdefault spacing="6" margin="11"/>
  262. <resources/>
  263. <connections/>
  264. </ui>