123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283 |
- <?xml version="1.0" encoding="UTF-8"?>
- <ui version="4.0">
- <class>Dialog_port</class>
- <widget class="QDialog" name="Dialog_port">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>400</width>
- <height>300</height>
- </rect>
- </property>
- <property name="windowTitle">
- <string>连接设备</string>
- </property>
- <widget class="QComboBox" name="comboBox_2">
- <property name="geometry">
- <rect>
- <x>160</x>
- <y>50</y>
- <width>101</width>
- <height>22</height>
- </rect>
- </property>
- <property name="currentIndex">
- <number>3</number>
- </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>
- <item>
- <property name="text">
- <string>57600</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>115200</string>
- </property>
- </item>
- </widget>
- <widget class="QLabel" name="label_4">
- <property name="geometry">
- <rect>
- <x>100</x>
- <y>120</y>
- <width>54</width>
- <height>12</height>
- </rect>
- </property>
- <property name="text">
- <string>停止位:</string>
- </property>
- </widget>
- <widget class="QPushButton" name="pushButton_2">
- <property name="geometry">
- <rect>
- <x>210</x>
- <y>190</y>
- <width>75</width>
- <height>23</height>
- </rect>
- </property>
- <property name="text">
- <string>取消</string>
- </property>
- </widget>
- <widget class="QLabel" name="label_5">
- <property name="geometry">
- <rect>
- <x>100</x>
- <y>150</y>
- <width>54</width>
- <height>12</height>
- </rect>
- </property>
- <property name="text">
- <string>校验位:</string>
- </property>
- </widget>
- <widget class="QComboBox" name="comboBox_4">
- <property name="geometry">
- <rect>
- <x>160</x>
- <y>110</y>
- <width>101</width>
- <height>22</height>
- </rect>
- </property>
- <item>
- <property name="text">
- <string>1</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>2</string>
- </property>
- </item>
- </widget>
- <widget class="QLabel" name="label_3">
- <property name="geometry">
- <rect>
- <x>100</x>
- <y>90</y>
- <width>54</width>
- <height>12</height>
- </rect>
- </property>
- <property name="text">
- <string>数据位:</string>
- </property>
- </widget>
- <widget class="QLabel" name="label">
- <property name="geometry">
- <rect>
- <x>100</x>
- <y>30</y>
- <width>54</width>
- <height>12</height>
- </rect>
- </property>
- <property name="text">
- <string>串口号:</string>
- </property>
- </widget>
- <widget class="QPushButton" name="pushButton">
- <property name="geometry">
- <rect>
- <x>100</x>
- <y>190</y>
- <width>75</width>
- <height>23</height>
- </rect>
- </property>
- <property name="text">
- <string>确定</string>
- </property>
- </widget>
- <widget class="QComboBox" name="comboBox">
- <property name="geometry">
- <rect>
- <x>160</x>
- <y>20</y>
- <width>101</width>
- <height>22</height>
- </rect>
- </property>
- </widget>
- <widget class="QComboBox" name="comboBox_5">
- <property name="geometry">
- <rect>
- <x>160</x>
- <y>140</y>
- <width>101</width>
- <height>22</height>
- </rect>
- </property>
- <property name="currentIndex">
- <number>0</number>
- </property>
- <item>
- <property name="text">
- <string>无校验</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>奇校验</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>偶校验</string>
- </property>
- </item>
- </widget>
- <widget class="QLabel" name="label_2">
- <property name="geometry">
- <rect>
- <x>100</x>
- <y>60</y>
- <width>54</width>
- <height>12</height>
- </rect>
- </property>
- <property name="text">
- <string>波特率:</string>
- </property>
- </widget>
- <widget class="QComboBox" name="comboBox_3">
- <property name="geometry">
- <rect>
- <x>160</x>
- <y>80</y>
- <width>101</width>
- <height>22</height>
- </rect>
- </property>
- <property name="currentIndex">
- <number>1</number>
- </property>
- <item>
- <property name="text">
- <string>7</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>8</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>9</string>
- </property>
- </item>
- </widget>
- </widget>
- <resources/>
- <connections>
- <connection>
- <sender>pushButton</sender>
- <signal>clicked()</signal>
- <receiver>Dialog_port</receiver>
- <slot>close()</slot>
- <hints>
- <hint type="sourcelabel">
- <x>137</x>
- <y>201</y>
- </hint>
- <hint type="destinationlabel">
- <x>199</x>
- <y>149</y>
- </hint>
- </hints>
- </connection>
- <connection>
- <sender>pushButton_2</sender>
- <signal>clicked()</signal>
- <receiver>Dialog_port</receiver>
- <slot>close()</slot>
- <hints>
- <hint type="sourcelabel">
- <x>247</x>
- <y>201</y>
- </hint>
- <hint type="destinationlabel">
- <x>199</x>
- <y>149</y>
- </hint>
- </hints>
- </connection>
- </connections>
- </ui>
|