noisewidget.ui 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354
  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>352</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">QWidget#widget
  18. {
  19. border-bottom: 1px solid #E9E9E9;
  20. }
  21. QLabel
  22. {
  23. font-weight: 400;
  24. font-size: 14px;
  25. color: #3A3F63;
  26. }
  27. QLineEdit
  28. {
  29. background: #FFFFFF;
  30. border-radius: 4px;
  31. border: 1px solid #E6E9F4;
  32. padding-left: 12px;
  33. font-weight: 400;
  34. font-size: 14px;
  35. color: #3A3F63;
  36. }
  37. QLineEdit:hover,QLineEdit:focus
  38. {
  39. border: 1px solid #4458FE;
  40. }
  41. QCheckBox
  42. {
  43. font-weight: 400;
  44. font-size: 14px;
  45. color: #3A3F63;
  46. }
  47. QCheckBox::indicator
  48. {
  49. width: 16px;
  50. height: 16px;
  51. }
  52. QCheckBox::indicator:unchecked
  53. {
  54. image: url(:/unchecked.png);
  55. }
  56. QCheckBox::indicator:checked
  57. {
  58. image: url(:/checked.png);
  59. }
  60. QPushButton
  61. {
  62. background: #FFFFFF;
  63. border-radius: 4px;
  64. border: 1px solid #E6E9F4;
  65. font-weight: 500;
  66. font-size: 14px;
  67. color: #3A3F63;
  68. }
  69. QPushButton:hover
  70. {
  71. border: 1px solid #4458FE;
  72. color: #4458FE;
  73. }</string>
  74. </property>
  75. <layout class="QVBoxLayout" name="verticalLayout_2">
  76. <property name="spacing">
  77. <number>24</number>
  78. </property>
  79. <property name="leftMargin">
  80. <number>0</number>
  81. </property>
  82. <property name="topMargin">
  83. <number>24</number>
  84. </property>
  85. <property name="rightMargin">
  86. <number>0</number>
  87. </property>
  88. <property name="bottomMargin">
  89. <number>0</number>
  90. </property>
  91. <item>
  92. <widget class="QWidget" name="widget" native="true">
  93. <layout class="QVBoxLayout" name="verticalLayout">
  94. <property name="spacing">
  95. <number>16</number>
  96. </property>
  97. <property name="leftMargin">
  98. <number>0</number>
  99. </property>
  100. <property name="topMargin">
  101. <number>0</number>
  102. </property>
  103. <property name="rightMargin">
  104. <number>0</number>
  105. </property>
  106. <property name="bottomMargin">
  107. <number>24</number>
  108. </property>
  109. <item>
  110. <layout class="QHBoxLayout" name="horizontalLayout_2">
  111. <property name="spacing">
  112. <number>0</number>
  113. </property>
  114. <item>
  115. <widget class="QLabel" name="label_5">
  116. <property name="text">
  117. <string>&lt;font color = #D21F21 &gt;*&lt;/font&gt;噪音服务地址:</string>
  118. </property>
  119. <property name="alignment">
  120. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  121. </property>
  122. </widget>
  123. </item>
  124. <item>
  125. <widget class="QLineEdit" name="lineEditNoiseServerAddr_2">
  126. <property name="minimumSize">
  127. <size>
  128. <width>246</width>
  129. <height>32</height>
  130. </size>
  131. </property>
  132. <property name="maximumSize">
  133. <size>
  134. <width>246</width>
  135. <height>32</height>
  136. </size>
  137. </property>
  138. </widget>
  139. </item>
  140. </layout>
  141. </item>
  142. <item>
  143. <layout class="QHBoxLayout" name="horizontalLayout_6">
  144. <property name="spacing">
  145. <number>24</number>
  146. </property>
  147. <item>
  148. <widget class="QCheckBox" name="checkBox_2">
  149. <property name="text">
  150. <string>主输出开启噪音检测</string>
  151. </property>
  152. </widget>
  153. </item>
  154. <item>
  155. <widget class="QCheckBox" name="checkBox">
  156. <property name="text">
  157. <string>开启噪音检测服务</string>
  158. </property>
  159. </widget>
  160. </item>
  161. <item>
  162. <spacer name="horizontalSpacer_2">
  163. <property name="orientation">
  164. <enum>Qt::Horizontal</enum>
  165. </property>
  166. <property name="sizeHint" stdset="0">
  167. <size>
  168. <width>40</width>
  169. <height>20</height>
  170. </size>
  171. </property>
  172. </spacer>
  173. </item>
  174. </layout>
  175. </item>
  176. <item>
  177. <layout class="QHBoxLayout" name="horizontalLayout_3">
  178. <property name="spacing">
  179. <number>0</number>
  180. </property>
  181. <item>
  182. <widget class="QLabel" name="label_2">
  183. <property name="text">
  184. <string>&lt;font color = #D21F21 &gt;*&lt;/font&gt;噪音文件目录:</string>
  185. </property>
  186. <property name="alignment">
  187. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  188. </property>
  189. </widget>
  190. </item>
  191. <item>
  192. <widget class="QLineEdit" name="lineEditFileDirectory">
  193. <property name="minimumSize">
  194. <size>
  195. <width>246</width>
  196. <height>32</height>
  197. </size>
  198. </property>
  199. <property name="maximumSize">
  200. <size>
  201. <width>246</width>
  202. <height>32</height>
  203. </size>
  204. </property>
  205. </widget>
  206. </item>
  207. </layout>
  208. </item>
  209. <item>
  210. <layout class="QHBoxLayout" name="horizontalLayout_4">
  211. <property name="spacing">
  212. <number>0</number>
  213. </property>
  214. <item>
  215. <widget class="QLabel" name="label_3">
  216. <property name="text">
  217. <string>&lt;font color = #D21F21 &gt;*&lt;/font&gt;服务程序路径:</string>
  218. </property>
  219. <property name="alignment">
  220. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  221. </property>
  222. </widget>
  223. </item>
  224. <item>
  225. <widget class="QLineEdit" name="lineEditServerIP_3">
  226. <property name="minimumSize">
  227. <size>
  228. <width>246</width>
  229. <height>32</height>
  230. </size>
  231. </property>
  232. <property name="maximumSize">
  233. <size>
  234. <width>246</width>
  235. <height>32</height>
  236. </size>
  237. </property>
  238. </widget>
  239. </item>
  240. </layout>
  241. </item>
  242. <item>
  243. <layout class="QHBoxLayout" name="horizontalLayout_5">
  244. <property name="spacing">
  245. <number>0</number>
  246. </property>
  247. <item>
  248. <widget class="QLabel" name="label_4">
  249. <property name="text">
  250. <string>&lt;font color = #D21F21 &gt;*&lt;/font&gt;检测间隔(秒):</string>
  251. </property>
  252. <property name="alignment">
  253. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  254. </property>
  255. </widget>
  256. </item>
  257. <item>
  258. <widget class="QLineEdit" name="lineEditServerIP_4">
  259. <property name="minimumSize">
  260. <size>
  261. <width>246</width>
  262. <height>32</height>
  263. </size>
  264. </property>
  265. <property name="maximumSize">
  266. <size>
  267. <width>246</width>
  268. <height>32</height>
  269. </size>
  270. </property>
  271. </widget>
  272. </item>
  273. </layout>
  274. </item>
  275. </layout>
  276. </widget>
  277. </item>
  278. <item>
  279. <layout class="QHBoxLayout" name="horizontalLayout_7">
  280. <item>
  281. <widget class="QPushButton" name="btnRestore">
  282. <property name="minimumSize">
  283. <size>
  284. <width>102</width>
  285. <height>32</height>
  286. </size>
  287. </property>
  288. <property name="maximumSize">
  289. <size>
  290. <width>102</width>
  291. <height>32</height>
  292. </size>
  293. </property>
  294. <property name="text">
  295. <string>恢复配置项</string>
  296. </property>
  297. </widget>
  298. </item>
  299. <item>
  300. <spacer name="horizontalSpacer">
  301. <property name="orientation">
  302. <enum>Qt::Horizontal</enum>
  303. </property>
  304. <property name="sizeHint" stdset="0">
  305. <size>
  306. <width>40</width>
  307. <height>20</height>
  308. </size>
  309. </property>
  310. </spacer>
  311. </item>
  312. <item>
  313. <widget class="QPushButton" name="btnModNoise">
  314. <property name="minimumSize">
  315. <size>
  316. <width>122</width>
  317. <height>32</height>
  318. </size>
  319. </property>
  320. <property name="maximumSize">
  321. <size>
  322. <width>122</width>
  323. <height>32</height>
  324. </size>
  325. </property>
  326. <property name="text">
  327. <string>修改噪音参数</string>
  328. </property>
  329. </widget>
  330. </item>
  331. </layout>
  332. </item>
  333. <item>
  334. <spacer name="verticalSpacer">
  335. <property name="orientation">
  336. <enum>Qt::Vertical</enum>
  337. </property>
  338. <property name="sizeHint" stdset="0">
  339. <size>
  340. <width>20</width>
  341. <height>40</height>
  342. </size>
  343. </property>
  344. </spacer>
  345. </item>
  346. </layout>
  347. </widget>
  348. <resources/>
  349. <connections/>
  350. </ui>