代码拉取完成,页面将自动刷新
同步操作将从 RyanChuang/QT串口调试助手_可动态检测串口 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>Serial</class>
<widget class="QMainWindow" name="Serial">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1030</width>
<height>650</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>1030</width>
<height>650</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>1030</width>
<height>650</height>
</size>
</property>
<property name="windowTitle">
<string>Serial</string>
</property>
<property name="layoutDirection">
<enum>Qt::LeftToRight</enum>
</property>
<property name="styleSheet">
<string notr="true">QMainWindow{
background-color: rgb(245, 245, 245);
}
</string>
</property>
<widget class="QWidget" name="centralwidget">
<widget class="QGroupBox" name="groupBox">
<property name="geometry">
<rect>
<x>20</x>
<y>20</y>
<width>341</width>
<height>381</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">QGroupBox{
background-color: rgb(240, 240, 240);
border-width:2px;
border-style:solid;
border-radius: 10px;
border-color:rgb(207, 207, 207);
margin-top:0ex;
}
QGroupBox::title{
subcontrol-origin:margin;
subcontrol-position:top left;
left:10px;
margin-left:0px;
padding:0 1px;
}</string>
</property>
<property name="title">
<string/>
</property>
<widget class="QComboBox" name="portBox">
<property name="geometry">
<rect>
<x>140</x>
<y>20</y>
<width>181</width>
<height>41</height>
</rect>
</property>
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">QComboBox{background-color: rgb(225, 225, 225);border:2px groove gray;border-radius:4px;padding:2px 4px;border-style: outset;}
QComboBox:hover{background-color:rgb(229, 241, 251); color: black;}
QComboBox:pressed{background-color:rgb(204, 228, 247);border-style: inset;};</string>
</property>
</widget>
<widget class="QComboBox" name="baudRateBox">
<property name="geometry">
<rect>
<x>140</x>
<y>80</y>
<width>181</width>
<height>41</height>
</rect>
</property>
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">QComboBox{background-color: rgb(225, 225, 225);border:2px groove gray;border-radius:4px;padding:2px 4px;border-style: outset;}
QComboBox:hover{background-color:rgb(229, 241, 251); color: black;}
QComboBox:pressed{background-color:rgb(204, 228, 247);border-style: inset;};</string>
</property>
<item>
<property name="text">
<string>9600</string>
</property>
</item>
<item>
<property name="text">
<string>19200</string>
</property>
</item>
<item>
<property name="text">
<string>38400</string>
</property>
</item>
<item>
<property name="text">
<string>57600</string>
</property>
</item>
<item>
<property name="text">
<string>115200</string>
</property>
</item>
</widget>
<widget class="QComboBox" name="ParityBox">
<property name="geometry">
<rect>
<x>140</x>
<y>140</y>
<width>181</width>
<height>41</height>
</rect>
</property>
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">QComboBox{background-color: rgb(225, 225, 225);border:2px groove gray;border-radius:4px;padding:2px 4px;border-style: outset;}
QComboBox:hover{background-color:rgb(229, 241, 251); color: black;}
QComboBox:pressed{background-color:rgb(204, 228, 247);border-style: inset;};</string>
</property>
<item>
<property name="text">
<string>None</string>
</property>
</item>
</widget>
<widget class="QComboBox" name="DateBitsBox">
<property name="geometry">
<rect>
<x>140</x>
<y>200</y>
<width>181</width>
<height>41</height>
</rect>
</property>
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">QComboBox{background-color: rgb(225, 225, 225);border:2px groove gray;border-radius:4px;padding:2px 4px;border-style: outset;}
QComboBox:hover{background-color:rgb(229, 241, 251); color: black;}
QComboBox:pressed{background-color:rgb(204, 228, 247);border-style: inset;};</string>
</property>
<item>
<property name="text">
<string>8</string>
</property>
</item>
<item>
<property name="text">
<string>7</string>
</property>
</item>
<item>
<property name="text">
<string>6</string>
</property>
</item>
<item>
<property name="text">
<string>5</string>
</property>
</item>
</widget>
<widget class="QComboBox" name="stopBitsBox">
<property name="geometry">
<rect>
<x>140</x>
<y>260</y>
<width>181</width>
<height>41</height>
</rect>
</property>
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">QComboBox{border:2px groove gray;border-radius:4px;padding:2px 4px;background-color: rgb(225, 225, 225);}
QComboBox:hover{background-color:rgb(229, 241, 251); color: black;}
QComboBox:pressed{background-color:rgb(204, 228, 247);border-style: inset;}</string>
</property>
<item>
<property name="text">
<string>1</string>
</property>
</item>
<item>
<property name="text">
<string>2</string>
</property>
</item>
</widget>
<widget class="QPushButton" name="openButton">
<property name="geometry">
<rect>
<x>140</x>
<y>320</y>
<width>181</width>
<height>41</height>
</rect>
</property>
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">QPushButton{background-color: rgb(225, 225, 225);border:1px groove gray;border-radius:4px;padding:1px 4px;border-style: outset;}
QPushButton:hover{background-color:rgb(229, 241, 251); color: black;}
QPushButton:pressed{background-color:rgb(204, 228, 247);border-style: inset;}</string>
</property>
<property name="text">
<string>打开串口</string>
</property>
</widget>
<widget class="QLabel" name="label_1">
<property name="geometry">
<rect>
<x>20</x>
<y>20</y>
<width>91</width>
<height>51</height>
</rect>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QLabel" name="label_2">
<property name="geometry">
<rect>
<x>20</x>
<y>80</y>
<width>91</width>
<height>51</height>
</rect>
</property>
<property name="text">
<string><html><head/><body><p><span style=" font-size:12pt; font-weight:600;">波特率</span></p></body></html></string>
</property>
</widget>
<widget class="QLabel" name="label_3">
<property name="geometry">
<rect>
<x>20</x>
<y>140</y>
<width>91</width>
<height>51</height>
</rect>
</property>
<property name="text">
<string><html><head/><body><p><span style=" font-size:12pt; font-weight:600;">校验位</span></p></body></html></string>
</property>
</widget>
<widget class="QLabel" name="label_4">
<property name="geometry">
<rect>
<x>20</x>
<y>200</y>
<width>91</width>
<height>51</height>
</rect>
</property>
<property name="text">
<string><html><head/><body><p><span style=" font-size:12pt; font-weight:600;">数据位</span></p></body></html></string>
</property>
</widget>
<widget class="QLabel" name="label_5">
<property name="geometry">
<rect>
<x>20</x>
<y>260</y>
<width>91</width>
<height>51</height>
</rect>
</property>
<property name="text">
<string><html><head/><body><p><span style=" font-size:12pt; font-weight:600;">停止位</span></p></body></html></string>
</property>
</widget>
<widget class="QLabel" name="label_6">
<property name="geometry">
<rect>
<x>20</x>
<y>317</y>
<width>91</width>
<height>41</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">QComboBox{background-color: rgb(225, 225, 225);border:2px groove gray;border-radius:4px;padding:2px 4px;border-style: outset;}
QComboBox:hover{background-color:rgb(229, 241, 251); color: black;}
QComboBox:pressed{background-color:rgb(204, 228, 247);border-style: inset;};</string>
</property>
<property name="text">
<string/>
</property>
</widget>
</widget>
<widget class="QGroupBox" name="groupBox_2">
<property name="geometry">
<rect>
<x>20</x>
<y>420</y>
<width>341</width>
<height>211</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">QGroupBox{
background-color: rgb(240, 240, 240);
border-width:2px;
border-style:solid;
border-radius: 10px;
border-color:rgb(207, 207, 207);
margin-top:0ex;
}
QGroupBox::title{
subcontrol-origin:margin;
subcontrol-position:top left;
left:10px;
margin-left:0px;
padding:0 1px;
}</string>
</property>
<property name="title">
<string/>
</property>
<widget class="QPushButton" name="sendTxtButton">
<property name="geometry">
<rect>
<x>190</x>
<y>100</y>
<width>121</width>
<height>71</height>
</rect>
</property>
<property name="font">
<font>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">QPushButton{background-color: rgb(225, 225, 225);border:1px groove gray;border-radius:4px;padding:8px 25px;border-style: outset;}
QPushButton:hover{background-color:rgb(229, 241, 251); color: black;}
QPushButton:pressed{background-color:rgb(204, 228, 247);border-style: inset;}</string>
</property>
<property name="text">
<string>发送文本</string>
</property>
</widget>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>341</width>
<height>101</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="pushButton_2">
<property name="font">
<font>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">QPushButton{background-color: rgb(225, 225, 225);border:1px groove gray;border-radius:4px;padding:8px 15px;border-style: outset;}
QPushButton:hover{background-color:rgb(229, 241, 251); color: black;}
QPushButton:pressed{background-color:rgb(204, 228, 247);border-style: inset;}</string>
</property>
<property name="text">
<string>清空接收区</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="pushButton_3">
<property name="font">
<font>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">QPushButton{background-color: rgb(225, 225, 225);border:1px groove gray;border-radius:4px;padding:8px 25px;border-style: outset;}
QPushButton:hover{background-color:rgb(229, 241, 251); color: black;}
QPushButton:pressed{background-color:rgb(204, 228, 247);border-style: inset;}</string>
</property>
<property name="text">
<string>暂停显示</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_3">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>30</x>
<y>90</y>
<width>191</width>
<height>91</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QCheckBox" name="checkBox">
<property name="font">
<font>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="text">
<string>自动清空</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="checkBoxHex">
<property name="font">
<font>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="text">
<string>十六进制显示</string>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
<widget class="QGroupBox" name="groupBox_3">
<property name="geometry">
<rect>
<x>380</x>
<y>20</y>
<width>631</width>
<height>381</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">QGroupBox{
background-color: rgb(255, 255, 255);
border-width:2px;
border-radius: 10px;
border-color:rgb(221, 221, 221);
margin-top: 0ex;
}
QGroupBox::title{
subcontrol-origin:margin;
subcontrol-position:top left;
left:10px;
margin-left:0px;
padding:0 1px;
}</string>
</property>
<property name="title">
<string/>
</property>
<widget class="QTextBrowser" name="textBrowser">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>631</width>
<height>381</height>
</rect>
</property>
<property name="font">
<font>
<family>宋体</family>
<pointsize>9</pointsize>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">border: 1px solid gray;/*设置边框的粗细,以及颜色*/
border-radius: 10px;/*设置圆角的大小*/
padding: 0 8px;/*如果没有内容光标在开始往后移动0.8像素点*/
selection-background-color: darkgray;
</string>
</property>
</widget>
</widget>
<widget class="QGroupBox" name="groupBox_4">
<property name="geometry">
<rect>
<x>380</x>
<y>420</y>
<width>631</width>
<height>211</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">QGroupBox{
background-color: rgb(255, 255, 255);
border-width:2px;
border-radius: 10px;
border-color:rgb(221, 221, 221);
margin-top:0.5ex;
}
QGroupBox::title{
subcontrol-origin:margin;
subcontrol-position:top left;
left:10px;
margin-left:0px;
padding:0 1px;
}</string>
</property>
<property name="title">
<string/>
</property>
<widget class="QTextEdit" name="textEdit">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>631</width>
<height>211</height>
</rect>
</property>
<property name="font">
<font>
<family>Arial</family>
<pointsize>10</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">border: 1px solid gray;/*设置边框的粗细,以及颜色*/
border-radius: 10px;/*设置圆角的大小*/
padding: 0 8px;/*如果没有内容光标在开始往后移动0.8像素点*/
selection-background-color: darkgray;
</string>
</property>
</widget>
</widget>
</widget>
<action name="actionhh">
<property name="text">
<string>第一</string>
</property>
</action>
</widget>
<resources/>
<connections/>
</ui>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。