<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>FormSerialPortSettingDialog</class> <widget class="QDialog" name="FormSerialPortSettingDialog"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>665</width> <height>320</height> </rect> </property> <property name="windowTitle"> <string>Dialog</string> </property> <widget class="QWidget" name="w_bg" native="true"> <property name="geometry"> <rect> <x>7</x> <y>6</y> <width>651</width> <height>310</height> </rect> </property> <widget class="QLabel" name="label_3"> <property name="geometry"> <rect> <x>30</x> <y>20</y> <width>69</width> <height>19</height> </rect> </property> <property name="text"> <string>串口类型</string> </property> <property name="buddy"> <cstring>cb_type</cstring> </property> </widget> <widget class="QLabel" name="label_9"> <property name="geometry"> <rect> <x>341</x> <y>102</y> <width>69</width> <height>19</height> </rect> </property> <property name="text"> <string>停止位</string> </property> <property name="buddy"> <cstring>cb_stop</cstring> </property> </widget> <widget class="QDialogButtonBox" name="buttonBox"> <property name="geometry"> <rect> <x>280</x> <y>243</y> <width>341</width> <height>32</height> </rect> </property> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> </widget> <widget class="QLabel" name="label_11"> <property name="geometry"> <rect> <x>30</x> <y>183</y> <width>91</width> <height>19</height> </rect> </property> <property name="text"> <string>响应超时</string> </property> <property name="buddy"> <cstring>delay_timeout</cstring> </property> </widget> <widget class="QLabel" name="label_7"> <property name="geometry"> <rect> <x>30</x> <y>140</y> <width>69</width> <height>19</height> </rect> </property> <property name="text"> <string>数据位</string> </property> <property name="buddy"> <cstring>cb_data</cstring> </property> </widget> <widget class="QLabel" name="label_8"> <property name="geometry"> <rect> <x>340</x> <y>140</y> <width>69</width> <height>19</height> </rect> </property> <property name="text"> <string>校验位</string> </property> <property name="buddy"> <cstring>cb_parity</cstring> </property> </widget> <widget class="QLabel" name="label_5"> <property name="geometry"> <rect> <x>30</x> <y>60</y> <width>69</width> <height>19</height> </rect> </property> <property name="text"> <string>串口号</string> </property> </widget> <widget class="QComboBox" name="cb_stop"> <property name="geometry"> <rect> <x>421</x> <y>102</y> <width>201</width> <height>25</height> </rect> </property> </widget> <widget class="QComboBox" name="cb_data"> <property name="geometry"> <rect> <x>110</x> <y>140</y> <width>181</width> <height>25</height> </rect> </property> </widget> <widget class="QLabel" name="label_14"> <property name="geometry"> <rect> <x>230</x> <y>184</y> <width>41</width> <height>19</height> </rect> </property> <property name="font"> <font> <pointsize>12</pointsize> </font> </property> <property name="text"> <string>ms</string> </property> </widget> <widget class="QLabel" name="label_6"> <property name="geometry"> <rect> <x>30</x> <y>101</y> <width>69</width> <height>19</height> </rect> </property> <property name="text"> <string>波特率</string> </property> <property name="buddy"> <cstring>cb_baund</cstring> </property> </widget> <widget class="QLineEdit" name="delay_timeout"> <property name="geometry"> <rect> <x>110</x> <y>181</y> <width>113</width> <height>30</height> </rect> </property> </widget> <widget class="QComboBox" name="cb_type"> <property name="geometry"> <rect> <x>110</x> <y>20</y> <width>181</width> <height>25</height> </rect> </property> </widget> <widget class="QComboBox" name="cb_parity"> <property name="geometry"> <rect> <x>420</x> <y>140</y> <width>201</width> <height>25</height> </rect> </property> </widget> <widget class="QLineEdit" name="slave_id"> <property name="geometry"> <rect> <x>420</x> <y>20</y> <width>201</width> <height>30</height> </rect> </property> </widget> <widget class="QComboBox" name="cb_serialport"> <property name="geometry"> <rect> <x>110</x> <y>60</y> <width>511</width> <height>25</height> </rect> </property> </widget> <widget class="QLabel" name="label_4"> <property name="geometry"> <rect> <x>340</x> <y>20</y> <width>69</width> <height>19</height> </rect> </property> <property name="text"> <string>从机地址</string> </property> <property name="buddy"> <cstring>slave_id</cstring> </property> </widget> <widget class="QComboBox" name="cb_baund"> <property name="geometry"> <rect> <x>110</x> <y>101</y> <width>181</width> <height>25</height> </rect> </property> </widget> <widget class="QLabel" name="label_15"> <property name="geometry"> <rect> <x>540</x> <y>183</y> <width>41</width> <height>20</height> </rect> </property> <property name="font"> <font> <pointsize>12</pointsize> </font> </property> <property name="text"> <string>s</string> </property> </widget> <widget class="QLineEdit" name="interval"> <property name="geometry"> <rect> <x>420</x> <y>181</y> <width>113</width> <height>30</height> </rect> </property> </widget> <widget class="QLabel" name="label_12"> <property name="geometry"> <rect> <x>340</x> <y>187</y> <width>71</width> <height>19</height> </rect> </property> <property name="text"> <string>读取间隔</string> </property> <property name="buddy"> <cstring>delay_timeout</cstring> </property> </widget> </widget> </widget> <resources/> <connections/> </ui>