代码拉取完成,页面将自动刷新
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>Form</class>
<widget class="QWidget" name="Form">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>594</width>
<height>410</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<widget class="QGroupBox" name="formGroupBox">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>167</width>
<height>241</height>
</rect>
</property>
<property name="title">
<string>串口设置</string>
</property>
<layout class="QFormLayout" name="formLayout">
<property name="horizontalSpacing">
<number>10</number>
</property>
<property name="verticalSpacing">
<number>10</number>
</property>
<property name="leftMargin">
<number>10</number>
</property>
<property name="topMargin">
<number>10</number>
</property>
<property name="rightMargin">
<number>10</number>
</property>
<property name="bottomMargin">
<number>10</number>
</property>
<item row="0" column="0">
<widget class="QLabel" name="s1__lb_2">
<property name="text">
<string>串口选择:</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QComboBox" name="s1__box_2"/>
</item>
<item row="1" column="0">
<widget class="QLabel" name="s1__lb_3">
<property name="text">
<string>波特率:</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QComboBox" name="s1__box_3">
<item>
<property name="text">
<string>115200</string>
</property>
</item>
<item>
<property name="text">
<string>2400</string>
</property>
</item>
<item>
<property name="text">
<string>4800</string>
</property>
</item>
<item>
<property name="text">
<string>9600</string>
</property>
</item>
<item>
<property name="text">
<string>14400</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>76800</string>
</property>
</item>
<item>
<property name="text">
<string>12800</string>
</property>
</item>
<item>
<property name="text">
<string>230400</string>
</property>
</item>
<item>
<property name="text">
<string>460800</string>
</property>
</item>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="s1__lb_4">
<property name="text">
<string>数据位:</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QComboBox" name="s1__box_4">
<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>
</item>
<item row="3" column="0">
<widget class="QLabel" name="s1__lb_5">
<property name="text">
<string>校验位:</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QComboBox" name="s1__box_5">
<item>
<property name="text">
<string>N</string>
</property>
</item>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="s1__lb_6">
<property name="text">
<string>停止位:</string>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QComboBox" name="s1__box_6">
<item>
<property name="text">
<string>1</string>
</property>
</item>
</widget>
</item>
<item row="5" column="0">
<widget class="QPushButton" name="s1__box_1">
<property name="text">
<string>检测串口</string>
</property>
<property name="autoRepeatInterval">
<number>100</number>
</property>
<property name="default">
<bool>true</bool>
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="QPushButton" name="open_button">
<property name="text">
<string>打开串口</string>
</property>
</widget>
</item>
<item row="6" column="0" colspan="2">
<widget class="QPushButton" name="close_button">
<property name="text">
<string>关闭串口</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QGroupBox" name="verticalGroupBox">
<property name="geometry">
<rect>
<x>180</x>
<y>10</y>
<width>401</width>
<height>241</height>
</rect>
</property>
<property name="title">
<string>接受区</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="leftMargin">
<number>10</number>
</property>
<property name="topMargin">
<number>10</number>
</property>
<property name="rightMargin">
<number>10</number>
</property>
<property name="bottomMargin">
<number>10</number>
</property>
<item>
<widget class="QTextBrowser" name="s2__receive_text"/>
</item>
</layout>
</widget>
<widget class="QGroupBox" name="verticalGroupBox_2">
<property name="geometry">
<rect>
<x>180</x>
<y>260</y>
<width>321</width>
<height>101</height>
</rect>
</property>
<property name="title">
<string>发送区</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<property name="leftMargin">
<number>10</number>
</property>
<property name="topMargin">
<number>10</number>
</property>
<property name="rightMargin">
<number>10</number>
</property>
<property name="bottomMargin">
<number>10</number>
</property>
<item>
<widget class="QTextEdit" name="s3__send_text">
<property name="html">
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'SimSun'; font-size:9pt; font-weight:400; font-style:normal;">
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'SimSun';"><br /></p></body></html></string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="s3__send_button">
<property name="text">
<string>发送</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QPushButton" name="s3__clear_button">
<property name="geometry">
<rect>
<x>510</x>
<y>270</y>
<width>71</width>
<height>81</height>
</rect>
</property>
<property name="text">
<string>清除发送</string>
</property>
</widget>
<widget class="QGroupBox" name="formGroupBox">
<property name="geometry">
<rect>
<x>10</x>
<y>250</y>
<width>91</width>
<height>71</height>
</rect>
</property>
<property name="title">
<string>接收设置</string>
</property>
<layout class="QFormLayout" name="formLayout_2">
<property name="horizontalSpacing">
<number>10</number>
</property>
<property name="verticalSpacing">
<number>10</number>
</property>
<property name="leftMargin">
<number>10</number>
</property>
<property name="topMargin">
<number>10</number>
</property>
<property name="rightMargin">
<number>10</number>
</property>
<property name="bottomMargin">
<number>10</number>
</property>
<item row="0" column="0">
<widget class="QCheckBox" name="hex_receive">
<property name="text">
<string>Hex接收</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QCheckBox" name="hex_send">
<property name="text">
<string>Hex发送</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QLabel" name="state_label">
<property name="geometry">
<rect>
<x>20</x>
<y>430</y>
<width>145</width>
<height>14</height>
</rect>
</property>
<property name="text">
<string/>
</property>
<property name="textFormat">
<enum>Qt::AutoText</enum>
</property>
<property name="scaledContents">
<bool>true</bool>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QGroupBox" name="groupBox">
<property name="geometry">
<rect>
<x>10</x>
<y>320</y>
<width>161</width>
<height>81</height>
</rect>
</property>
<property name="title">
<string>发送设置</string>
</property>
<widget class="QCheckBox" name="timer_send_cb">
<property name="geometry">
<rect>
<x>10</x>
<y>20</y>
<width>71</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>定时发送</string>
</property>
</widget>
<widget class="QLabel" name="dw">
<property name="geometry">
<rect>
<x>80</x>
<y>50</y>
<width>54</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>ms/次</string>
</property>
</widget>
<widget class="QLineEdit" name="lineEdit_3">
<property name="geometry">
<rect>
<x>10</x>
<y>50</y>
<width>61</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>1000</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</widget>
<widget class="QPushButton" name="s2__clear_button">
<property name="geometry">
<rect>
<x>110</x>
<y>260</y>
<width>61</width>
<height>61</height>
</rect>
</property>
<property name="text">
<string>清空接收</string>
</property>
</widget>
<widget class="QPlainTextEdit" name="plainTextEdit">
<property name="geometry">
<rect>
<x>180</x>
<y>360</y>
<width>411</width>
<height>41</height>
</rect>
</property>
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
<widget class="QLineEdit" name="lineEdit_2">
<property name="geometry">
<rect>
<x>340</x>
<y>370</y>
<width>91</width>
<height>20</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="label_2">
<property name="geometry">
<rect>
<x>320</x>
<y>370</y>
<width>48</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>TX:</string>
</property>
</widget>
<widget class="QLineEdit" name="lineEdit">
<property name="geometry">
<rect>
<x>220</x>
<y>370</y>
<width>91</width>
<height>20</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="label">
<property name="geometry">
<rect>
<x>190</x>
<y>370</y>
<width>48</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>RX:</string>
</property>
</widget>
<widget class="QLabel" name="label_3">
<property name="geometry">
<rect>
<x>500</x>
<y>370</y>
<width>81</width>
<height>16</height>
</rect>
</property>
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="cursor">
<cursorShape>ForbiddenCursor</cursorShape>
</property>
<property name="text">
<string>@later V1.0</string>
</property>
</widget>
<zorder>verticalGroupBox</zorder>
<zorder>verticalGroupBox_2</zorder>
<zorder>formGroupBox</zorder>
<zorder>s3__clear_button</zorder>
<zorder>formGroupBox</zorder>
<zorder>state_label</zorder>
<zorder>groupBox</zorder>
<zorder>s2__clear_button</zorder>
<zorder>plainTextEdit</zorder>
<zorder>lineEdit_2</zorder>
<zorder>label_2</zorder>
<zorder>lineEdit</zorder>
<zorder>label</zorder>
<zorder>label_3</zorder>
</widget>
<resources/>
<connections/>
</ui>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。