123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222 |
- <?xml version="1.0" encoding="UTF-8"?>
- <ui version="4.0">
- <class>tcp</class>
- <widget class="QMainWindow" name="tcp">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>363</width>
- <height>626</height>
- </rect>
- </property>
- <property name="windowTitle">
- <string>MainWindow</string>
- </property>
- <property name="windowIcon">
- <iconset resource="../../icon/icon.qrc">
- <normaloff>:/ip-address-tag.svg</normaloff>:/ip-address-tag.svg</iconset>
- </property>
- <widget class="QWidget" name="centralwidget">
- <widget class="QGroupBox" name="groupBox_3">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>390</y>
- <width>339</width>
- <height>178</height>
- </rect>
- </property>
- <property name="title">
- <string>已登录用户信息:</string>
- </property>
- <property name="flat">
- <bool>false</bool>
- </property>
- <property name="checkable">
- <bool>false</bool>
- </property>
- <widget class="QTextEdit" name="usermsg">
- <property name="geometry">
- <rect>
- <x>14</x>
- <y>36</y>
- <width>321</width>
- <height>111</height>
- </rect>
- </property>
- <property name="styleSheet">
- <string notr="true"/>
- </property>
- </widget>
- </widget>
- <widget class="QGroupBox" name="groupBox">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>70</y>
- <width>339</width>
- <height>179</height>
- </rect>
- </property>
- <property name="mouseTracking">
- <bool>false</bool>
- </property>
- <property name="title">
- <string>接受信息:</string>
- </property>
- <widget class="QTextEdit" name="record">
- <property name="geometry">
- <rect>
- <x>14</x>
- <y>36</y>
- <width>321</width>
- <height>111</height>
- </rect>
- </property>
- <property name="styleSheet">
- <string notr="true"/>
- </property>
- </widget>
- </widget>
- <widget class="QGroupBox" name="groupBox_2">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>256</y>
- <width>339</width>
- <height>112</height>
- </rect>
- </property>
- <property name="maximumSize">
- <size>
- <width>16777215</width>
- <height>112</height>
- </size>
- </property>
- <property name="styleSheet">
- <string notr="true">font: 700 9pt "Microsoft YaHei UI";</string>
- </property>
- <property name="title">
- <string>输入信息:</string>
- </property>
- <widget class="QTextEdit" name="msg">
- <property name="geometry">
- <rect>
- <x>14</x>
- <y>26</y>
- <width>321</width>
- <height>81</height>
- </rect>
- </property>
- <property name="styleSheet">
- <string notr="true"/>
- </property>
- </widget>
- </widget>
- <widget class="QPushButton" name="sendMsg">
- <property name="geometry">
- <rect>
- <x>240</x>
- <y>380</y>
- <width>80</width>
- <height>29</height>
- </rect>
- </property>
- <property name="styleSheet">
- <string notr="true"/>
- </property>
- <property name="text">
- <string>发送信息</string>
- </property>
- </widget>
- <widget class="QWidget" name="widget" native="true">
- <property name="geometry">
- <rect>
- <x>20</x>
- <y>10</y>
- <width>306</width>
- <height>51</height>
- </rect>
- </property>
- <widget class="QLabel" name="label">
- <property name="geometry">
- <rect>
- <x>11</x>
- <y>11</y>
- <width>50</width>
- <height>20</height>
- </rect>
- </property>
- <property name="text">
- <string>端口: </string>
- </property>
- </widget>
- <widget class="QLineEdit" name="port">
- <property name="enabled">
- <bool>false</bool>
- </property>
- <property name="geometry">
- <rect>
- <x>68</x>
- <y>12</y>
- <width>53</width>
- <height>27</height>
- </rect>
- </property>
- <property name="styleSheet">
- <string notr="true"/>
- </property>
- </widget>
- <widget class="QPushButton" name="setListen">
- <property name="geometry">
- <rect>
- <x>128</x>
- <y>11</y>
- <width>80</width>
- <height>29</height>
- </rect>
- </property>
- <property name="styleSheet">
- <string notr="true"/>
- </property>
- <property name="text">
- <string>启动连接</string>
- </property>
- </widget>
- <widget class="QPushButton" name="disconnect">
- <property name="geometry">
- <rect>
- <x>215</x>
- <y>11</y>
- <width>80</width>
- <height>29</height>
- </rect>
- </property>
- <property name="styleSheet">
- <string notr="true"/>
- </property>
- <property name="text">
- <string>关闭连接</string>
- </property>
- </widget>
- </widget>
- </widget>
- <widget class="QMenuBar" name="menubar">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>363</width>
- <height>25</height>
- </rect>
- </property>
- </widget>
- <widget class="QStatusBar" name="statusbar"/>
- </widget>
- <resources>
- <include location="../../icon/icon.qrc"/>
- <include location="../../icon/icon.qrc"/>
- </resources>
- <connections/>
- </ui>
|