- <?xml version="1.0" encoding="UTF-8"?>
- <ui version="4.0">
- <class>Widget</class>
- <widget class="QWidget" name="Widget">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>787</width>
- <height>543</height>
- </rect>
- </property>
- <property name="windowTitle">
- <string>Widget</string>
- </property>
- <widget class="QLabel" name="label">
- <property name="geometry">
- <rect>
- <x>31</x>
- <y>31</y>
- <width>30</width>
- <height>16</height>
- </rect>
- </property>
- <property name="text">
- <string>串口</string>
- </property>
- </widget>
- <widget class="QComboBox" name="comboBox_serialNum">
- <property name="geometry">
- <rect>
- <x>68</x>
- <y>31</y>
- <width>87</width>
- <height>21</height>
- </rect>
- </property>
- </widget>
- <widget class="QLabel" name="label_2">
- <property name="geometry">
- <rect>
- <x>162</x>
- <y>31</y>
- <width>45</width>
- <height>16</height>
- </rect>
- </property>
- <property name="text">
- <string>波特率</string>
- </property>
- </widget>
- <widget class="QLabel" name="label_3">
- <property name="geometry">
- <rect>
- <x>308</x>
- <y>31</y>
- <width>45</width>
- <height>16</height>
- </rect>
- </property>
- <property name="text">
- <string>数据位</string>
- </property>
- </widget>
- <widget class="QComboBox" name="comboBox_baudRate">
- <property name="geometry">
- <rect>
- <x>214</x>
- <y>31</y>
- <width>87</width>
- <height>21</height>
- </rect>
- </property>
- <item>
- <property name="text">
- <string>1200</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>19200</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>38400</string>
- </property>
- </item>
- </widget>
- <widget class="QComboBox" name="comboBox_dataBit">
- <property name="geometry">
- <rect>
- <x>360</x>
- <y>31</y>
- <width>61</width>
- <height>21</height>
- </rect>
- </property>
- <item>
- <property name="text">
- <string>5</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>6</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>7</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>8</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>NONE</string>
- </property>
- </item>
- </widget>
- <widget class="QPushButton" name="btnConnect">
- <property name="geometry">
- <rect>
- <x>480</x>
- <y>30</y>
- <width>93</width>
- <height>28</height>
- </rect>
- </property>
- <property name="text">
- <string>连接</string>
- </property>
- </widget>
- <widget class="QComboBox" name="comboBox_xiaoyan">
- <property name="geometry">
- <rect>
- <x>80</x>
- <y>70</y>
- <width>91</width>
- <height>21</height>
- </rect>
- </property>
- <item>
- <property name="text">
- <string>无校验(N)</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>奇校验(O)</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>偶校验(E)</string>
- </property>
- </item>
- </widget>
- <widget class="QLabel" name="label_7">
- <property name="geometry">
- <rect>
- <x>30</x>
- <y>70</y>
- <width>51</width>
- <height>21</height>
- </rect>
- </property>
- <property name="text">
- <string>校验位</string>
- </property>
- </widget>
- <widget class="QLabel" name="label_8">
- <property name="geometry">
- <rect>
- <x>198</x>
- <y>70</y>
- <width>45</width>
- <height>16</height>
- </rect>
- </property>
- <property name="text">
- <string>停止位</string>
- </property>
- </widget>
- <widget class="QComboBox" name="comboBox_stopBit">
- <property name="geometry">
- <rect>
- <x>250</x>
- <y>70</y>
- <width>61</width>
- <height>21</height>
- </rect>
- </property>
- <item>
- <property name="text">
- <string>1</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>2</string>
- </property>
- </item>
- </widget>
- <widget class="QLineEdit" name="lineEdit">
- <property name="geometry">
- <rect>
- <x>20</x>
- <y>150</y>
- <width>231</width>
- <height>21</height>
- </rect>
- </property>
- </widget>
- <widget class="QPushButton" name="pushWrite">
- <property name="geometry">
- <rect>
- <x>270</x>
- <y>150</y>
- <width>93</width>
- <height>28</height>
- </rect>
- </property>
- <property name="text">
- <string>发送</string>
- </property>
- </widget>
- <widget class="QTextEdit" name="textEdit">
- <property name="geometry">
- <rect>
- <x>20</x>
- <y>180</y>
- <width>251</width>
- <height>151</height>
- </rect>
- </property>
- </widget>
- </widget>
- <layoutdefault spacing="6" margin="11"/>
- <resources/>
- <connections/>
- </ui>
|