settingsform.ui 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>SettingsForm</class>
  4. <widget class="QWidget" name="SettingsForm">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>755</width>
  10. <height>658</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Form</string>
  15. </property>
  16. <layout class="QGridLayout" name="gridLayout">
  17. <property name="leftMargin">
  18. <number>0</number>
  19. </property>
  20. <property name="topMargin">
  21. <number>0</number>
  22. </property>
  23. <property name="rightMargin">
  24. <number>0</number>
  25. </property>
  26. <property name="bottomMargin">
  27. <number>0</number>
  28. </property>
  29. <item row="0" column="0">
  30. <widget class="QWidget" name="widget" native="true">
  31. <property name="styleSheet">
  32. <string notr="true">background-color: rgb(130, 201, 255);</string>
  33. </property>
  34. <widget class="QWidget" name="widget_2" native="true">
  35. <property name="geometry">
  36. <rect>
  37. <x>20</x>
  38. <y>20</y>
  39. <width>491</width>
  40. <height>581</height>
  41. </rect>
  42. </property>
  43. <property name="styleSheet">
  44. <string notr="true">background-color: rgb(189, 243, 255);</string>
  45. </property>
  46. <widget class="QLabel" name="label_3">
  47. <property name="geometry">
  48. <rect>
  49. <x>20</x>
  50. <y>210</y>
  51. <width>72</width>
  52. <height>15</height>
  53. </rect>
  54. </property>
  55. <property name="text">
  56. <string>服务器</string>
  57. </property>
  58. </widget>
  59. <widget class="QTextEdit" name="textEdit">
  60. <property name="geometry">
  61. <rect>
  62. <x>150</x>
  63. <y>250</y>
  64. <width>301</width>
  65. <height>171</height>
  66. </rect>
  67. </property>
  68. <property name="styleSheet">
  69. <string notr="true">background-color: rgb(255, 255, 255);</string>
  70. </property>
  71. </widget>
  72. <widget class="QLabel" name="label_2">
  73. <property name="geometry">
  74. <rect>
  75. <x>20</x>
  76. <y>70</y>
  77. <width>72</width>
  78. <height>15</height>
  79. </rect>
  80. </property>
  81. <property name="text">
  82. <string>称</string>
  83. </property>
  84. </widget>
  85. <widget class="QLabel" name="label_6">
  86. <property name="geometry">
  87. <rect>
  88. <x>150</x>
  89. <y>110</y>
  90. <width>41</width>
  91. <height>16</height>
  92. </rect>
  93. </property>
  94. <property name="text">
  95. <string>串口:</string>
  96. </property>
  97. </widget>
  98. <widget class="QComboBox" name="comboBox_2">
  99. <property name="geometry">
  100. <rect>
  101. <x>220</x>
  102. <y>70</y>
  103. <width>87</width>
  104. <height>22</height>
  105. </rect>
  106. </property>
  107. </widget>
  108. <widget class="QLabel" name="label">
  109. <property name="geometry">
  110. <rect>
  111. <x>20</x>
  112. <y>30</y>
  113. <width>72</width>
  114. <height>15</height>
  115. </rect>
  116. </property>
  117. <property name="text">
  118. <string>打印机</string>
  119. </property>
  120. </widget>
  121. <widget class="QComboBox" name="portBaudRate">
  122. <property name="geometry">
  123. <rect>
  124. <x>220</x>
  125. <y>150</y>
  126. <width>87</width>
  127. <height>22</height>
  128. </rect>
  129. </property>
  130. </widget>
  131. <widget class="QLabel" name="label_7">
  132. <property name="geometry">
  133. <rect>
  134. <x>150</x>
  135. <y>150</y>
  136. <width>61</width>
  137. <height>16</height>
  138. </rect>
  139. </property>
  140. <property name="text">
  141. <string>波特率:</string>
  142. </property>
  143. </widget>
  144. <widget class="QLineEdit" name="printerName">
  145. <property name="geometry">
  146. <rect>
  147. <x>150</x>
  148. <y>30</y>
  149. <width>301</width>
  150. <height>21</height>
  151. </rect>
  152. </property>
  153. <property name="styleSheet">
  154. <string notr="true">background-color: rgb(255, 255, 255);</string>
  155. </property>
  156. <property name="text">
  157. <string/>
  158. </property>
  159. <property name="placeholderText">
  160. <string>打印机名称</string>
  161. </property>
  162. </widget>
  163. <widget class="QComboBox" name="portName">
  164. <property name="geometry">
  165. <rect>
  166. <x>220</x>
  167. <y>110</y>
  168. <width>87</width>
  169. <height>22</height>
  170. </rect>
  171. </property>
  172. </widget>
  173. <widget class="QLineEdit" name="baseUrlLine">
  174. <property name="geometry">
  175. <rect>
  176. <x>150</x>
  177. <y>210</y>
  178. <width>301</width>
  179. <height>21</height>
  180. </rect>
  181. </property>
  182. <property name="styleSheet">
  183. <string notr="true">background-color: rgb(255, 255, 255);</string>
  184. </property>
  185. <property name="placeholderText">
  186. <string>服务器地址:例http://erp.it.cn/api</string>
  187. </property>
  188. </widget>
  189. <widget class="QPushButton" name="save_btn">
  190. <property name="geometry">
  191. <rect>
  192. <x>150</x>
  193. <y>510</y>
  194. <width>93</width>
  195. <height>28</height>
  196. </rect>
  197. </property>
  198. <property name="styleSheet">
  199. <string notr="true">background-color: rgb(130, 201, 255);</string>
  200. </property>
  201. <property name="text">
  202. <string>保存</string>
  203. </property>
  204. </widget>
  205. <widget class="QPushButton" name="back_btn">
  206. <property name="geometry">
  207. <rect>
  208. <x>360</x>
  209. <y>510</y>
  210. <width>93</width>
  211. <height>28</height>
  212. </rect>
  213. </property>
  214. <property name="styleSheet">
  215. <string notr="true">background-color: rgb(130, 201, 255);</string>
  216. </property>
  217. <property name="text">
  218. <string>返回</string>
  219. </property>
  220. </widget>
  221. <widget class="QLabel" name="label_5">
  222. <property name="geometry">
  223. <rect>
  224. <x>150</x>
  225. <y>70</y>
  226. <width>41</width>
  227. <height>16</height>
  228. </rect>
  229. </property>
  230. <property name="text">
  231. <string>类型:</string>
  232. </property>
  233. </widget>
  234. <widget class="QLabel" name="label_4">
  235. <property name="geometry">
  236. <rect>
  237. <x>20</x>
  238. <y>250</y>
  239. <width>72</width>
  240. <height>15</height>
  241. </rect>
  242. </property>
  243. <property name="text">
  244. <string>规则</string>
  245. </property>
  246. </widget>
  247. </widget>
  248. </widget>
  249. </item>
  250. </layout>
  251. </widget>
  252. <resources/>
  253. <connections/>
  254. </ui>