tcp.ui 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>tcp</class>
  4. <widget class="QMainWindow" name="tcp">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>650</width>
  10. <height>650</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>MainWindow</string>
  15. </property>
  16. <property name="windowIcon">
  17. <iconset resource="../../icon/icon.qrc">
  18. <normaloff>:/ip-address-tag.svg</normaloff>:/ip-address-tag.svg</iconset>
  19. </property>
  20. <widget class="QWidget" name="centralwidget">
  21. <widget class="QGroupBox" name="groupBox_3">
  22. <property name="geometry">
  23. <rect>
  24. <x>10</x>
  25. <y>440</y>
  26. <width>339</width>
  27. <height>178</height>
  28. </rect>
  29. </property>
  30. <property name="title">
  31. <string>已登录用户信息:</string>
  32. </property>
  33. <property name="flat">
  34. <bool>false</bool>
  35. </property>
  36. <property name="checkable">
  37. <bool>false</bool>
  38. </property>
  39. <widget class="QTextEdit" name="usermsg">
  40. <property name="geometry">
  41. <rect>
  42. <x>14</x>
  43. <y>36</y>
  44. <width>321</width>
  45. <height>111</height>
  46. </rect>
  47. </property>
  48. <property name="styleSheet">
  49. <string notr="true"/>
  50. </property>
  51. </widget>
  52. </widget>
  53. <widget class="QGroupBox" name="groupBox">
  54. <property name="geometry">
  55. <rect>
  56. <x>0</x>
  57. <y>70</y>
  58. <width>339</width>
  59. <height>179</height>
  60. </rect>
  61. </property>
  62. <property name="mouseTracking">
  63. <bool>false</bool>
  64. </property>
  65. <property name="title">
  66. <string>接受信息:</string>
  67. </property>
  68. <widget class="QTextEdit" name="record">
  69. <property name="geometry">
  70. <rect>
  71. <x>14</x>
  72. <y>36</y>
  73. <width>321</width>
  74. <height>111</height>
  75. </rect>
  76. </property>
  77. <property name="styleSheet">
  78. <string notr="true"/>
  79. </property>
  80. </widget>
  81. </widget>
  82. <widget class="QGroupBox" name="groupBox_2">
  83. <property name="geometry">
  84. <rect>
  85. <x>0</x>
  86. <y>270</y>
  87. <width>339</width>
  88. <height>112</height>
  89. </rect>
  90. </property>
  91. <property name="maximumSize">
  92. <size>
  93. <width>16777215</width>
  94. <height>112</height>
  95. </size>
  96. </property>
  97. <property name="styleSheet">
  98. <string notr="true">font: 700 9pt &quot;Microsoft YaHei UI&quot;;</string>
  99. </property>
  100. <property name="title">
  101. <string>输入信息:</string>
  102. </property>
  103. <widget class="QTextEdit" name="msg">
  104. <property name="geometry">
  105. <rect>
  106. <x>14</x>
  107. <y>26</y>
  108. <width>321</width>
  109. <height>81</height>
  110. </rect>
  111. </property>
  112. <property name="styleSheet">
  113. <string notr="true"/>
  114. </property>
  115. </widget>
  116. </widget>
  117. <widget class="QWidget" name="widget" native="true">
  118. <property name="geometry">
  119. <rect>
  120. <x>20</x>
  121. <y>10</y>
  122. <width>306</width>
  123. <height>51</height>
  124. </rect>
  125. </property>
  126. <widget class="QLabel" name="label">
  127. <property name="geometry">
  128. <rect>
  129. <x>11</x>
  130. <y>11</y>
  131. <width>50</width>
  132. <height>20</height>
  133. </rect>
  134. </property>
  135. <property name="text">
  136. <string>端口: </string>
  137. </property>
  138. </widget>
  139. <widget class="QLineEdit" name="port">
  140. <property name="enabled">
  141. <bool>false</bool>
  142. </property>
  143. <property name="geometry">
  144. <rect>
  145. <x>68</x>
  146. <y>12</y>
  147. <width>53</width>
  148. <height>27</height>
  149. </rect>
  150. </property>
  151. <property name="styleSheet">
  152. <string notr="true"/>
  153. </property>
  154. </widget>
  155. <widget class="QPushButton" name="setListen">
  156. <property name="geometry">
  157. <rect>
  158. <x>128</x>
  159. <y>11</y>
  160. <width>80</width>
  161. <height>29</height>
  162. </rect>
  163. </property>
  164. <property name="styleSheet">
  165. <string notr="true"/>
  166. </property>
  167. <property name="text">
  168. <string>启动连接</string>
  169. </property>
  170. </widget>
  171. <widget class="QPushButton" name="disconnect">
  172. <property name="geometry">
  173. <rect>
  174. <x>215</x>
  175. <y>11</y>
  176. <width>80</width>
  177. <height>29</height>
  178. </rect>
  179. </property>
  180. <property name="styleSheet">
  181. <string notr="true"/>
  182. </property>
  183. <property name="text">
  184. <string>关闭连接</string>
  185. </property>
  186. </widget>
  187. </widget>
  188. <widget class="QPushButton" name="sendMsg">
  189. <property name="geometry">
  190. <rect>
  191. <x>260</x>
  192. <y>410</y>
  193. <width>80</width>
  194. <height>29</height>
  195. </rect>
  196. </property>
  197. <property name="styleSheet">
  198. <string notr="true"/>
  199. </property>
  200. <property name="text">
  201. <string>发送信息</string>
  202. </property>
  203. </widget>
  204. </widget>
  205. <widget class="QMenuBar" name="menubar">
  206. <property name="geometry">
  207. <rect>
  208. <x>0</x>
  209. <y>0</y>
  210. <width>650</width>
  211. <height>25</height>
  212. </rect>
  213. </property>
  214. </widget>
  215. <widget class="QStatusBar" name="statusbar"/>
  216. </widget>
  217. <resources>
  218. <include location="../../icon/icon.qrc"/>
  219. <include location="../../icon/icon.qrc"/>
  220. </resources>
  221. <connections/>
  222. </ui>