Ai
1 Star 0 Fork 1

龙卷风/download_bin_tool

forked from ZX/download_bin_tool 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
mainwindow.ui 6.84 KB
一键复制 编辑 原始数据 按行查看 历史
ZX 提交于 2023-05-07 11:54 +08:00 . 串口下载bin文件工具初始化
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainWindow</class>
<widget class="QWidget" name="MainWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>800</width>
<height>600</height>
</rect>
</property>
<property name="windowTitle">
<string>MainWindow</string>
</property>
<widget class="QWidget" name="widget" native="true">
<property name="geometry">
<rect>
<x>10</x>
<y>20</y>
<width>491</width>
<height>221</height>
</rect>
</property>
<widget class="QTextEdit" name="sendMsgDisEdt">
<property name="geometry">
<rect>
<x>0</x>
<y>30</y>
<width>401</width>
<height>191</height>
</rect>
</property>
<property name="readOnly">
<bool>false</bool>
</property>
</widget>
<widget class="QPushButton" name="clearSendMsgBtn">
<property name="geometry">
<rect>
<x>410</x>
<y>30</y>
<width>75</width>
<height>24</height>
</rect>
</property>
<property name="text">
<string>清空显示</string>
</property>
</widget>
<widget class="QLabel" name="label_13">
<property name="geometry">
<rect>
<x>0</x>
<y>10</y>
<width>84</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>send message</string>
</property>
</widget>
</widget>
<widget class="QWidget" name="widget_2" native="true">
<property name="geometry">
<rect>
<x>580</x>
<y>50</y>
<width>181</width>
<height>128</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>串口选择</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QComboBox" name="portSelectCmd"/>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>波特率</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QComboBox" name="baudRateCmd"/>
</item>
<item row="2" column="0" colspan="2">
<widget class="QPushButton" name="openPortBtn">
<property name="text">
<string>打开串口</string>
</property>
</widget>
</item>
<item row="3" column="0" colspan="2">
<widget class="QPushButton" name="startDownloadBtn">
<property name="text">
<string>开始下载</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="widget_3" native="true">
<property name="geometry">
<rect>
<x>510</x>
<y>240</y>
<width>221</width>
<height>83</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>单次发送字节数</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="sendSizeEdt"/>
</item>
<item row="0" column="2">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Byte</string>
</property>
</widget>
</item>
<item row="1" column="0" alignment="Qt::AlignRight">
<widget class="QLabel" name="label_5">
<property name="text">
<string>文件大小</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLabel" name="dataSizeLab">
<property name="text">
<string>0</string>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QLabel" name="label_7">
<property name="text">
<string>Byte</string>
</property>
</widget>
</item>
<item row="2" column="0" alignment="Qt::AlignRight">
<widget class="QLabel" name="label_8">
<property name="text">
<string>已发送</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QLabel" name="hasSendSizeLab">
<property name="text">
<string>0</string>
</property>
</widget>
</item>
<item row="2" column="2">
<widget class="QLabel" name="label_10">
<property name="text">
<string>Byte</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="widget_4" native="true">
<property name="geometry">
<rect>
<x>10</x>
<y>290</y>
<width>491</width>
<height>271</height>
</rect>
</property>
<widget class="QTextEdit" name="receiveAckEdt">
<property name="geometry">
<rect>
<x>0</x>
<y>30</y>
<width>401</width>
<height>231</height>
</rect>
</property>
<property name="readOnly">
<bool>false</bool>
</property>
</widget>
<widget class="QLabel" name="label_11">
<property name="geometry">
<rect>
<x>0</x>
<y>10</y>
<width>84</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>ack message</string>
</property>
</widget>
<widget class="QPushButton" name="clearAckBtn">
<property name="geometry">
<rect>
<x>410</x>
<y>30</y>
<width>75</width>
<height>24</height>
</rect>
</property>
<property name="text">
<string>清空显示</string>
</property>
</widget>
</widget>
<widget class="QWidget" name="widget_5" native="true">
<property name="geometry">
<rect>
<x>10</x>
<y>240</y>
<width>491</width>
<height>41</height>
</rect>
</property>
<widget class="QLabel" name="label_12">
<property name="geometry">
<rect>
<x>0</x>
<y>10</y>
<width>31</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>bin</string>
</property>
</widget>
<widget class="QLineEdit" name="openFileEdt">
<property name="geometry">
<rect>
<x>30</x>
<y>10</y>
<width>371</width>
<height>21</height>
</rect>
</property>
</widget>
<widget class="QPushButton" name="openFileBtn">
<property name="geometry">
<rect>
<x>410</x>
<y>10</y>
<width>75</width>
<height>24</height>
</rect>
</property>
<property name="text">
<string>打开文件</string>
</property>
</widget>
</widget>
<widget class="QProgressBar" name="downloadingBar">
<property name="geometry">
<rect>
<x>10</x>
<y>570</y>
<width>761</width>
<height>23</height>
</rect>
</property>
<property name="value">
<number>24</number>
</property>
</widget>
</widget>
<resources/>
<connections/>
</ui>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/tornado/download_bin_tool.git
git@gitee.com:tornado/download_bin_tool.git
tornado
download_bin_tool
download_bin_tool
master

搜索帮助