2019-09-29 05:13:01 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<ui version="4.0">
|
|
|
|
<class>frmUdpServer</class>
|
|
|
|
<widget class="QWidget" name="frmUdpServer">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
|
|
|
<width>800</width>
|
|
|
|
<height>600</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="windowTitle">
|
|
|
|
<string>Form</string>
|
|
|
|
</property>
|
|
|
|
<layout class="QGridLayout" name="gridLayout">
|
2021-01-24 08:04:48 +00:00
|
|
|
<property name="leftMargin">
|
|
|
|
<number>6</number>
|
|
|
|
</property>
|
|
|
|
<property name="topMargin">
|
|
|
|
<number>6</number>
|
|
|
|
</property>
|
|
|
|
<property name="rightMargin">
|
|
|
|
<number>6</number>
|
|
|
|
</property>
|
|
|
|
<property name="bottomMargin">
|
|
|
|
<number>6</number>
|
|
|
|
</property>
|
2019-09-29 05:13:01 +00:00
|
|
|
<item row="0" column="0">
|
|
|
|
<widget class="QTextEdit" name="txtMain">
|
|
|
|
<property name="readOnly">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="0" column="1" rowspan="2">
|
|
|
|
<widget class="QFrame" name="frame">
|
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>170</width>
|
|
|
|
<height>0</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="maximumSize">
|
|
|
|
<size>
|
|
|
|
<width>170</width>
|
|
|
|
<height>16777215</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="frameShape">
|
|
|
|
<enum>QFrame::Box</enum>
|
|
|
|
</property>
|
|
|
|
<property name="frameShadow">
|
|
|
|
<enum>QFrame::Sunken</enum>
|
|
|
|
</property>
|
2019-12-05 08:01:43 +00:00
|
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
2021-01-24 08:04:48 +00:00
|
|
|
<property name="leftMargin">
|
|
|
|
<number>6</number>
|
|
|
|
</property>
|
|
|
|
<property name="topMargin">
|
|
|
|
<number>6</number>
|
|
|
|
</property>
|
|
|
|
<property name="rightMargin">
|
|
|
|
<number>6</number>
|
|
|
|
</property>
|
|
|
|
<property name="bottomMargin">
|
|
|
|
<number>6</number>
|
|
|
|
</property>
|
2019-09-29 05:13:01 +00:00
|
|
|
<item>
|
|
|
|
<widget class="QCheckBox" name="ckHexReceive">
|
|
|
|
<property name="text">
|
|
|
|
<string>16进制接收</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QCheckBox" name="ckHexSend">
|
|
|
|
<property name="text">
|
|
|
|
<string>16进制发送</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QCheckBox" name="ckAscii">
|
|
|
|
<property name="text">
|
2021-01-24 08:04:48 +00:00
|
|
|
<string>控制字符</string>
|
2019-09-29 05:13:01 +00:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QCheckBox" name="ckShow">
|
|
|
|
<property name="text">
|
|
|
|
<string>暂停显示</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QCheckBox" name="ckDebug">
|
|
|
|
<property name="text">
|
|
|
|
<string>模拟设备</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QCheckBox" name="ckAutoSend">
|
|
|
|
<property name="text">
|
|
|
|
<string>定时发送</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QComboBox" name="cboxInterval"/>
|
|
|
|
</item>
|
|
|
|
<item>
|
2019-12-05 08:01:43 +00:00
|
|
|
<widget class="QLabel" name="labListenIP">
|
2019-09-29 05:13:01 +00:00
|
|
|
<property name="text">
|
2019-12-05 08:01:43 +00:00
|
|
|
<string>监听地址</string>
|
2019-09-29 05:13:01 +00:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
2019-12-05 08:01:43 +00:00
|
|
|
<widget class="QComboBox" name="cboxListenIP"/>
|
2019-09-29 05:13:01 +00:00
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="labListenPort">
|
|
|
|
<property name="text">
|
|
|
|
<string>监听端口</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLineEdit" name="txtListenPort"/>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="btnListen">
|
|
|
|
<property name="text">
|
|
|
|
<string>监听</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="btnSave">
|
|
|
|
<property name="text">
|
|
|
|
<string>保存</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="btnClear">
|
|
|
|
<property name="text">
|
|
|
|
<string>清空</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
2019-12-05 08:01:43 +00:00
|
|
|
<widget class="QLabel" name="labCount">
|
|
|
|
<property name="minimumSize">
|
2019-09-29 05:13:01 +00:00
|
|
|
<size>
|
2019-12-05 08:01:43 +00:00
|
|
|
<width>0</width>
|
|
|
|
<height>25</height>
|
2019-09-29 05:13:01 +00:00
|
|
|
</size>
|
|
|
|
</property>
|
2019-12-05 08:01:43 +00:00
|
|
|
<property name="frameShape">
|
|
|
|
<enum>QFrame::Box</enum>
|
|
|
|
</property>
|
|
|
|
<property name="frameShadow">
|
|
|
|
<enum>QFrame::Sunken</enum>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>共 0 个客户端</string>
|
|
|
|
</property>
|
|
|
|
<property name="alignment">
|
|
|
|
<set>Qt::AlignCenter</set>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QListWidget" name="listWidget"/>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QCheckBox" name="ckSelectAll">
|
|
|
|
<property name="text">
|
|
|
|
<string>对所有客户端发送</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
2019-09-29 05:13:01 +00:00
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="0">
|
|
|
|
<widget class="QWidget" name="widget" native="true">
|
|
|
|
<layout class="QHBoxLayout" name="layUdpServer">
|
|
|
|
<property name="leftMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="topMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="rightMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="bottomMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<item>
|
|
|
|
<widget class="QComboBox" name="cboxData">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Ignored" vsizetype="Fixed">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="editable">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="btnSend">
|
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>80</width>
|
|
|
|
<height>0</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="maximumSize">
|
|
|
|
<size>
|
|
|
|
<width>80</width>
|
|
|
|
<height>16777215</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>发送</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
2019-12-05 08:01:43 +00:00
|
|
|
<tabstops>
|
|
|
|
<tabstop>txtMain</tabstop>
|
|
|
|
<tabstop>ckHexReceive</tabstop>
|
|
|
|
<tabstop>ckHexSend</tabstop>
|
|
|
|
<tabstop>ckAscii</tabstop>
|
|
|
|
<tabstop>ckShow</tabstop>
|
|
|
|
<tabstop>ckDebug</tabstop>
|
|
|
|
<tabstop>ckAutoSend</tabstop>
|
|
|
|
<tabstop>cboxInterval</tabstop>
|
|
|
|
<tabstop>cboxListenIP</tabstop>
|
|
|
|
<tabstop>txtListenPort</tabstop>
|
|
|
|
<tabstop>btnListen</tabstop>
|
|
|
|
<tabstop>btnSave</tabstop>
|
|
|
|
<tabstop>btnClear</tabstop>
|
|
|
|
<tabstop>cboxData</tabstop>
|
|
|
|
<tabstop>btnSend</tabstop>
|
|
|
|
</tabstops>
|
2019-09-29 05:13:01 +00:00
|
|
|
<resources/>
|
|
|
|
<connections/>
|
|
|
|
</ui>
|