settingsform.ui 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255
  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. <item>
  108. <property name="text">
  109. <string>ModbusRTU</string>
  110. </property>
  111. </item>
  112. <item>
  113. <property name="text">
  114. <string>Tsale-ASSIC</string>
  115. </property>
  116. </item>
  117. </widget>
  118. <widget class="QLabel" name="label">
  119. <property name="geometry">
  120. <rect>
  121. <x>20</x>
  122. <y>30</y>
  123. <width>72</width>
  124. <height>15</height>
  125. </rect>
  126. </property>
  127. <property name="text">
  128. <string>打印机</string>
  129. </property>
  130. </widget>
  131. <widget class="QComboBox" name="portBaudRate">
  132. <property name="geometry">
  133. <rect>
  134. <x>220</x>
  135. <y>150</y>
  136. <width>87</width>
  137. <height>22</height>
  138. </rect>
  139. </property>
  140. </widget>
  141. <widget class="QLabel" name="label_7">
  142. <property name="geometry">
  143. <rect>
  144. <x>150</x>
  145. <y>150</y>
  146. <width>61</width>
  147. <height>16</height>
  148. </rect>
  149. </property>
  150. <property name="text">
  151. <string>波特率:</string>
  152. </property>
  153. </widget>
  154. <widget class="QComboBox" name="portName">
  155. <property name="geometry">
  156. <rect>
  157. <x>220</x>
  158. <y>110</y>
  159. <width>87</width>
  160. <height>22</height>
  161. </rect>
  162. </property>
  163. </widget>
  164. <widget class="QLineEdit" name="baseUrlLine">
  165. <property name="geometry">
  166. <rect>
  167. <x>150</x>
  168. <y>210</y>
  169. <width>301</width>
  170. <height>21</height>
  171. </rect>
  172. </property>
  173. <property name="styleSheet">
  174. <string notr="true">background-color: rgb(255, 255, 255);</string>
  175. </property>
  176. <property name="placeholderText">
  177. <string>服务器地址:例http://erp.it.cn/api</string>
  178. </property>
  179. </widget>
  180. <widget class="QPushButton" name="save_btn">
  181. <property name="geometry">
  182. <rect>
  183. <x>150</x>
  184. <y>510</y>
  185. <width>93</width>
  186. <height>28</height>
  187. </rect>
  188. </property>
  189. <property name="styleSheet">
  190. <string notr="true">background-color: rgb(130, 201, 255);</string>
  191. </property>
  192. <property name="text">
  193. <string>保存</string>
  194. </property>
  195. </widget>
  196. <widget class="QPushButton" name="back_btn">
  197. <property name="geometry">
  198. <rect>
  199. <x>360</x>
  200. <y>510</y>
  201. <width>93</width>
  202. <height>28</height>
  203. </rect>
  204. </property>
  205. <property name="styleSheet">
  206. <string notr="true">background-color: rgb(130, 201, 255);</string>
  207. </property>
  208. <property name="text">
  209. <string>返回</string>
  210. </property>
  211. </widget>
  212. <widget class="QLabel" name="label_5">
  213. <property name="geometry">
  214. <rect>
  215. <x>150</x>
  216. <y>70</y>
  217. <width>41</width>
  218. <height>16</height>
  219. </rect>
  220. </property>
  221. <property name="text">
  222. <string>类型:</string>
  223. </property>
  224. </widget>
  225. <widget class="QLabel" name="label_4">
  226. <property name="geometry">
  227. <rect>
  228. <x>20</x>
  229. <y>250</y>
  230. <width>72</width>
  231. <height>15</height>
  232. </rect>
  233. </property>
  234. <property name="text">
  235. <string>规则</string>
  236. </property>
  237. </widget>
  238. <widget class="QComboBox" name="printerName">
  239. <property name="geometry">
  240. <rect>
  241. <x>150</x>
  242. <y>20</y>
  243. <width>301</width>
  244. <height>32</height>
  245. </rect>
  246. </property>
  247. </widget>
  248. </widget>
  249. </widget>
  250. </item>
  251. </layout>
  252. </widget>
  253. <resources/>
  254. <connections/>
  255. </ui>