1 Star 0 Fork 13

KKY_blur / qt5-Tcp端口转发服务器

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
cdatawidget.ui 8.20 KB
一键复制 编辑 原始数据 按行查看 历史
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>CDataWidget</class>
<widget class="QWidget" name="CDataWidget">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>628</width>
<height>519</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QGridLayout" name="gridLayout_4">
<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 row="1" column="0">
<widget class="QGroupBox" name="groupBox_2">
<property name="title">
<string>通信日志</string>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<property name="leftMargin">
<number>4</number>
</property>
<property name="topMargin">
<number>4</number>
</property>
<property name="rightMargin">
<number>4</number>
</property>
<property name="bottomMargin">
<number>4</number>
</property>
<item row="0" column="0">
<widget class="QTextEdit" name="recvText">
<property name="minimumSize">
<size>
<width>440</width>
<height>200</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="2" column="0">
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>手动发送数据</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<property name="leftMargin">
<number>9</number>
</property>
<property name="topMargin">
<number>9</number>
</property>
<property name="rightMargin">
<number>9</number>
</property>
<property name="bottomMargin">
<number>9</number>
</property>
<item row="0" column="0">
<widget class="QLabel" name="label_9">
<property name="minimumSize">
<size>
<width>0</width>
<height>31</height>
</size>
</property>
<property name="text">
<string>发给服务器</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="toSvrData">
<property name="minimumSize">
<size>
<width>0</width>
<height>31</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QPushButton" name="btnSendToSvr">
<property name="enabled">
<bool>true</bool>
</property>
<property name="minimumSize">
<size>
<width>70</width>
<height>31</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>70</width>
<height>31</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">background:transparent;
background-image: url(:/icon/button-70.png);
font: 75 10pt &quot;Agency FB&quot;;</string>
</property>
<property name="text">
<string>发送</string>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_10">
<property name="minimumSize">
<size>
<width>0</width>
<height>31</height>
</size>
</property>
<property name="text">
<string>发给设备</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLineEdit" name="toDevData">
<property name="minimumSize">
<size>
<width>0</width>
<height>31</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QPushButton" name="btnSendToDevice">
<property name="enabled">
<bool>true</bool>
</property>
<property name="minimumSize">
<size>
<width>70</width>
<height>31</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>70</width>
<height>31</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">background:transparent;
background-image: url(:/icon/button-70.png);
font: 75 10pt &quot;Agency FB&quot;;</string>
</property>
<property name="text">
<string>发送</string>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="0" column="0">
<widget class="QWidget" name="widget_3" native="true">
<property name="maximumSize">
<size>
<width>16777215</width>
<height>33</height>
</size>
</property>
<layout class="QGridLayout" name="gridLayout_3">
<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 row="0" column="0">
<widget class="QLabel" name="labTitle">
<property name="minimumSize">
<size>
<width>211</width>
<height>31</height>
</size>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QRadioButton" name="ascii">
<property name="maximumSize">
<size>
<width>81</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>ASCII</string>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QRadioButton" name="hex">
<property name="maximumSize">
<size>
<width>81</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>HEX</string>
</property>
</widget>
</item>
<item row="0" column="3">
<widget class="QPushButton" name="btnClear">
<property name="enabled">
<bool>true</bool>
</property>
<property name="minimumSize">
<size>
<width>70</width>
<height>31</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>70</width>
<height>31</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">background:transparent;
background-image: url(:/icon/button-70.png);
font: 75 10pt &quot;Agency FB&quot;;</string>
</property>
<property name="text">
<string>清空▼</string>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<resources/>
<connections/>
</ui>
C++
1
https://gitee.com/kky-blur/qt5tcp_port_forwarding_server.git
git@gitee.com:kky-blur/qt5tcp_port_forwarding_server.git
kky-blur
qt5tcp_port_forwarding_server
qt5-Tcp端口转发服务器
master

搜索帮助