1 Star 0 Fork 3

silan-wireless/PyComTool

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
later.ui 13.14 KB
一键复制 编辑 原始数据 按行查看 历史
later 提交于 2020-03-14 18:53 . Initial commit
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549
<?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>&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;-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';&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</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>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/silanwireless/PyComTool.git
[email protected]:silanwireless/PyComTool.git
silanwireless
PyComTool
PyComTool
master

搜索帮助