port.ui 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>widget</class>
  4. <widget class="QWidget" name="widget">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>400</width>
  10. <height>300</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>连接设备</string>
  15. </property>
  16. <widget class="QComboBox" name="comboBox">
  17. <property name="geometry">
  18. <rect>
  19. <x>140</x>
  20. <y>30</y>
  21. <width>101</width>
  22. <height>22</height>
  23. </rect>
  24. </property>
  25. </widget>
  26. <widget class="QLabel" name="label">
  27. <property name="geometry">
  28. <rect>
  29. <x>80</x>
  30. <y>40</y>
  31. <width>54</width>
  32. <height>12</height>
  33. </rect>
  34. </property>
  35. <property name="text">
  36. <string>串口号:</string>
  37. </property>
  38. </widget>
  39. <widget class="QLabel" name="label_2">
  40. <property name="geometry">
  41. <rect>
  42. <x>80</x>
  43. <y>70</y>
  44. <width>54</width>
  45. <height>12</height>
  46. </rect>
  47. </property>
  48. <property name="text">
  49. <string>波特率:</string>
  50. </property>
  51. </widget>
  52. <widget class="QComboBox" name="comboBox_2">
  53. <property name="geometry">
  54. <rect>
  55. <x>140</x>
  56. <y>60</y>
  57. <width>101</width>
  58. <height>22</height>
  59. </rect>
  60. </property>
  61. <item>
  62. <property name="text">
  63. <string>300</string>
  64. </property>
  65. </item>
  66. <item>
  67. <property name="text">
  68. <string>600</string>
  69. </property>
  70. </item>
  71. <item>
  72. <property name="text">
  73. <string>1200</string>
  74. </property>
  75. </item>
  76. <item>
  77. <property name="text">
  78. <string>2400</string>
  79. </property>
  80. </item>
  81. <item>
  82. <property name="text">
  83. <string>4800</string>
  84. </property>
  85. </item>
  86. <item>
  87. <property name="text">
  88. <string>9600</string>
  89. </property>
  90. </item>
  91. <item>
  92. <property name="text">
  93. <string>19200</string>
  94. </property>
  95. </item>
  96. <item>
  97. <property name="text">
  98. <string>38400</string>
  99. </property>
  100. </item>
  101. <item>
  102. <property name="text">
  103. <string>57600</string>
  104. </property>
  105. </item>
  106. </widget>
  107. <widget class="QLabel" name="label_3">
  108. <property name="geometry">
  109. <rect>
  110. <x>80</x>
  111. <y>100</y>
  112. <width>54</width>
  113. <height>12</height>
  114. </rect>
  115. </property>
  116. <property name="text">
  117. <string>数据位:</string>
  118. </property>
  119. </widget>
  120. <widget class="QComboBox" name="comboBox_3">
  121. <property name="geometry">
  122. <rect>
  123. <x>140</x>
  124. <y>90</y>
  125. <width>101</width>
  126. <height>22</height>
  127. </rect>
  128. </property>
  129. <item>
  130. <property name="text">
  131. <string>7</string>
  132. </property>
  133. </item>
  134. <item>
  135. <property name="text">
  136. <string>8</string>
  137. </property>
  138. </item>
  139. <item>
  140. <property name="text">
  141. <string>9</string>
  142. </property>
  143. </item>
  144. </widget>
  145. <widget class="QLabel" name="label_4">
  146. <property name="geometry">
  147. <rect>
  148. <x>80</x>
  149. <y>130</y>
  150. <width>54</width>
  151. <height>12</height>
  152. </rect>
  153. </property>
  154. <property name="text">
  155. <string>停止位:</string>
  156. </property>
  157. </widget>
  158. <widget class="QComboBox" name="comboBox_4">
  159. <property name="geometry">
  160. <rect>
  161. <x>140</x>
  162. <y>120</y>
  163. <width>101</width>
  164. <height>22</height>
  165. </rect>
  166. </property>
  167. <item>
  168. <property name="text">
  169. <string>1</string>
  170. </property>
  171. </item>
  172. <item>
  173. <property name="text">
  174. <string>2</string>
  175. </property>
  176. </item>
  177. </widget>
  178. <widget class="QLabel" name="label_5">
  179. <property name="geometry">
  180. <rect>
  181. <x>80</x>
  182. <y>160</y>
  183. <width>54</width>
  184. <height>12</height>
  185. </rect>
  186. </property>
  187. <property name="text">
  188. <string>校验位:</string>
  189. </property>
  190. </widget>
  191. <widget class="QComboBox" name="comboBox_5">
  192. <property name="geometry">
  193. <rect>
  194. <x>140</x>
  195. <y>150</y>
  196. <width>101</width>
  197. <height>22</height>
  198. </rect>
  199. </property>
  200. <item>
  201. <property name="text">
  202. <string>无校验</string>
  203. </property>
  204. </item>
  205. <item>
  206. <property name="text">
  207. <string>奇校验</string>
  208. </property>
  209. </item>
  210. <item>
  211. <property name="text">
  212. <string>偶校验</string>
  213. </property>
  214. </item>
  215. </widget>
  216. <widget class="QPushButton" name="pushButton">
  217. <property name="geometry">
  218. <rect>
  219. <x>80</x>
  220. <y>200</y>
  221. <width>75</width>
  222. <height>23</height>
  223. </rect>
  224. </property>
  225. <property name="text">
  226. <string>确定</string>
  227. </property>
  228. </widget>
  229. <widget class="QPushButton" name="pushButton_2">
  230. <property name="geometry">
  231. <rect>
  232. <x>190</x>
  233. <y>200</y>
  234. <width>75</width>
  235. <height>23</height>
  236. </rect>
  237. </property>
  238. <property name="text">
  239. <string>取消</string>
  240. </property>
  241. </widget>
  242. </widget>
  243. <resources/>
  244. <connections/>
  245. </ui>