加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
mywindow.ui 5.57 KB
一键复制 编辑 原始数据 按行查看 历史
沉默的云 提交于 2024-12-12 15:28 . HEX display
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MyWindow</class>
<widget class="QMainWindow" name="MyWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>734</width>
<height>301</height>
</rect>
</property>
<property name="windowTitle">
<string>PCB板调试工具</string>
</property>
<widget class="QWidget" name="centralwidget">
<widget class="QPushButton" name="openButton">
<property name="geometry">
<rect>
<x>40</x>
<y>220</y>
<width>111</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>打开串口</string>
</property>
</widget>
<widget class="QComboBox" name="cbx_port">
<property name="geometry">
<rect>
<x>60</x>
<y>20</y>
<width>91</width>
<height>22</height>
</rect>
</property>
</widget>
<widget class="QComboBox" name="cbx_rate">
<property name="geometry">
<rect>
<x>60</x>
<y>60</y>
<width>91</width>
<height>22</height>
</rect>
</property>
</widget>
<widget class="QComboBox" name="cbx_data">
<property name="geometry">
<rect>
<x>60</x>
<y>100</y>
<width>91</width>
<height>22</height>
</rect>
</property>
</widget>
<widget class="QComboBox" name="cbx_stop">
<property name="geometry">
<rect>
<x>60</x>
<y>140</y>
<width>91</width>
<height>22</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="label">
<property name="geometry">
<rect>
<x>10</x>
<y>20</y>
<width>53</width>
<height>15</height>
</rect>
</property>
<property name="text">
<string>串口号:</string>
</property>
</widget>
<widget class="QLabel" name="label_2">
<property name="geometry">
<rect>
<x>10</x>
<y>60</y>
<width>53</width>
<height>15</height>
</rect>
</property>
<property name="text">
<string>波特率:</string>
</property>
</widget>
<widget class="QLabel" name="label_3">
<property name="geometry">
<rect>
<x>10</x>
<y>100</y>
<width>53</width>
<height>15</height>
</rect>
</property>
<property name="text">
<string>数据位:</string>
</property>
</widget>
<widget class="QLabel" name="label_4">
<property name="geometry">
<rect>
<x>10</x>
<y>140</y>
<width>53</width>
<height>15</height>
</rect>
</property>
<property name="text">
<string>停止位:</string>
</property>
</widget>
<widget class="QComboBox" name="cbx_check">
<property name="geometry">
<rect>
<x>60</x>
<y>180</y>
<width>91</width>
<height>22</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="label_5">
<property name="geometry">
<rect>
<x>10</x>
<y>180</y>
<width>53</width>
<height>15</height>
</rect>
</property>
<property name="text">
<string>校验位:</string>
</property>
</widget>
<widget class="QTextEdit" name="showEdit">
<property name="geometry">
<rect>
<x>170</x>
<y>20</y>
<width>431</width>
<height>191</height>
</rect>
</property>
</widget>
<widget class="QPushButton" name="sendButton">
<property name="geometry">
<rect>
<x>620</x>
<y>210</y>
<width>101</width>
<height>41</height>
</rect>
</property>
<property name="text">
<string>发送</string>
</property>
</widget>
<widget class="QTextEdit" name="sendEdit">
<property name="geometry">
<rect>
<x>170</x>
<y>220</y>
<width>431</width>
<height>31</height>
</rect>
</property>
</widget>
<widget class="QPushButton" name="regButton">
<property name="geometry">
<rect>
<x>620</x>
<y>60</y>
<width>101</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>注册</string>
</property>
</widget>
<widget class="QPushButton" name="readidButton">
<property name="geometry">
<rect>
<x>620</x>
<y>100</y>
<width>101</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>读取UID</string>
</property>
</widget>
<widget class="QCheckBox" name="checkBox_show">
<property name="geometry">
<rect>
<x>630</x>
<y>30</y>
<width>80</width>
<height>19</height>
</rect>
</property>
<property name="text">
<string>HEX显示</string>
</property>
</widget>
<widget class="QCheckBox" name="checkBox_send">
<property name="geometry">
<rect>
<x>630</x>
<y>180</y>
<width>80</width>
<height>19</height>
</rect>
</property>
<property name="text">
<string>HEX发送</string>
</property>
</widget>
<widget class="QPushButton" name="clearButton">
<property name="geometry">
<rect>
<x>620</x>
<y>140</y>
<width>101</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>清除显示</string>
</property>
</widget>
</widget>
<widget class="QMenuBar" name="menubar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>734</width>
<height>21</height>
</rect>
</property>
</widget>
<widget class="QStatusBar" name="statusbar"/>
</widget>
<resources/>
<connections/>
</ui>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化