noisewidget.ui 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>NoiseWidget</class>
  4. <widget class="QWidget" name="NoiseWidget">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>362</width>
  10. <height>620</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Form</string>
  15. </property>
  16. <property name="styleSheet">
  17. <string notr="true"/>
  18. </property>
  19. <layout class="QVBoxLayout" name="verticalLayout_2">
  20. <property name="spacing">
  21. <number>24</number>
  22. </property>
  23. <property name="leftMargin">
  24. <number>0</number>
  25. </property>
  26. <property name="topMargin">
  27. <number>24</number>
  28. </property>
  29. <property name="rightMargin">
  30. <number>0</number>
  31. </property>
  32. <property name="bottomMargin">
  33. <number>0</number>
  34. </property>
  35. <item>
  36. <widget class="QWidget" name="widget" native="true">
  37. <layout class="QVBoxLayout" name="verticalLayout">
  38. <property name="spacing">
  39. <number>16</number>
  40. </property>
  41. <property name="leftMargin">
  42. <number>0</number>
  43. </property>
  44. <property name="topMargin">
  45. <number>0</number>
  46. </property>
  47. <property name="rightMargin">
  48. <number>0</number>
  49. </property>
  50. <property name="bottomMargin">
  51. <number>24</number>
  52. </property>
  53. <item>
  54. <layout class="QHBoxLayout" name="horizontalLayout_2">
  55. <property name="spacing">
  56. <number>0</number>
  57. </property>
  58. <item>
  59. <widget class="QLabel" name="label_5">
  60. <property name="text">
  61. <string>&lt;font color = #D21F21 &gt;*&lt;/font&gt;噪音服务地址:</string>
  62. </property>
  63. <property name="alignment">
  64. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  65. </property>
  66. </widget>
  67. </item>
  68. <item>
  69. <widget class="QLineEdit" name="lineEdit_serverAddr">
  70. <property name="minimumSize">
  71. <size>
  72. <width>246</width>
  73. <height>32</height>
  74. </size>
  75. </property>
  76. <property name="maximumSize">
  77. <size>
  78. <width>246</width>
  79. <height>32</height>
  80. </size>
  81. </property>
  82. </widget>
  83. </item>
  84. </layout>
  85. </item>
  86. <item>
  87. <layout class="QHBoxLayout" name="horizontalLayout_6">
  88. <property name="spacing">
  89. <number>24</number>
  90. </property>
  91. <item>
  92. <widget class="QCheckBox" name="checkBox_mainRoadEnable">
  93. <property name="text">
  94. <string>主输出开启噪音检测</string>
  95. </property>
  96. </widget>
  97. </item>
  98. <item>
  99. <widget class="QCheckBox" name="checkBox_enableNoiseDetect">
  100. <property name="text">
  101. <string>开启噪音检测服务</string>
  102. </property>
  103. </widget>
  104. </item>
  105. <item>
  106. <spacer name="horizontalSpacer_2">
  107. <property name="orientation">
  108. <enum>Qt::Horizontal</enum>
  109. </property>
  110. <property name="sizeHint" stdset="0">
  111. <size>
  112. <width>40</width>
  113. <height>20</height>
  114. </size>
  115. </property>
  116. </spacer>
  117. </item>
  118. </layout>
  119. </item>
  120. <item>
  121. <layout class="QHBoxLayout" name="horizontalLayout_3">
  122. <property name="spacing">
  123. <number>0</number>
  124. </property>
  125. <item>
  126. <widget class="QLabel" name="label_2">
  127. <property name="text">
  128. <string>&lt;font color = #D21F21 &gt;*&lt;/font&gt;噪音文件目录:</string>
  129. </property>
  130. <property name="alignment">
  131. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  132. </property>
  133. </widget>
  134. </item>
  135. <item>
  136. <widget class="QLineEdit" name="lineEdit_noiseFileDir">
  137. <property name="minimumSize">
  138. <size>
  139. <width>246</width>
  140. <height>32</height>
  141. </size>
  142. </property>
  143. <property name="maximumSize">
  144. <size>
  145. <width>246</width>
  146. <height>32</height>
  147. </size>
  148. </property>
  149. </widget>
  150. </item>
  151. </layout>
  152. </item>
  153. <item>
  154. <layout class="QHBoxLayout" name="horizontalLayout_4">
  155. <property name="spacing">
  156. <number>0</number>
  157. </property>
  158. <item>
  159. <widget class="QLabel" name="label_3">
  160. <property name="text">
  161. <string>&lt;font color = #D21F21 &gt;*&lt;/font&gt;服务程序路径:</string>
  162. </property>
  163. <property name="alignment">
  164. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  165. </property>
  166. </widget>
  167. </item>
  168. <item>
  169. <widget class="QLineEdit" name="lineEdit_serverPath">
  170. <property name="minimumSize">
  171. <size>
  172. <width>246</width>
  173. <height>32</height>
  174. </size>
  175. </property>
  176. <property name="maximumSize">
  177. <size>
  178. <width>246</width>
  179. <height>32</height>
  180. </size>
  181. </property>
  182. </widget>
  183. </item>
  184. </layout>
  185. </item>
  186. <item>
  187. <layout class="QHBoxLayout" name="horizontalLayout_5">
  188. <property name="spacing">
  189. <number>0</number>
  190. </property>
  191. <item>
  192. <widget class="QLabel" name="label_4">
  193. <property name="text">
  194. <string>&lt;font color = #D21F21 &gt;*&lt;/font&gt;检测间隔(秒):</string>
  195. </property>
  196. <property name="alignment">
  197. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  198. </property>
  199. </widget>
  200. </item>
  201. <item>
  202. <widget class="QLineEdit" name="lineEdit_detectInternal">
  203. <property name="minimumSize">
  204. <size>
  205. <width>246</width>
  206. <height>32</height>
  207. </size>
  208. </property>
  209. <property name="maximumSize">
  210. <size>
  211. <width>246</width>
  212. <height>32</height>
  213. </size>
  214. </property>
  215. </widget>
  216. </item>
  217. </layout>
  218. </item>
  219. </layout>
  220. </widget>
  221. </item>
  222. <item>
  223. <layout class="QHBoxLayout" name="horizontalLayout_7">
  224. <item>
  225. <widget class="QPushButton" name="pBtn_restore">
  226. <property name="minimumSize">
  227. <size>
  228. <width>102</width>
  229. <height>32</height>
  230. </size>
  231. </property>
  232. <property name="maximumSize">
  233. <size>
  234. <width>102</width>
  235. <height>32</height>
  236. </size>
  237. </property>
  238. <property name="text">
  239. <string>恢复配置项</string>
  240. </property>
  241. </widget>
  242. </item>
  243. <item>
  244. <spacer name="horizontalSpacer">
  245. <property name="orientation">
  246. <enum>Qt::Horizontal</enum>
  247. </property>
  248. <property name="sizeHint" stdset="0">
  249. <size>
  250. <width>40</width>
  251. <height>20</height>
  252. </size>
  253. </property>
  254. </spacer>
  255. </item>
  256. <item>
  257. <widget class="QPushButton" name="pBtn_editNoiseParam">
  258. <property name="minimumSize">
  259. <size>
  260. <width>122</width>
  261. <height>32</height>
  262. </size>
  263. </property>
  264. <property name="maximumSize">
  265. <size>
  266. <width>122</width>
  267. <height>32</height>
  268. </size>
  269. </property>
  270. <property name="text">
  271. <string>修改噪音参数</string>
  272. </property>
  273. </widget>
  274. </item>
  275. </layout>
  276. </item>
  277. <item>
  278. <widget class="QLabel" name="label_tip">
  279. <property name="text">
  280. <string>可恢复为编辑时的初始字段信息</string>
  281. </property>
  282. </widget>
  283. </item>
  284. <item>
  285. <spacer name="verticalSpacer">
  286. <property name="orientation">
  287. <enum>Qt::Vertical</enum>
  288. </property>
  289. <property name="sizeHint" stdset="0">
  290. <size>
  291. <width>20</width>
  292. <height>40</height>
  293. </size>
  294. </property>
  295. </spacer>
  296. </item>
  297. </layout>
  298. </widget>
  299. <resources/>
  300. <connections/>
  301. </ui>