164 lines
3.5 KiB
Plaintext
164 lines
3.5 KiB
Plaintext
|
<?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>800</width>
|
||
|
<height>600</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<property name="windowTitle">
|
||
|
<string>MainWindow</string>
|
||
|
</property>
|
||
|
<widget class="QWidget" name="centralwidget">
|
||
|
<widget class="QLabel" name="label">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>120</x>
|
||
|
<y>160</y>
|
||
|
<width>141</width>
|
||
|
<height>51</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>接收消息</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
<widget class="QComboBox" name="portComboBox">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>10</x>
|
||
|
<y>50</y>
|
||
|
<width>87</width>
|
||
|
<height>22</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<item>
|
||
|
<property name="text">
|
||
|
<string>port1</string>
|
||
|
</property>
|
||
|
</item>
|
||
|
<item>
|
||
|
<property name="text">
|
||
|
<string>port2</string>
|
||
|
</property>
|
||
|
</item>
|
||
|
</widget>
|
||
|
<widget class="QPushButton" name="openCloseButton">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>10</x>
|
||
|
<y>110</y>
|
||
|
<width>93</width>
|
||
|
<height>28</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>PushButton</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
<widget class="QPlainTextEdit" name="receiveTextEdit">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>230</x>
|
||
|
<y>100</y>
|
||
|
<width>331</width>
|
||
|
<height>201</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
</widget>
|
||
|
<widget class="QPlainTextEdit" name="sendTextEdit">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>240</x>
|
||
|
<y>390</y>
|
||
|
<width>301</width>
|
||
|
<height>81</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
</widget>
|
||
|
<widget class="QPushButton" name="sendButton">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>670</x>
|
||
|
<y>490</y>
|
||
|
<width>93</width>
|
||
|
<height>28</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>PushButton</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
<widget class="QLabel" name="label_2">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>140</x>
|
||
|
<y>420</y>
|
||
|
<width>101</width>
|
||
|
<height>21</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>发送消息</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
<widget class="QLabel" name="label_3">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>10</x>
|
||
|
<y>80</y>
|
||
|
<width>131</width>
|
||
|
<height>21</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>打开串口/关闭串口</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
<widget class="QLabel" name="label_4">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>10</x>
|
||
|
<y>20</y>
|
||
|
<width>72</width>
|
||
|
<height>15</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>串口选择</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
<widget class="QLabel" name="label_5">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>580</x>
|
||
|
<y>500</y>
|
||
|
<width>81</width>
|
||
|
<height>21</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>开始发送</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</widget>
|
||
|
<widget class="QMenuBar" name="menubar">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>0</x>
|
||
|
<y>0</y>
|
||
|
<width>800</width>
|
||
|
<height>26</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
</widget>
|
||
|
<widget class="QStatusBar" name="statusbar"/>
|
||
|
</widget>
|
||
|
<resources/>
|
||
|
<connections/>
|
||
|
</ui>
|