123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227 |
- <?xml version="1.0" encoding="UTF-8"?>
- <ui version="4.0">
- <class>MainWindow</class>
- <widget class="QMainWindow" name="MainWindow">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>1086</width>
- <height>750</height>
- </rect>
- </property>
- <property name="font">
- <font>
- <family>微软雅黑</family>
- <pointsize>14</pointsize>
- </font>
- </property>
- <property name="windowTitle">
- <string>串口调试器V1.0</string>
- </property>
- <widget class="QWidget" name="centralwidget">
- <property name="font">
- <font>
- <family>微软雅黑</family>
- <pointsize>12</pointsize>
- </font>
- </property>
- <layout class="QGridLayout" name="gridLayout_3">
- <item row="0" column="0">
- <widget class="QSplitter" name="splitter_left_right">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <widget class="QWidget" name="">
- <layout class="QVBoxLayout" name="verticalLayout_2">
- <item>
- <widget class="QGroupBox" name="groupBox_setting">
- <property name="title">
- <string>串口设置</string>
- </property>
- <layout class="QGridLayout" name="gridLayout">
- <item row="0" column="0">
- <widget class="QLabel" name="label_port">
- <property name="text">
- <string>串口号</string>
- </property>
- </widget>
- </item>
- <item row="0" column="1">
- <widget class="QComboBox" name="comboBox_port"/>
- </item>
- <item row="1" column="0">
- <widget class="QLabel" name="label_baud">
- <property name="text">
- <string>波特率</string>
- </property>
- </widget>
- </item>
- <item row="1" column="1">
- <widget class="QComboBox" name="comboBox_baud"/>
- </item>
- <item row="2" column="0">
- <widget class="QLabel" name="label_databit">
- <property name="text">
- <string>数据位</string>
- </property>
- </widget>
- </item>
- <item row="2" column="1">
- <widget class="QComboBox" name="comboBox_databit"/>
- </item>
- <item row="3" column="0">
- <widget class="QLabel" name="label_stopbit">
- <property name="text">
- <string>停止位</string>
- </property>
- </widget>
- </item>
- <item row="3" column="1">
- <widget class="QComboBox" name="comboBox_stopbit"/>
- </item>
- <item row="4" column="0">
- <widget class="QLabel" name="label_parity">
- <property name="text">
- <string>校验位</string>
- </property>
- </widget>
- </item>
- <item row="4" column="1">
- <widget class="QComboBox" name="comboBox_parity"/>
- </item>
- <item row="5" column="0" colspan="2">
- <widget class="QPushButton" name="pushButton_open">
- <property name="text">
- <string>打开</string>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <widget class="QGroupBox" name="groupBox_option">
- <property name="baseSize">
- <size>
- <width>10</width>
- <height>0</height>
- </size>
- </property>
- <property name="title">
- <string>选项</string>
- </property>
- <layout class="QGridLayout" name="gridLayout_2">
- <item row="0" column="0" colspan="2">
- <widget class="QCheckBox" name="checkBox_hex">
- <property name="text">
- <string>hex模式</string>
- </property>
- </widget>
- </item>
- <item row="1" column="0" colspan="2">
- <widget class="QCheckBox" name="checkBox_timestamp">
- <property name="text">
- <string>显示时间戳</string>
- </property>
- </widget>
- </item>
- <item row="2" column="0" colspan="2">
- <widget class="QCheckBox" name="checkBox_autoline">
- <property name="text">
- <string>接收区自动换行</string>
- </property>
- </widget>
- </item>
- <item row="3" column="0" colspan="2">
- <widget class="QCheckBox" name="checkBox_autosend">
- <property name="text">
- <string>循环发送</string>
- </property>
- </widget>
- </item>
- <item row="4" column="0">
- <widget class="QLabel" name="label_time">
- <property name="text">
- <string>定时(ms)</string>
- </property>
- </widget>
- </item>
- <item row="4" column="1">
- <widget class="QLineEdit" name="lineEdit_time">
- <property name="minimumSize">
- <size>
- <width>133</width>
- <height>20</height>
- </size>
- </property>
- <property name="baseSize">
- <size>
- <width>12</width>
- <height>0</height>
- </size>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- </layout>
- </widget>
- <widget class="QSplitter" name="splitter_top_bot">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- <widget class="QTextBrowser" name="textBrowser"/>
- <widget class="QWidget" name="">
- <layout class="QVBoxLayout" name="verticalLayout">
- <item>
- <layout class="QHBoxLayout" name="horizontalLayout">
- <item>
- <widget class="QPushButton" name="pushButton_clean_recv">
- <property name="text">
- <string>清除接收区</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="pushButton_clean_send">
- <property name="text">
- <string>清除发送区</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="pushButton_send">
- <property name="text">
- <string>发送</string>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item>
- <widget class="QTextEdit" name="textEdit"/>
- </item>
- </layout>
- </widget>
- </widget>
- </widget>
- </item>
- </layout>
- </widget>
- <widget class="QMenuBar" name="menubar">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>1086</width>
- <height>31</height>
- </rect>
- </property>
- </widget>
- <widget class="QStatusBar" name="statusbar"/>
- </widget>
- <resources/>
- <connections/>
- </ui>
|