Ai
1 Star 2 Fork 5

觉皇/WINUSB_PC_Test

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
mainwindow.ui 5.70 KB
一键复制 编辑 原始数据 按行查看 历史
觉皇 提交于 2023-06-04 21:26 +08:00 . 首次提交
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainWindow</class>
<widget class="QMainWindow" name="MainWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>888</width>
<height>712</height>
</rect>
</property>
<property name="windowTitle">
<string>MainWindow</string>
</property>
<widget class="QWidget" name="centralWidget">
<layout class="QGridLayout" name="gridLayout_4">
<item row="2" column="0">
<widget class="QCheckBox" name="chkBoxHexRecv">
<property name="text">
<string>HEX接收</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item row="1" column="0" colspan="3">
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>接收</string>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="0">
<widget class="QTextEdit" name="te_recv"/>
</item>
</layout>
</widget>
</item>
<item row="3" column="0" colspan="3">
<widget class="QGroupBox" name="groupBox_3">
<property name="title">
<string>发送</string>
</property>
<layout class="QGridLayout" name="gridLayout_3">
<item row="2" column="0">
<widget class="QCheckBox" name="chkBoxHexSend">
<property name="text">
<string>HEX发送</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item row="2" column="2">
<widget class="QPushButton" name="pb_send">
<property name="text">
<string>发送</string>
</property>
</widget>
</item>
<item row="2" column="3">
<widget class="QPushButton" name="btnClearSend">
<property name="text">
<string>清除发送</string>
</property>
</widget>
</item>
<item row="1" column="0" colspan="4">
<widget class="QTextEdit" name="te_send">
<property name="html">
<string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'SimSun'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'SimSun';&quot;&gt;C4 E3 BA C3 &lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="2" column="2">
<widget class="QPushButton" name="btnClearRecv">
<property name="text">
<string>清除接收</string>
</property>
</widget>
</item>
<item row="0" column="0" colspan="3">
<widget class="QGroupBox" name="groupBox_2">
<property name="title">
<string>设置</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>VID</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="le_vid">
<property name="text">
<string>49745</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="0" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QLabel" name="label_2">
<property name="text">
<string>PID</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="le_pid">
<property name="text">
<string>61440</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="0" column="2">
<widget class="QPushButton" name="pb_open">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>打开</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<widget class="QMenuBar" name="menuBar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>888</width>
<height>26</height>
</rect>
</property>
</widget>
</widget>
<layoutdefault spacing="6" margin="11"/>
<resources/>
<connections>
<connection>
<sender>btnClearRecv</sender>
<signal>clicked()</signal>
<receiver>te_recv</receiver>
<slot>clear()</slot>
<hints>
<hint type="sourcelabel">
<x>260</x>
<y>408</y>
</hint>
<hint type="destinationlabel">
<x>247</x>
<y>293</y>
</hint>
</hints>
</connection>
<connection>
<sender>btnClearSend</sender>
<signal>clicked()</signal>
<receiver>te_send</receiver>
<slot>clear()</slot>
<hints>
<hint type="sourcelabel">
<x>646</x>
<y>409</y>
</hint>
<hint type="destinationlabel">
<x>647</x>
<y>489</y>
</hint>
</hints>
</connection>
</connections>
</ui>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/jhembed/WINUSB_PC_Test.git
git@gitee.com:jhembed/WINUSB_PC_Test.git
jhembed
WINUSB_PC_Test
WINUSB_PC_Test
main

搜索帮助