You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2376 lines
89 KiB

2 years ago
2 years ago
1 year ago
2 years ago
2 years ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
1 year ago
2 years ago
1 year ago
2 years ago
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>MainWindow</class>
  4. <widget class="QMainWindow" name="MainWindow">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>1532</width>
  10. <height>1076</height>
  11. </rect>
  12. </property>
  13. <property name="sizePolicy">
  14. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  15. <horstretch>0</horstretch>
  16. <verstretch>8</verstretch>
  17. </sizepolicy>
  18. </property>
  19. <property name="windowTitle">
  20. <string>IFLYTOP-ECG-上位机</string>
  21. </property>
  22. <property name="styleSheet">
  23. <string notr="true">/*
  24. Aqua Style Sheet for QT Applications
  25. Author: Jaime A. Quiroga P.
  26. Company: GTRONICK
  27. Last updated: 22/01/2019, 07:55.
  28. Available at: https://github.com/GTRONICK/QSS/blob/master/Aqua.qss
  29. */
  30. QMainWindow {
  31. background-color:#ececec;
  32. }
  33. QTextEdit {
  34. border-width: 1px;
  35. border-style: solid;
  36. border-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(0, 113, 255, 255), stop:1 rgba(91, 171, 252, 255));
  37. }
  38. QPlainTextEdit {
  39. border-width: 1px;
  40. border-style: solid;
  41. border-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(0, 113, 255, 255), stop:1 rgba(91, 171, 252, 255));
  42. }
  43. QToolButton {
  44. border-style: solid;
  45. border-top-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgb(215, 215, 215), stop:1 rgb(222, 222, 222));
  46. border-right-color: qlineargradient(spread:pad, x1:0, y1:0.5, x2:1, y2:0.5, stop:0 rgb(217, 217, 217), stop:1 rgb(227, 227, 227));
  47. border-left-color: qlineargradient(spread:pad, x1:0, y1:0.5, x2:1, y2:0.5, stop:0 rgb(227, 227, 227), stop:1 rgb(217, 217, 217));
  48. border-bottom-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgb(215, 215, 215), stop:1 rgb(222, 222, 222));
  49. border-width: 1px;
  50. border-radius: 5px;
  51. color: rgb(0,0,0);
  52. padding: 2px;
  53. background-color: rgb(255,255,255);
  54. }
  55. QToolButton:hover{
  56. border-style: solid;
  57. border-top-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgb(195, 195, 195), stop:1 rgb(222, 222, 222));
  58. border-right-color: qlineargradient(spread:pad, x1:0, y1:0.5, x2:1, y2:0.5, stop:0 rgb(197, 197, 197), stop:1 rgb(227, 227, 227));
  59. border-left-color: qlineargradient(spread:pad, x1:0, y1:0.5, x2:1, y2:0.5, stop:0 rgb(227, 227, 227), stop:1 rgb(197, 197, 197));
  60. border-bottom-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgb(195, 195, 195), stop:1 rgb(222, 222, 222));
  61. border-width: 1px;
  62. border-radius: 5px;
  63. color: rgb(0,0,0);
  64. padding: 2px;
  65. background-color: rgb(255,255,255);
  66. }
  67. QToolButton:pressed{
  68. border-style: solid;
  69. border-top-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgb(215, 215, 215), stop:1 rgb(222, 222, 222));
  70. border-right-color: qlineargradient(spread:pad, x1:0, y1:0.5, x2:1, y2:0.5, stop:0 rgb(217, 217, 217), stop:1 rgb(227, 227, 227));
  71. border-left-color: qlineargradient(spread:pad, x1:0, y1:0.5, x2:1, y2:0.5, stop:0 rgb(227, 227, 227), stop:1 rgb(217, 217, 217));
  72. border-bottom-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgb(215, 215, 215), stop:1 rgb(222, 222, 222));
  73. border-width: 1px;
  74. border-radius: 5px;
  75. color: rgb(0,0,0);
  76. padding: 2px;
  77. background-color: rgb(142,142,142);
  78. }
  79. QPushButton{
  80. border-style: solid;
  81. border-top-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgb(215, 215, 215), stop:1 rgb(222, 222, 222));
  82. border-right-color: qlineargradient(spread:pad, x1:0, y1:0.5, x2:1, y2:0.5, stop:0 rgb(217, 217, 217), stop:1 rgb(227, 227, 227));
  83. border-left-color: qlineargradient(spread:pad, x1:0, y1:0.5, x2:1, y2:0.5, stop:0 rgb(227, 227, 227), stop:1 rgb(217, 217, 217));
  84. border-bottom-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgb(215, 215, 215), stop:1 rgb(222, 222, 222));
  85. border-width: 1px;
  86. border-radius: 5px;
  87. color: rgb(0,0,0);
  88. padding: 2px;
  89. background-color: rgb(255,255,255);
  90. }
  91. QPushButton::default{
  92. border-style: solid;
  93. border-top-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgb(215, 215, 215), stop:1 rgb(222, 222, 222));
  94. border-right-color: qlineargradient(spread:pad, x1:0, y1:0.5, x2:1, y2:0.5, stop:0 rgb(217, 217, 217), stop:1 rgb(227, 227, 227));
  95. border-left-color: qlineargradient(spread:pad, x1:0, y1:0.5, x2:1, y2:0.5, stop:0 rgb(227, 227, 227), stop:1 rgb(217, 217, 217));
  96. border-bottom-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgb(215, 215, 215), stop:1 rgb(222, 222, 222));
  97. border-width: 1px;
  98. border-radius: 5px;
  99. color: rgb(0,0,0);
  100. padding: 2px;
  101. background-color: rgb(255,255,255);
  102. }
  103. QPushButton:hover{
  104. border-style: solid;
  105. border-top-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgb(195, 195, 195), stop:1 rgb(222, 222, 222));
  106. border-right-color: qlineargradient(spread:pad, x1:0, y1:0.5, x2:1, y2:0.5, stop:0 rgb(197, 197, 197), stop:1 rgb(227, 227, 227));
  107. border-left-color: qlineargradient(spread:pad, x1:0, y1:0.5, x2:1, y2:0.5, stop:0 rgb(227, 227, 227), stop:1 rgb(197, 197, 197));
  108. border-bottom-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgb(195, 195, 195), stop:1 rgb(222, 222, 222));
  109. border-width: 1px;
  110. border-radius: 5px;
  111. color: rgb(0,0,0);
  112. padding: 2px;
  113. background-color: rgb(255,255,255);
  114. }
  115. QPushButton:pressed{
  116. border-style: solid;
  117. border-top-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgb(215, 215, 215), stop:1 rgb(222, 222, 222));
  118. border-right-color: qlineargradient(spread:pad, x1:0, y1:0.5, x2:1, y2:0.5, stop:0 rgb(217, 217, 217), stop:1 rgb(227, 227, 227));
  119. border-left-color: qlineargradient(spread:pad, x1:0, y1:0.5, x2:1, y2:0.5, stop:0 rgb(227, 227, 227), stop:1 rgb(217, 217, 217));
  120. border-bottom-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgb(215, 215, 215), stop:1 rgb(222, 222, 222));
  121. border-width: 1px;
  122. border-radius: 5px;
  123. color: rgb(0,0,0);
  124. padding: 2px;
  125. background-color: rgb(142,142,142);
  126. }
  127. QPushButton:disabled{
  128. border-style: solid;
  129. border-top-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgb(215, 215, 215), stop:1 rgb(222, 222, 222));
  130. border-right-color: qlineargradient(spread:pad, x1:0, y1:0.5, x2:1, y2:0.5, stop:0 rgb(217, 217, 217), stop:1 rgb(227, 227, 227));
  131. border-left-color: qlineargradient(spread:pad, x1:0, y1:0.5, x2:1, y2:0.5, stop:0 rgb(227, 227, 227), stop:1 rgb(217, 217, 217));
  132. border-bottom-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgb(215, 215, 215), stop:1 rgb(222, 222, 222));
  133. border-width: 1px;
  134. border-radius: 5px;
  135. color: #808086;
  136. padding: 2px;
  137. background-color: rgb(142,142,142);
  138. }
  139. QLineEdit {
  140. border-width: 1px; border-radius: 4px;
  141. border-style: solid;
  142. border-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(0, 113, 255, 255), stop:1 rgba(91, 171, 252, 255));
  143. }
  144. QLabel {
  145. color: #000000;
  146. }
  147. QLCDNumber {
  148. color: rgb(0, 113, 255, 255);
  149. }
  150. QProgressBar {
  151. text-align: center;
  152. color: rgb(240, 240, 240);
  153. border-width: 1px;
  154. border-radius: 10px;
  155. border-color: rgb(230, 230, 230);
  156. border-style: solid;
  157. background-color:rgb(207,207,207);
  158. }
  159. QProgressBar::chunk {
  160. background-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(49, 147, 250, 255), stop:1 rgba(34, 142, 255, 255));
  161. border-radius: 10px;
  162. }
  163. QMenuBar {
  164. background-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(207, 209, 207, 255), stop:1 rgba(230, 229, 230, 255));
  165. }
  166. QMenuBar::item {
  167. color: #000000;
  168. spacing: 3px;
  169. padding: 1px 4px;
  170. background-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(207, 209, 207, 255), stop:1 rgba(230, 229, 230, 255));
  171. }
  172. QMenuBar::item:selected {
  173. background-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(0, 113, 255, 255), stop:1 rgba(91, 171, 252, 255));
  174. color: #FFFFFF;
  175. }
  176. QMenu::item:selected {
  177. border-style: solid;
  178. border-top-color: transparent;
  179. border-right-color: transparent;
  180. border-left-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(0, 113, 255, 255), stop:1 rgba(91, 171, 252, 255));
  181. border-bottom-color: transparent;
  182. border-left-width: 2px;
  183. color: #000000;
  184. padding-left:15px;
  185. padding-top:4px;
  186. padding-bottom:4px;
  187. padding-right:7px;
  188. }
  189. QMenu::item {
  190. border-style: solid;
  191. border-top-color: transparent;
  192. border-right-color: transparent;
  193. border-left-color: transparent;
  194. border-bottom-color: transparent;
  195. border-bottom-width: 1px;
  196. color: #000000;
  197. padding-left:17px;
  198. padding-top:4px;
  199. padding-bottom:4px;
  200. padding-right:7px;
  201. }
  202. QTabWidget {
  203. color:rgb(0,0,0);
  204. background-color:#000000;
  205. }
  206. QTabWidget::pane {
  207. border-color: rgb(223,223,223);
  208. background-color:rgb(226,226,226);
  209. border-style: solid;
  210. border-width: 2px;
  211. border-radius: 6px;
  212. }
  213. QTabBar::tab:first {
  214. border-style: solid;
  215. border-left-width:1px;
  216. border-right-width:0px;
  217. border-top-width:1px;
  218. border-bottom-width:1px;
  219. border-top-color: rgb(209,209,209);
  220. border-left-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(209, 209, 209, 209), stop:1 rgba(229, 229, 229, 229));
  221. border-bottom-color: rgb(229,229,229);
  222. border-top-left-radius: 4px;
  223. border-bottom-left-radius: 4px;
  224. color: #000000;
  225. padding: 3px;
  226. margin-left:0px;
  227. background-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(247, 247, 247, 255), stop:1 rgba(255, 255, 255, 255));
  228. }
  229. QTabBar::tab:last {
  230. border-style: solid;
  231. border-width:1px;
  232. border-top-color: rgb(209,209,209);
  233. border-left-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(209, 209, 209, 209), stop:1 rgba(229, 229, 229, 229));
  234. border-right-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(209, 209, 209, 209), stop:1 rgba(229, 229, 229, 229));
  235. border-bottom-color: rgb(229,229,229);
  236. border-top-right-radius: 4px;
  237. border-bottom-right-radius: 4px;
  238. color: #000000;
  239. padding: 3px;
  240. margin-left:0px;
  241. background-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(247, 247, 247, 255), stop:1 rgba(255, 255, 255, 255));
  242. }
  243. QTabBar::tab {
  244. border-style: solid;
  245. border-top-width:1px;
  246. border-bottom-width:1px;
  247. border-left-width:1px;
  248. border-top-color: rgb(209,209,209);
  249. border-left-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(209, 209, 209, 209), stop:1 rgba(229, 229, 229, 229));
  250. border-bottom-color: rgb(229,229,229);
  251. color: #000000;
  252. padding: 3px;
  253. margin-left:0px;
  254. background-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(247, 247, 247, 255), stop:1 rgba(255, 255, 255, 255));
  255. }
  256. QTabBar::tab:selected, QTabBar::tab:last:selected, QTabBar::tab:hover {
  257. border-style: solid;
  258. border-left-width:1px;
  259. border-right-color: transparent;
  260. border-top-color: rgb(209,209,209);
  261. border-left-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(209, 209, 209, 209), stop:1 rgba(229, 229, 229, 229));
  262. border-bottom-color: rgb(229,229,229);
  263. color: #FFFFFF;
  264. padding: 3px;
  265. margin-left:0px;
  266. background-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(0, 113, 255, 255), stop:1 rgba(91, 171, 252, 255));
  267. }
  268. QTabBar::tab:selected, QTabBar::tab:first:selected, QTabBar::tab:hover {
  269. border-style: solid;
  270. border-left-width:1px;
  271. border-bottom-width:1px;
  272. border-top-width:1px;
  273. border-right-color: transparent;
  274. border-top-color: rgb(209,209,209);
  275. border-left-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(209, 209, 209, 209), stop:1 rgba(229, 229, 229, 229));
  276. border-bottom-color: rgb(229,229,229);
  277. color: #FFFFFF;
  278. padding: 3px;
  279. margin-left:0px;
  280. background-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(0, 113, 255, 255), stop:1 rgba(91, 171, 252, 255));
  281. }
  282. QCheckBox {
  283. color: #000000;
  284. padding: 2px;
  285. }
  286. QCheckBox:disabled {
  287. color: #808086;
  288. padding: 2px;
  289. }
  290. QCheckBox:hover {
  291. border-radius:4px;
  292. border-style:solid;
  293. padding-left: 1px;
  294. padding-right: 1px;
  295. padding-bottom: 1px;
  296. padding-top: 1px;
  297. border-width:1px;
  298. border-color: transparent;
  299. }
  300. QCheckBox::indicator:checked {
  301. height: 10px;
  302. width: 10px;
  303. border-style:solid;
  304. border-width: 1px;
  305. border-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(0, 113, 255, 255), stop:1 rgba(91, 171, 252, 255));
  306. color: #000000;
  307. background-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(0, 113, 255, 255), stop:1 rgba(91, 171, 252, 255));
  308. }
  309. QCheckBox::indicator:unchecked {
  310. height: 10px;
  311. width: 10px;
  312. border-style:solid;
  313. border-width: 1px;
  314. border-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(0, 113, 255, 255), stop:1 rgba(91, 171, 252, 255));
  315. color: #000000;
  316. }
  317. QRadioButton {
  318. color: 000000;
  319. padding: 1px;
  320. }
  321. QRadioButton::indicator:checked {
  322. height: 10px;
  323. width: 10px;
  324. border-style:solid;
  325. border-radius:5px;
  326. border-width: 1px;
  327. border-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(0, 113, 255, 255), stop:1 rgba(91, 171, 252, 255));
  328. color: #a9b7c6;
  329. background-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(0, 113, 255, 255), stop:1 rgba(91, 171, 252, 255));
  330. }
  331. QRadioButton::indicator:!checked {
  332. height: 10px;
  333. width: 10px;
  334. border-style:solid;
  335. border-radius:5px;
  336. border-width: 1px;
  337. border-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(0, 113, 255, 255), stop:1 rgba(91, 171, 252, 255));
  338. color: #a9b7c6;
  339. background-color: transparent;
  340. }
  341. QStatusBar {
  342. color:#027f7f;
  343. }
  344. QSpinBox {
  345. border-style: solid;
  346. border-width: 1px;
  347. border-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(0, 113, 255, 255), stop:1 rgba(91, 171, 252, 255));
  348. }
  349. QDoubleSpinBox {
  350. border-style: solid;
  351. border-width: 1px;
  352. border-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(0, 113, 255, 255), stop:1 rgba(91, 171, 252, 255));
  353. }
  354. QTimeEdit {
  355. border-style: solid;
  356. border-width: 1px;
  357. border-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(0, 113, 255, 255), stop:1 rgba(91, 171, 252, 255));
  358. }
  359. QDateTimeEdit {
  360. border-style: solid;
  361. border-width: 1px;
  362. border-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(0, 113, 255, 255), stop:1 rgba(91, 171, 252, 255));
  363. }
  364. QDateEdit {
  365. border-style: solid;
  366. border-width: 1px;
  367. border-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(0, 113, 255, 255), stop:1 rgba(91, 171, 252, 255));
  368. }
  369. QToolBox {
  370. color: #a9b7c6;
  371. background-color:#000000;
  372. }
  373. QToolBox::tab {
  374. color: #a9b7c6;
  375. background-color:#000000;
  376. }
  377. QToolBox::tab:selected {
  378. color: #FFFFFF;
  379. background-color:#000000;
  380. }
  381. QScrollArea {
  382. color: #FFFFFF;
  383. background-color:#000000;
  384. }
  385. QSlider::groove:horizontal {
  386. height: 5px;
  387. background-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(49, 147, 250, 255), stop:1 rgba(34, 142, 255, 255));
  388. }
  389. QSlider::groove:vertical {
  390. width: 5px;
  391. background-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(49, 147, 250, 255), stop:1 rgba(34, 142, 255, 255));
  392. }
  393. QSlider::handle:horizontal {
  394. background: rgb(253,253,253);
  395. border-style: solid;
  396. border-width: 1px;
  397. border-color: rgb(207,207,207);
  398. width: 12px;
  399. margin: -5px 0;
  400. border-radius: 7px;
  401. }
  402. QSlider::handle:vertical {
  403. background: rgb(253,253,253);
  404. border-style: solid;
  405. border-width: 1px;
  406. border-color: rgb(207,207,207);
  407. height: 12px;
  408. margin: 0 -5px;
  409. border-radius: 7px;
  410. }
  411. QSlider::add-page:horizontal {
  412. background: rgb(181,181,181);
  413. }
  414. QSlider::add-page:vertical {
  415. background: rgb(181,181,181);
  416. }
  417. QSlider::sub-page:horizontal {
  418. background-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(49, 147, 250, 255), stop:1 rgba(34, 142, 255, 255));
  419. }
  420. QSlider::sub-page:vertical {
  421. background-color: qlineargradient(spread:pad, y1:0.5, x1:1, y2:0.5, x2:0, stop:0 rgba(49, 147, 250, 255), stop:1 rgba(34, 142, 255, 255));
  422. }
  423. QScrollBar:horizontal {
  424. max-height: 20px;
  425. border: 1px transparent grey;
  426. margin: 0px 20px 0px 20px;
  427. }
  428. QScrollBar:vertical {
  429. max-width: 20px;
  430. border: 1px transparent grey;
  431. margin: 20px 0px 20px 0px;
  432. }
  433. QScrollBar::handle:horizontal {
  434. background: rgb(253,253,253);
  435. border-style: solid;
  436. border-width: 1px;
  437. border-color: rgb(207,207,207);
  438. border-radius: 7px;
  439. min-width: 25px;
  440. }
  441. QScrollBar::handle:horizontal:hover {
  442. background: rgb(253,253,253);
  443. border-style: solid;
  444. border-width: 1px;
  445. border-color: rgb(147, 200, 200);
  446. border-radius: 7px;
  447. min-width: 25px;
  448. }
  449. QScrollBar::handle:vertical {
  450. background: rgb(253,253,253);
  451. border-style: solid;
  452. border-width: 1px;
  453. border-color: rgb(207,207,207);
  454. border-radius: 7px;
  455. min-height: 25px;
  456. }
  457. QScrollBar::handle:vertical:hover {
  458. background: rgb(253,253,253);
  459. border-style: solid;
  460. border-width: 1px;
  461. border-color: rgb(147, 200, 200);
  462. border-radius: 7px;
  463. min-height: 25px;
  464. }
  465. QScrollBar::add-line:horizontal {
  466. border: 2px transparent grey;
  467. border-top-right-radius: 7px;
  468. border-bottom-right-radius: 7px;
  469. background: rgba(34, 142, 255, 255);
  470. width: 20px;
  471. subcontrol-position: right;
  472. subcontrol-origin: margin;
  473. }
  474. QScrollBar::add-line:horizontal:pressed {
  475. border: 2px transparent grey;
  476. border-top-right-radius: 7px;
  477. border-bottom-right-radius: 7px;
  478. background: rgb(181,181,181);
  479. width: 20px;
  480. subcontrol-position: right;
  481. subcontrol-origin: margin;
  482. }
  483. QScrollBar::add-line:vertical {
  484. border: 2px transparent grey;
  485. border-bottom-left-radius: 7px;
  486. border-bottom-right-radius: 7px;
  487. background: rgba(34, 142, 255, 255);
  488. height: 20px;
  489. subcontrol-position: bottom;
  490. subcontrol-origin: margin;
  491. }
  492. QScrollBar::add-line:vertical:pressed {
  493. border: 2px transparent grey;
  494. border-bottom-left-radius: 7px;
  495. border-bottom-right-radius: 7px;
  496. background: rgb(181,181,181);
  497. height: 20px;
  498. subcontrol-position: bottom;
  499. subcontrol-origin: margin;
  500. }
  501. QScrollBar::sub-line:horizontal {
  502. border: 2px transparent grey;
  503. border-top-left-radius: 7px;
  504. border-bottom-left-radius: 7px;
  505. background: rgba(34, 142, 255, 255);
  506. width: 20px;
  507. subcontrol-position: left;
  508. subcontrol-origin: margin;
  509. }
  510. QScrollBar::sub-line:horizontal:pressed {
  511. border: 2px transparent grey;
  512. border-top-left-radius: 7px;
  513. border-bottom-left-radius: 7px;
  514. background: rgb(181,181,181);
  515. width: 20px;
  516. subcontrol-position: left;
  517. subcontrol-origin: margin;
  518. }
  519. QScrollBar::sub-line:vertical {
  520. border: 2px transparent grey;
  521. border-top-left-radius: 7px;
  522. border-top-right-radius: 7px;
  523. background: rgba(34, 142, 255, 255);
  524. height: 20px;
  525. subcontrol-position: top;
  526. subcontrol-origin: margin;
  527. }
  528. QScrollBar::sub-line:vertical:pressed {
  529. border: 2px transparent grey;
  530. border-top-left-radius: 7px;
  531. border-top-right-radius: 7px;
  532. background: rgb(181,181,181);
  533. height: 20px;
  534. subcontrol-position: top;
  535. subcontrol-origin: margin;
  536. }
  537. QScrollBar::left-arrow:horizontal {
  538. border: 1px transparent grey;
  539. border-top-left-radius: 3px;
  540. border-bottom-left-radius: 3px;
  541. width: 6px;
  542. height: 6px;
  543. background: white;
  544. }
  545. QScrollBar::right-arrow:horizontal {
  546. border: 1px transparent grey;
  547. border-top-right-radius: 3px;
  548. border-bottom-right-radius: 3px;
  549. width: 6px;
  550. height: 6px;
  551. background: white;
  552. }
  553. QScrollBar::up-arrow:vertical {
  554. border: 1px transparent grey;
  555. border-top-left-radius: 3px;
  556. border-top-right-radius: 3px;
  557. width: 6px;
  558. height: 6px;
  559. background: white;
  560. }
  561. QScrollBar::down-arrow:vertical {
  562. border: 1px transparent grey;
  563. border-bottom-left-radius: 3px;
  564. border-bottom-right-radius: 3px;
  565. width: 6px;
  566. height: 6px;
  567. background: white;
  568. }
  569. QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal {
  570. background: none;
  571. }
  572. QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {
  573. background: none;
  574. }
  575. QGroupBox {
  576. border-color: rgb(156, 156, 156);
  577. border-width: 1px;
  578. border-style: solid;
  579. border-radius:8px;
  580. padding: 10px 0px 0px 0px;
  581. }
  582. QGroupBox:title {
  583. subcontrol-origin: margin;
  584. left: 7px;
  585. padding: 0px 0px 0px 0px;
  586. }
  587. </string>
  588. </property>
  589. <widget class="QWidget" name="top">
  590. <property name="styleSheet">
  591. <string notr="true"/>
  592. </property>
  593. <layout class="QVBoxLayout" name="verticalLayout">
  594. <item>
  595. <widget class="QWidget" name="top2" native="true">
  596. <property name="sizePolicy">
  597. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  598. <horstretch>0</horstretch>
  599. <verstretch>0</verstretch>
  600. </sizepolicy>
  601. </property>
  602. <layout class="QHBoxLayout" name="horizontalLayout">
  603. <item>
  604. <widget class="QWidget" name="sidebar" native="true">
  605. <property name="minimumSize">
  606. <size>
  607. <width>200</width>
  608. <height>0</height>
  609. </size>
  610. </property>
  611. <property name="maximumSize">
  612. <size>
  613. <width>200</width>
  614. <height>16777215</height>
  615. </size>
  616. </property>
  617. <layout class="QVBoxLayout" name="verticalLayout_2">
  618. <item>
  619. <widget class="QGroupBox" name="serialSettingGB">
  620. <property name="maximumSize">
  621. <size>
  622. <width>16777215</width>
  623. <height>16777215</height>
  624. </size>
  625. </property>
  626. <property name="title">
  627. <string>串口设置</string>
  628. </property>
  629. <layout class="QGridLayout" name="gridLayout">
  630. <item row="0" column="1">
  631. <widget class="QComboBox" name="serialPortCB"/>
  632. </item>
  633. <item row="3" column="0" colspan="2">
  634. <widget class="QPushButton" name="serialOpenKey">
  635. <property name="text">
  636. <string>打开</string>
  637. </property>
  638. </widget>
  639. </item>
  640. <item row="1" column="1">
  641. <widget class="QComboBox" name="serialBaudrateCB"/>
  642. </item>
  643. <item row="1" column="0">
  644. <widget class="QLabel" name="serialBaudrateLable">
  645. <property name="text">
  646. <string>波特率</string>
  647. </property>
  648. </widget>
  649. </item>
  650. <item row="0" column="0">
  651. <widget class="QLabel" name="serialPortLable">
  652. <property name="text">
  653. <string>串口</string>
  654. </property>
  655. </widget>
  656. </item>
  657. <item row="2" column="0" colspan="2">
  658. <widget class="QPushButton" name="serialPortRefreshKey">
  659. <property name="text">
  660. <string>刷新</string>
  661. </property>
  662. </widget>
  663. </item>
  664. </layout>
  665. </widget>
  666. </item>
  667. <item>
  668. <widget class="QGroupBox" name="serialSettingGB_2">
  669. <property name="maximumSize">
  670. <size>
  671. <width>16777215</width>
  672. <height>16777215</height>
  673. </size>
  674. </property>
  675. <property name="title">
  676. <string>设备配置</string>
  677. </property>
  678. <layout class="QGridLayout" name="gridLayout_6">
  679. <item row="0" column="1">
  680. <widget class="QComboBox" name="deviceType"/>
  681. </item>
  682. <item row="0" column="0">
  683. <widget class="QLabel" name="serialPortLable_2">
  684. <property name="text">
  685. <string>型号</string>
  686. </property>
  687. </widget>
  688. </item>
  689. </layout>
  690. </widget>
  691. </item>
  692. <item>
  693. <widget class="QGroupBox" name="StateGB">
  694. <property name="sizePolicy">
  695. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  696. <horstretch>0</horstretch>
  697. <verstretch>0</verstretch>
  698. </sizepolicy>
  699. </property>
  700. <property name="minimumSize">
  701. <size>
  702. <width>0</width>
  703. <height>0</height>
  704. </size>
  705. </property>
  706. <property name="maximumSize">
  707. <size>
  708. <width>16777215</width>
  709. <height>16777215</height>
  710. </size>
  711. </property>
  712. <property name="autoFillBackground">
  713. <bool>false</bool>
  714. </property>
  715. <property name="title">
  716. <string>状态</string>
  717. </property>
  718. <layout class="QFormLayout" name="formLayout_2">
  719. <item row="0" column="0">
  720. <widget class="QLabel" name="DeviceConnectStateLable">
  721. <property name="sizePolicy">
  722. <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
  723. <horstretch>0</horstretch>
  724. <verstretch>0</verstretch>
  725. </sizepolicy>
  726. </property>
  727. <property name="minimumSize">
  728. <size>
  729. <width>0</width>
  730. <height>25</height>
  731. </size>
  732. </property>
  733. <property name="maximumSize">
  734. <size>
  735. <width>16777215</width>
  736. <height>25</height>
  737. </size>
  738. </property>
  739. <property name="text">
  740. <string>设备连接状态</string>
  741. </property>
  742. </widget>
  743. </item>
  744. <item row="0" column="1">
  745. <widget class="QTextBrowser" name="DeviceConnectStateTB">
  746. <property name="sizePolicy">
  747. <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
  748. <horstretch>0</horstretch>
  749. <verstretch>0</verstretch>
  750. </sizepolicy>
  751. </property>
  752. <property name="minimumSize">
  753. <size>
  754. <width>0</width>
  755. <height>25</height>
  756. </size>
  757. </property>
  758. <property name="maximumSize">
  759. <size>
  760. <width>16777215</width>
  761. <height>25</height>
  762. </size>
  763. </property>
  764. <property name="lineWrapColumnOrWidth">
  765. <number>2</number>
  766. </property>
  767. </widget>
  768. </item>
  769. </layout>
  770. </widget>
  771. </item>
  772. <item>
  773. <widget class="QGroupBox" name="FunctionKeyGB">
  774. <property name="minimumSize">
  775. <size>
  776. <width>0</width>
  777. <height>0</height>
  778. </size>
  779. </property>
  780. <property name="title">
  781. <string>功能按键</string>
  782. </property>
  783. <layout class="QVBoxLayout" name="verticalLayout_3">
  784. <item>
  785. <widget class="QPushButton" name="clearPreview">
  786. <property name="sizePolicy">
  787. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  788. <horstretch>1</horstretch>
  789. <verstretch>0</verstretch>
  790. </sizepolicy>
  791. </property>
  792. <property name="minimumSize">
  793. <size>
  794. <width>0</width>
  795. <height>30</height>
  796. </size>
  797. </property>
  798. <property name="text">
  799. <string>清空显示</string>
  800. </property>
  801. </widget>
  802. </item>
  803. </layout>
  804. </widget>
  805. </item>
  806. <item>
  807. <widget class="QTextBrowser" name="textBrowser">
  808. <property name="html">
  809. <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
  810. &lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
  811. p, li { white-space: pre-wrap; }
  812. &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'SimSun'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
  813. &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; color:#ff0000;&quot;&gt;M1001 单导心电记录仪-1代&lt;/span&gt;&lt;/p&gt;
  814. &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; color:#ff0000;&quot;&gt;M1002 三导心电记录仪-1代&lt;/span&gt;&lt;/p&gt;
  815. &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; color:#ff0000;&quot;&gt;M1003 单导心电记录仪-2代&lt;/span&gt;&lt;/p&gt;
  816. &lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;
  817. &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; color:#ff0000;&quot;&gt;注意事项:&lt;/span&gt;&lt;/p&gt;
  818. &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; color:#ff0000;&quot;&gt;1.当检查上传数据的CHECKSUM(检验和)时,需要先复位下蓝牙主机开发板清空统计信息&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  819. </property>
  820. </widget>
  821. </item>
  822. <item>
  823. <widget class="QGroupBox" name="groupBox_5">
  824. <property name="minimumSize">
  825. <size>
  826. <width>0</width>
  827. <height>100</height>
  828. </size>
  829. </property>
  830. <property name="title">
  831. <string>GroupBox</string>
  832. </property>
  833. <widget class="QLabel" name="label_20">
  834. <property name="geometry">
  835. <rect>
  836. <x>110</x>
  837. <y>50</y>
  838. <width>147</width>
  839. <height>1</height>
  840. </rect>
  841. </property>
  842. <property name="maximumSize">
  843. <size>
  844. <width>16777215</width>
  845. <height>1</height>
  846. </size>
  847. </property>
  848. <property name="text">
  849. <string/>
  850. </property>
  851. </widget>
  852. </widget>
  853. </item>
  854. <item>
  855. <spacer name="verticalSpacer">
  856. <property name="orientation">
  857. <enum>Qt::Vertical</enum>
  858. </property>
  859. <property name="sizeHint" stdset="0">
  860. <size>
  861. <width>20</width>
  862. <height>40</height>
  863. </size>
  864. </property>
  865. </spacer>
  866. </item>
  867. </layout>
  868. </widget>
  869. </item>
  870. <item>
  871. <widget class="QWidget" name="content" native="true">
  872. <property name="sizePolicy">
  873. <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
  874. <horstretch>0</horstretch>
  875. <verstretch>0</verstretch>
  876. </sizepolicy>
  877. </property>
  878. <layout class="QHBoxLayout" name="horizontalLayout_2">
  879. <item>
  880. <widget class="QTabWidget" name="buttonTabWidget">
  881. <property name="sizePolicy">
  882. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  883. <horstretch>0</horstretch>
  884. <verstretch>0</verstretch>
  885. </sizepolicy>
  886. </property>
  887. <property name="minimumSize">
  888. <size>
  889. <width>0</width>
  890. <height>0</height>
  891. </size>
  892. </property>
  893. <property name="maximumSize">
  894. <size>
  895. <width>16777215</width>
  896. <height>16777215</height>
  897. </size>
  898. </property>
  899. <property name="currentIndex">
  900. <number>1</number>
  901. </property>
  902. <widget class="QWidget" name="buttonTabWidgetPage1">
  903. <attribute name="title">
  904. <string>设备基本操作</string>
  905. </attribute>
  906. <layout class="QGridLayout" name="gridLayout_5">
  907. <item row="0" column="0">
  908. <widget class="QGroupBox" name="groupBox_4">
  909. <property name="title">
  910. <string>设备信息</string>
  911. </property>
  912. <layout class="QGridLayout" name="gridLayout_3">
  913. <item row="2" column="0">
  914. <widget class="QPushButton" name="readDeviceState">
  915. <property name="sizePolicy">
  916. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  917. <horstretch>1</horstretch>
  918. <verstretch>0</verstretch>
  919. </sizepolicy>
  920. </property>
  921. <property name="minimumSize">
  922. <size>
  923. <width>0</width>
  924. <height>30</height>
  925. </size>
  926. </property>
  927. <property name="text">
  928. <string>读取设备状态信息</string>
  929. </property>
  930. </widget>
  931. </item>
  932. <item row="0" column="1">
  933. <widget class="QPushButton" name="syncTime">
  934. <property name="sizePolicy">
  935. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  936. <horstretch>1</horstretch>
  937. <verstretch>0</verstretch>
  938. </sizepolicy>
  939. </property>
  940. <property name="minimumSize">
  941. <size>
  942. <width>0</width>
  943. <height>30</height>
  944. </size>
  945. </property>
  946. <property name="text">
  947. <string>同步时间</string>
  948. </property>
  949. </widget>
  950. </item>
  951. <item row="1" column="1">
  952. <widget class="QPushButton" name="readTime">
  953. <property name="sizePolicy">
  954. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  955. <horstretch>1</horstretch>
  956. <verstretch>0</verstretch>
  957. </sizepolicy>
  958. </property>
  959. <property name="minimumSize">
  960. <size>
  961. <width>0</width>
  962. <height>30</height>
  963. </size>
  964. </property>
  965. <property name="text">
  966. <string>读取设备时间</string>
  967. </property>
  968. </widget>
  969. </item>
  970. <item row="5" column="0">
  971. <widget class="QPushButton" name="readSN">
  972. <property name="sizePolicy">
  973. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  974. <horstretch>1</horstretch>
  975. <verstretch>0</verstretch>
  976. </sizepolicy>
  977. </property>
  978. <property name="minimumSize">
  979. <size>
  980. <width>0</width>
  981. <height>30</height>
  982. </size>
  983. </property>
  984. <property name="text">
  985. <string>读取设备SN</string>
  986. </property>
  987. </widget>
  988. </item>
  989. <item row="0" column="0">
  990. <widget class="QPushButton" name="readDeviceVersion">
  991. <property name="sizePolicy">
  992. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  993. <horstretch>1</horstretch>
  994. <verstretch>0</verstretch>
  995. </sizepolicy>
  996. </property>
  997. <property name="minimumSize">
  998. <size>
  999. <width>0</width>
  1000. <height>30</height>
  1001. </size>
  1002. </property>
  1003. <property name="text">
  1004. <string>读取设备版本信息</string>
  1005. </property>
  1006. </widget>
  1007. </item>
  1008. <item row="7" column="1">
  1009. <spacer name="horizontalSpacer_3">
  1010. <property name="orientation">
  1011. <enum>Qt::Horizontal</enum>
  1012. </property>
  1013. <property name="sizeHint" stdset="0">
  1014. <size>
  1015. <width>40</width>
  1016. <height>20</height>
  1017. </size>
  1018. </property>
  1019. </spacer>
  1020. </item>
  1021. <item row="7" column="0">
  1022. <spacer name="verticalSpacer_5">
  1023. <property name="orientation">
  1024. <enum>Qt::Vertical</enum>
  1025. </property>
  1026. <property name="sizeHint" stdset="0">
  1027. <size>
  1028. <width>20</width>
  1029. <height>40</height>
  1030. </size>
  1031. </property>
  1032. </spacer>
  1033. </item>
  1034. <item row="1" column="0">
  1035. <widget class="QPushButton" name="readSensorInfo">
  1036. <property name="sizePolicy">
  1037. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  1038. <horstretch>1</horstretch>
  1039. <verstretch>0</verstretch>
  1040. </sizepolicy>
  1041. </property>
  1042. <property name="minimumSize">
  1043. <size>
  1044. <width>0</width>
  1045. <height>30</height>
  1046. </size>
  1047. </property>
  1048. <property name="text">
  1049. <string>读取传感器信息</string>
  1050. </property>
  1051. </widget>
  1052. </item>
  1053. <item row="6" column="0">
  1054. <widget class="QPushButton" name="resetDevice">
  1055. <property name="sizePolicy">
  1056. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  1057. <horstretch>1</horstretch>
  1058. <verstretch>0</verstretch>
  1059. </sizepolicy>
  1060. </property>
  1061. <property name="minimumSize">
  1062. <size>
  1063. <width>0</width>
  1064. <height>30</height>
  1065. </size>
  1066. </property>
  1067. <property name="text">
  1068. <string>复位设备</string>
  1069. </property>
  1070. </widget>
  1071. </item>
  1072. </layout>
  1073. </widget>
  1074. </item>
  1075. <item row="1" column="0">
  1076. <widget class="QGroupBox" name="groupBox_3">
  1077. <property name="title">
  1078. <string>记录上传</string>
  1079. </property>
  1080. <layout class="QGridLayout" name="gridLayout_2">
  1081. <item row="1" column="1">
  1082. <widget class="QTextEdit" name="startUploadRecord_p0">
  1083. <property name="sizePolicy">
  1084. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  1085. <horstretch>1</horstretch>
  1086. <verstretch>0</verstretch>
  1087. </sizepolicy>
  1088. </property>
  1089. <property name="minimumSize">
  1090. <size>
  1091. <width>0</width>
  1092. <height>0</height>
  1093. </size>
  1094. </property>
  1095. <property name="maximumSize">
  1096. <size>
  1097. <width>16777215</width>
  1098. <height>30</height>
  1099. </size>
  1100. </property>
  1101. </widget>
  1102. </item>
  1103. <item row="4" column="1">
  1104. <spacer name="horizontalSpacer_2">
  1105. <property name="orientation">
  1106. <enum>Qt::Horizontal</enum>
  1107. </property>
  1108. <property name="sizeHint" stdset="0">
  1109. <size>
  1110. <width>40</width>
  1111. <height>20</height>
  1112. </size>
  1113. </property>
  1114. </spacer>
  1115. </item>
  1116. <item row="0" column="0">
  1117. <widget class="QPushButton" name="readAllRecords">
  1118. <property name="sizePolicy">
  1119. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  1120. <horstretch>1</horstretch>
  1121. <verstretch>0</verstretch>
  1122. </sizepolicy>
  1123. </property>
  1124. <property name="minimumSize">
  1125. <size>
  1126. <width>0</width>
  1127. <height>30</height>
  1128. </size>
  1129. </property>
  1130. <property name="text">
  1131. <string>读取所有记录</string>
  1132. </property>
  1133. </widget>
  1134. </item>
  1135. <item row="4" column="0">
  1136. <spacer name="verticalSpacer_4">
  1137. <property name="orientation">
  1138. <enum>Qt::Vertical</enum>
  1139. </property>
  1140. <property name="sizeHint" stdset="0">
  1141. <size>
  1142. <width>20</width>
  1143. <height>40</height>
  1144. </size>
  1145. </property>
  1146. </spacer>
  1147. </item>
  1148. <item row="1" column="0">
  1149. <widget class="QPushButton" name="startUploadRecord">
  1150. <property name="sizePolicy">
  1151. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  1152. <horstretch>1</horstretch>
  1153. <verstretch>0</verstretch>
  1154. </sizepolicy>
  1155. </property>
  1156. <property name="minimumSize">
  1157. <size>
  1158. <width>0</width>
  1159. <height>30</height>
  1160. </size>
  1161. </property>
  1162. <property name="text">
  1163. <string>上传记录</string>
  1164. </property>
  1165. </widget>
  1166. </item>
  1167. <item row="2" column="0">
  1168. <widget class="QPushButton" name="stopUploadRecord">
  1169. <property name="sizePolicy">
  1170. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  1171. <horstretch>1</horstretch>
  1172. <verstretch>0</verstretch>
  1173. </sizepolicy>
  1174. </property>
  1175. <property name="minimumSize">
  1176. <size>
  1177. <width>0</width>
  1178. <height>30</height>
  1179. </size>
  1180. </property>
  1181. <property name="text">
  1182. <string>停止上传</string>
  1183. </property>
  1184. </widget>
  1185. </item>
  1186. <item row="3" column="0">
  1187. <widget class="QPushButton" name="delRecord">
  1188. <property name="sizePolicy">
  1189. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  1190. <horstretch>1</horstretch>
  1191. <verstretch>0</verstretch>
  1192. </sizepolicy>
  1193. </property>
  1194. <property name="minimumSize">
  1195. <size>
  1196. <width>0</width>
  1197. <height>30</height>
  1198. </size>
  1199. </property>
  1200. <property name="text">
  1201. <string>删除记录</string>
  1202. </property>
  1203. </widget>
  1204. </item>
  1205. <item row="3" column="1">
  1206. <widget class="QTextEdit" name="delRecord_p0">
  1207. <property name="sizePolicy">
  1208. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  1209. <horstretch>1</horstretch>
  1210. <verstretch>0</verstretch>
  1211. </sizepolicy>
  1212. </property>
  1213. <property name="minimumSize">
  1214. <size>
  1215. <width>0</width>
  1216. <height>0</height>
  1217. </size>
  1218. </property>
  1219. <property name="maximumSize">
  1220. <size>
  1221. <width>16777215</width>
  1222. <height>30</height>
  1223. </size>
  1224. </property>
  1225. </widget>
  1226. </item>
  1227. </layout>
  1228. </widget>
  1229. </item>
  1230. <item row="3" column="0">
  1231. <spacer name="verticalSpacer_3">
  1232. <property name="orientation">
  1233. <enum>Qt::Vertical</enum>
  1234. </property>
  1235. <property name="sizeHint" stdset="0">
  1236. <size>
  1237. <width>20</width>
  1238. <height>40</height>
  1239. </size>
  1240. </property>
  1241. </spacer>
  1242. </item>
  1243. <item row="2" column="0">
  1244. <widget class="QGroupBox" name="groupBox">
  1245. <property name="minimumSize">
  1246. <size>
  1247. <width>0</width>
  1248. <height>200</height>
  1249. </size>
  1250. </property>
  1251. <property name="title">
  1252. <string>采集&amp;预览</string>
  1253. </property>
  1254. <layout class="QGridLayout" name="gridLayout_4">
  1255. <item row="3" column="0">
  1256. <widget class="QPushButton" name="stopRealtimeReport">
  1257. <property name="sizePolicy">
  1258. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  1259. <horstretch>1</horstretch>
  1260. <verstretch>0</verstretch>
  1261. </sizepolicy>
  1262. </property>
  1263. <property name="minimumSize">
  1264. <size>
  1265. <width>0</width>
  1266. <height>30</height>
  1267. </size>
  1268. </property>
  1269. <property name="text">
  1270. <string>停止预览</string>
  1271. </property>
  1272. </widget>
  1273. </item>
  1274. <item row="1" column="0">
  1275. <widget class="QPushButton" name="stopCapture">
  1276. <property name="sizePolicy">
  1277. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  1278. <horstretch>1</horstretch>
  1279. <verstretch>0</verstretch>
  1280. </sizepolicy>
  1281. </property>
  1282. <property name="minimumSize">
  1283. <size>
  1284. <width>0</width>
  1285. <height>30</height>
  1286. </size>
  1287. </property>
  1288. <property name="text">
  1289. <string>停止采集</string>
  1290. </property>
  1291. </widget>
  1292. </item>
  1293. <item row="0" column="0">
  1294. <widget class="QPushButton" name="startCapture">
  1295. <property name="sizePolicy">
  1296. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  1297. <horstretch>1</horstretch>
  1298. <verstretch>0</verstretch>
  1299. </sizepolicy>
  1300. </property>
  1301. <property name="minimumSize">
  1302. <size>
  1303. <width>0</width>
  1304. <height>30</height>
  1305. </size>
  1306. </property>
  1307. <property name="text">
  1308. <string>开始采集</string>
  1309. </property>
  1310. </widget>
  1311. </item>
  1312. <item row="2" column="0">
  1313. <widget class="QPushButton" name="startRealtimeReport">
  1314. <property name="sizePolicy">
  1315. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  1316. <horstretch>1</horstretch>
  1317. <verstretch>0</verstretch>
  1318. </sizepolicy>
  1319. </property>
  1320. <property name="minimumSize">
  1321. <size>
  1322. <width>0</width>
  1323. <height>30</height>
  1324. </size>
  1325. </property>
  1326. <property name="text">
  1327. <string>开始预览</string>
  1328. </property>
  1329. </widget>
  1330. </item>
  1331. </layout>
  1332. </widget>
  1333. </item>
  1334. </layout>
  1335. </widget>
  1336. <widget class="QWidget" name="tab">
  1337. <attribute name="title">
  1338. <string>设备测试</string>
  1339. </attribute>
  1340. <layout class="QVBoxLayout" name="verticalLayout_9">
  1341. <item>
  1342. <widget class="QGroupBox" name="groupBox_2">
  1343. <property name="minimumSize">
  1344. <size>
  1345. <width>0</width>
  1346. <height>300</height>
  1347. </size>
  1348. </property>
  1349. <property name="title">
  1350. <string>测试指令</string>
  1351. </property>
  1352. <layout class="QGridLayout" name="gridLayout_7">
  1353. <item row="3" column="1">
  1354. <widget class="QTextEdit" name="TestCmd_writeSubICRegMask_p0">
  1355. <property name="sizePolicy">
  1356. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  1357. <horstretch>1</horstretch>
  1358. <verstretch>0</verstretch>
  1359. </sizepolicy>
  1360. </property>
  1361. <property name="minimumSize">
  1362. <size>
  1363. <width>0</width>
  1364. <height>0</height>
  1365. </size>
  1366. </property>
  1367. <property name="maximumSize">
  1368. <size>
  1369. <width>16777215</width>
  1370. <height>30</height>
  1371. </size>
  1372. </property>
  1373. </widget>
  1374. </item>
  1375. <item row="3" column="3">
  1376. <widget class="QTextEdit" name="TestCmd_writeSubICRegMask_p2">
  1377. <property name="sizePolicy">
  1378. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  1379. <horstretch>1</horstretch>
  1380. <verstretch>0</verstretch>
  1381. </sizepolicy>
  1382. </property>
  1383. <property name="minimumSize">
  1384. <size>
  1385. <width>0</width>
  1386. <height>0</height>
  1387. </size>
  1388. </property>
  1389. <property name="maximumSize">
  1390. <size>
  1391. <width>16777215</width>
  1392. <height>30</height>
  1393. </size>
  1394. </property>
  1395. </widget>
  1396. </item>
  1397. <item row="5" column="0" colspan="5">
  1398. <widget class="QGroupBox" name="groupBox_9">
  1399. <property name="title">
  1400. <string>预设配置</string>
  1401. </property>
  1402. <layout class="QGridLayout" name="gridLayout_15">
  1403. <item row="0" column="0">
  1404. <widget class="QLabel" name="label_21">
  1405. <property name="maximumSize">
  1406. <size>
  1407. <width>16777215</width>
  1408. <height>1</height>
  1409. </size>
  1410. </property>
  1411. <property name="text">
  1412. <string/>
  1413. </property>
  1414. </widget>
  1415. </item>
  1416. <item row="1" column="0">
  1417. <widget class="QPushButton" name="TestCmd_changeECGSrcToSquareWave">
  1418. <property name="minimumSize">
  1419. <size>
  1420. <width>0</width>
  1421. <height>30</height>
  1422. </size>
  1423. </property>
  1424. <property name="text">
  1425. <string>修改信号源为方波</string>
  1426. </property>
  1427. </widget>
  1428. </item>
  1429. <item row="0" column="2">
  1430. <widget class="QLabel" name="label_22">
  1431. <property name="maximumSize">
  1432. <size>
  1433. <width>16777215</width>
  1434. <height>1</height>
  1435. </size>
  1436. </property>
  1437. <property name="text">
  1438. <string/>
  1439. </property>
  1440. </widget>
  1441. </item>
  1442. <item row="0" column="1">
  1443. <widget class="QLabel" name="label_23">
  1444. <property name="maximumSize">
  1445. <size>
  1446. <width>16777215</width>
  1447. <height>1</height>
  1448. </size>
  1449. </property>
  1450. <property name="text">
  1451. <string/>
  1452. </property>
  1453. </widget>
  1454. </item>
  1455. <item row="0" column="3">
  1456. <widget class="QLabel" name="label_24">
  1457. <property name="maximumSize">
  1458. <size>
  1459. <width>16777215</width>
  1460. <height>1</height>
  1461. </size>
  1462. </property>
  1463. <property name="text">
  1464. <string/>
  1465. </property>
  1466. </widget>
  1467. </item>
  1468. <item row="0" column="4">
  1469. <widget class="QLabel" name="label_13">
  1470. <property name="minimumSize">
  1471. <size>
  1472. <width>0</width>
  1473. <height>1</height>
  1474. </size>
  1475. </property>
  1476. <property name="maximumSize">
  1477. <size>
  1478. <width>16777215</width>
  1479. <height>1</height>
  1480. </size>
  1481. </property>
  1482. <property name="text">
  1483. <string/>
  1484. </property>
  1485. </widget>
  1486. </item>
  1487. </layout>
  1488. </widget>
  1489. </item>
  1490. <item row="7" column="0">
  1491. <spacer name="verticalSpacer_2">
  1492. <property name="orientation">
  1493. <enum>Qt::Vertical</enum>
  1494. </property>
  1495. <property name="sizeHint" stdset="0">
  1496. <size>
  1497. <width>20</width>
  1498. <height>40</height>
  1499. </size>
  1500. </property>
  1501. </spacer>
  1502. </item>
  1503. <item row="3" column="0">
  1504. <widget class="QPushButton" name="TestCmd_writeSubICRegMask">
  1505. <property name="sizePolicy">
  1506. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  1507. <horstretch>1</horstretch>
  1508. <verstretch>0</verstretch>
  1509. </sizepolicy>
  1510. </property>
  1511. <property name="minimumSize">
  1512. <size>
  1513. <width>0</width>
  1514. <height>30</height>
  1515. </size>
  1516. </property>
  1517. <property name="text">
  1518. <string>写ECG寄存器()</string>
  1519. </property>
  1520. </widget>
  1521. </item>
  1522. <item row="3" column="4">
  1523. <widget class="QTextEdit" name="TestCmd_writeSubICRegMask_p3">
  1524. <property name="sizePolicy">
  1525. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  1526. <horstretch>1</horstretch>
  1527. <verstretch>0</verstretch>
  1528. </sizepolicy>
  1529. </property>
  1530. <property name="minimumSize">
  1531. <size>
  1532. <width>0</width>
  1533. <height>0</height>
  1534. </size>
  1535. </property>
  1536. <property name="maximumSize">
  1537. <size>
  1538. <width>16777215</width>
  1539. <height>30</height>
  1540. </size>
  1541. </property>
  1542. </widget>
  1543. </item>
  1544. <item row="1" column="1" colspan="4">
  1545. <widget class="QTextEdit" name="TestCmd_writeSubICAllReg_p0">
  1546. <property name="sizePolicy">
  1547. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  1548. <horstretch>1</horstretch>
  1549. <verstretch>0</verstretch>
  1550. </sizepolicy>
  1551. </property>
  1552. <property name="minimumSize">
  1553. <size>
  1554. <width>0</width>
  1555. <height>0</height>
  1556. </size>
  1557. </property>
  1558. <property name="maximumSize">
  1559. <size>
  1560. <width>16777215</width>
  1561. <height>30</height>
  1562. </size>
  1563. </property>
  1564. </widget>
  1565. </item>
  1566. <item row="0" column="0">
  1567. <widget class="QPushButton" name="TestCmd_readSubIcRegs">
  1568. <property name="minimumSize">
  1569. <size>
  1570. <width>0</width>
  1571. <height>30</height>
  1572. </size>
  1573. </property>
  1574. <property name="text">
  1575. <string>读取ECG芯片寄存器</string>
  1576. </property>
  1577. </widget>
  1578. </item>
  1579. <item row="1" column="0">
  1580. <widget class="QPushButton" name="TestCmd_writeSubICAllReg">
  1581. <property name="minimumSize">
  1582. <size>
  1583. <width>0</width>
  1584. <height>30</height>
  1585. </size>
  1586. </property>
  1587. <property name="text">
  1588. <string>批量设置寄存器</string>
  1589. </property>
  1590. </widget>
  1591. </item>
  1592. <item row="3" column="2">
  1593. <widget class="QTextEdit" name="TestCmd_writeSubICRegMask_p1">
  1594. <property name="sizePolicy">
  1595. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  1596. <horstretch>1</horstretch>
  1597. <verstretch>0</verstretch>
  1598. </sizepolicy>
  1599. </property>
  1600. <property name="minimumSize">
  1601. <size>
  1602. <width>0</width>
  1603. <height>0</height>
  1604. </size>
  1605. </property>
  1606. <property name="maximumSize">
  1607. <size>
  1608. <width>16777215</width>
  1609. <height>30</height>
  1610. </size>
  1611. </property>
  1612. </widget>
  1613. </item>
  1614. <item row="6" column="0" colspan="5">
  1615. <widget class="QGroupBox" name="groupBox_10">
  1616. <property name="title">
  1617. <string>基本操作</string>
  1618. </property>
  1619. <layout class="QGridLayout" name="gridLayout_16">
  1620. <item row="0" column="0">
  1621. <widget class="QLabel" name="label_25">
  1622. <property name="maximumSize">
  1623. <size>
  1624. <width>16777215</width>
  1625. <height>1</height>
  1626. </size>
  1627. </property>
  1628. <property name="text">
  1629. <string/>
  1630. </property>
  1631. </widget>
  1632. </item>
  1633. <item row="0" column="1">
  1634. <widget class="QLabel" name="label_27">
  1635. <property name="maximumSize">
  1636. <size>
  1637. <width>16777215</width>
  1638. <height>1</height>
  1639. </size>
  1640. </property>
  1641. <property name="text">
  1642. <string/>
  1643. </property>
  1644. </widget>
  1645. </item>
  1646. <item row="1" column="1">
  1647. <widget class="QPushButton" name="TestCmd_stopCapture">
  1648. <property name="minimumSize">
  1649. <size>
  1650. <width>0</width>
  1651. <height>30</height>
  1652. </size>
  1653. </property>
  1654. <property name="text">
  1655. <string>停止采集</string>
  1656. </property>
  1657. </widget>
  1658. </item>
  1659. <item row="0" column="4">
  1660. <widget class="QLabel" name="label_14">
  1661. <property name="minimumSize">
  1662. <size>
  1663. <width>0</width>
  1664. <height>1</height>
  1665. </size>
  1666. </property>
  1667. <property name="maximumSize">
  1668. <size>
  1669. <width>16777215</width>
  1670. <height>1</height>
  1671. </size>
  1672. </property>
  1673. <property name="text">
  1674. <string/>
  1675. </property>
  1676. </widget>
  1677. </item>
  1678. <item row="1" column="0">
  1679. <widget class="QPushButton" name="TestCmd_startCapture">
  1680. <property name="minimumSize">
  1681. <size>
  1682. <width>0</width>
  1683. <height>30</height>
  1684. </size>
  1685. </property>
  1686. <property name="text">
  1687. <string>开始采集</string>
  1688. </property>
  1689. </widget>
  1690. </item>
  1691. <item row="0" column="2">
  1692. <widget class="QLabel" name="label_26">
  1693. <property name="maximumSize">
  1694. <size>
  1695. <width>16777215</width>
  1696. <height>1</height>
  1697. </size>
  1698. </property>
  1699. <property name="text">
  1700. <string/>
  1701. </property>
  1702. </widget>
  1703. </item>
  1704. <item row="0" column="3">
  1705. <widget class="QLabel" name="label_28">
  1706. <property name="maximumSize">
  1707. <size>
  1708. <width>16777215</width>
  1709. <height>1</height>
  1710. </size>
  1711. </property>
  1712. <property name="text">
  1713. <string/>
  1714. </property>
  1715. </widget>
  1716. </item>
  1717. </layout>
  1718. </widget>
  1719. </item>
  1720. <item row="2" column="0">
  1721. <widget class="QPushButton" name="TestCmd_writeSubICReg">
  1722. <property name="minimumSize">
  1723. <size>
  1724. <width>0</width>
  1725. <height>30</height>
  1726. </size>
  1727. </property>
  1728. <property name="text">
  1729. <string>写ECG寄存器</string>
  1730. </property>
  1731. </widget>
  1732. </item>
  1733. <item row="2" column="1">
  1734. <widget class="QTextEdit" name="TestCmd_writeSubICReg_p0">
  1735. <property name="sizePolicy">
  1736. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  1737. <horstretch>1</horstretch>
  1738. <verstretch>0</verstretch>
  1739. </sizepolicy>
  1740. </property>
  1741. <property name="minimumSize">
  1742. <size>
  1743. <width>0</width>
  1744. <height>0</height>
  1745. </size>
  1746. </property>
  1747. <property name="maximumSize">
  1748. <size>
  1749. <width>16777215</width>
  1750. <height>30</height>
  1751. </size>
  1752. </property>
  1753. </widget>
  1754. </item>
  1755. <item row="2" column="2">
  1756. <widget class="QTextEdit" name="TestCmd_writeSubICReg_p1">
  1757. <property name="sizePolicy">
  1758. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  1759. <horstretch>1</horstretch>
  1760. <verstretch>0</verstretch>
  1761. </sizepolicy>
  1762. </property>
  1763. <property name="minimumSize">
  1764. <size>
  1765. <width>0</width>
  1766. <height>0</height>
  1767. </size>
  1768. </property>
  1769. <property name="maximumSize">
  1770. <size>
  1771. <width>16777215</width>
  1772. <height>30</height>
  1773. </size>
  1774. </property>
  1775. </widget>
  1776. </item>
  1777. </layout>
  1778. </widget>
  1779. </item>
  1780. <item>
  1781. <spacer name="verticalSpacer_6">
  1782. <property name="orientation">
  1783. <enum>Qt::Vertical</enum>
  1784. </property>
  1785. <property name="sizeHint" stdset="0">
  1786. <size>
  1787. <width>20</width>
  1788. <height>40</height>
  1789. </size>
  1790. </property>
  1791. </spacer>
  1792. </item>
  1793. </layout>
  1794. </widget>
  1795. <widget class="QWidget" name="tab_2">
  1796. <attribute name="title">
  1797. <string>滤波器配置</string>
  1798. </attribute>
  1799. <widget class="QGroupBox" name="FilterBox">
  1800. <property name="geometry">
  1801. <rect>
  1802. <x>10</x>
  1803. <y>10</y>
  1804. <width>650</width>
  1805. <height>371</height>
  1806. </rect>
  1807. </property>
  1808. <property name="title">
  1809. <string>滤波器配置</string>
  1810. </property>
  1811. <layout class="QGridLayout" name="gridLayout_12">
  1812. <item row="0" column="0">
  1813. <widget class="QGroupBox" name="LPFilterBox">
  1814. <property name="title">
  1815. <string>低通滤波器</string>
  1816. </property>
  1817. <layout class="QGridLayout" name="gridLayout_8">
  1818. <item row="3" column="0">
  1819. <spacer name="verticalSpacer_7">
  1820. <property name="orientation">
  1821. <enum>Qt::Vertical</enum>
  1822. </property>
  1823. <property name="sizeHint" stdset="0">
  1824. <size>
  1825. <width>20</width>
  1826. <height>40</height>
  1827. </size>
  1828. </property>
  1829. </spacer>
  1830. </item>
  1831. <item row="1" column="0">
  1832. <widget class="QLabel" name="label">
  1833. <property name="sizePolicy">
  1834. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  1835. <horstretch>1</horstretch>
  1836. <verstretch>0</verstretch>
  1837. </sizepolicy>
  1838. </property>
  1839. <property name="text">
  1840. <string>截至频率(HZ)</string>
  1841. </property>
  1842. </widget>
  1843. </item>
  1844. <item row="1" column="1">
  1845. <widget class="QLineEdit" name="LPFilter_CutoffFreqHz">
  1846. <property name="sizePolicy">
  1847. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  1848. <horstretch>1</horstretch>
  1849. <verstretch>0</verstretch>
  1850. </sizepolicy>
  1851. </property>
  1852. <property name="text">
  1853. <string/>
  1854. </property>
  1855. </widget>
  1856. </item>
  1857. <item row="0" column="1">
  1858. <widget class="QCheckBox" name="LPFilter_Enable">
  1859. <property name="sizePolicy">
  1860. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  1861. <horstretch>1</horstretch>
  1862. <verstretch>0</verstretch>
  1863. </sizepolicy>
  1864. </property>
  1865. <property name="text">
  1866. <string/>
  1867. </property>
  1868. </widget>
  1869. </item>
  1870. <item row="0" column="0">
  1871. <widget class="QLabel" name="label_2">
  1872. <property name="sizePolicy">
  1873. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  1874. <horstretch>1</horstretch>
  1875. <verstretch>0</verstretch>
  1876. </sizepolicy>
  1877. </property>
  1878. <property name="text">
  1879. <string>使能</string>
  1880. </property>
  1881. </widget>
  1882. </item>
  1883. <item row="2" column="1">
  1884. <widget class="QLineEdit" name="LPFilter_Order">
  1885. <property name="sizePolicy">
  1886. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  1887. <horstretch>1</horstretch>
  1888. <verstretch>0</verstretch>
  1889. </sizepolicy>
  1890. </property>
  1891. </widget>
  1892. </item>
  1893. <item row="2" column="0">
  1894. <widget class="QLabel" name="label_5">
  1895. <property name="sizePolicy">
  1896. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  1897. <horstretch>1</horstretch>
  1898. <verstretch>0</verstretch>
  1899. </sizepolicy>
  1900. </property>
  1901. <property name="text">
  1902. <string>阶级</string>
  1903. </property>
  1904. </widget>
  1905. </item>
  1906. </layout>
  1907. </widget>
  1908. </item>
  1909. <item row="0" column="2">
  1910. <widget class="QGroupBox" name="HPFilter_Box_2">
  1911. <property name="title">
  1912. <string>陷波滤波器(带阻)</string>
  1913. </property>
  1914. <layout class="QGridLayout" name="gridLayout_10">
  1915. <item row="1" column="0">
  1916. <widget class="QLabel" name="label_7">
  1917. <property name="sizePolicy">
  1918. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  1919. <horstretch>1</horstretch>
  1920. <verstretch>0</verstretch>
  1921. </sizepolicy>
  1922. </property>
  1923. <property name="text">
  1924. <string>中心频率(HZ)</string>
  1925. </property>
  1926. </widget>
  1927. </item>
  1928. <item row="2" column="0">
  1929. <widget class="QLabel" name="label_9">
  1930. <property name="sizePolicy">
  1931. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  1932. <horstretch>1</horstretch>
  1933. <verstretch>0</verstretch>
  1934. </sizepolicy>
  1935. </property>
  1936. <property name="text">
  1937. <string>窗口宽度(HZ)</string>
  1938. </property>
  1939. </widget>
  1940. </item>
  1941. <item row="1" column="1">
  1942. <widget class="QLineEdit" name="NOTCHFilter_CenterFreqHz">
  1943. <property name="sizePolicy">
  1944. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  1945. <horstretch>1</horstretch>
  1946. <verstretch>0</verstretch>
  1947. </sizepolicy>
  1948. </property>
  1949. <property name="text">
  1950. <string/>
  1951. </property>
  1952. </widget>
  1953. </item>
  1954. <item row="0" column="0">
  1955. <widget class="QLabel" name="label_8">
  1956. <property name="sizePolicy">
  1957. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  1958. <horstretch>1</horstretch>
  1959. <verstretch>0</verstretch>
  1960. </sizepolicy>
  1961. </property>
  1962. <property name="text">
  1963. <string>使能</string>
  1964. </property>
  1965. </widget>
  1966. </item>
  1967. <item row="2" column="1">
  1968. <widget class="QLineEdit" name="NOTCHFilter_NotchWidthHz">
  1969. <property name="sizePolicy">
  1970. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  1971. <horstretch>1</horstretch>
  1972. <verstretch>0</verstretch>
  1973. </sizepolicy>
  1974. </property>
  1975. </widget>
  1976. </item>
  1977. <item row="0" column="1">
  1978. <widget class="QCheckBox" name="NOTCHFilter_Enable">
  1979. <property name="sizePolicy">
  1980. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  1981. <horstretch>1</horstretch>
  1982. <verstretch>0</verstretch>
  1983. </sizepolicy>
  1984. </property>
  1985. <property name="text">
  1986. <string/>
  1987. </property>
  1988. </widget>
  1989. </item>
  1990. <item row="5" column="0">
  1991. <spacer name="verticalSpacer_9">
  1992. <property name="orientation">
  1993. <enum>Qt::Vertical</enum>
  1994. </property>
  1995. <property name="sizeHint" stdset="0">
  1996. <size>
  1997. <width>20</width>
  1998. <height>40</height>
  1999. </size>
  2000. </property>
  2001. </spacer>
  2002. </item>
  2003. <item row="3" column="1">
  2004. <widget class="QLineEdit" name="NOTCHFilter_Order">
  2005. <property name="sizePolicy">
  2006. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  2007. <horstretch>1</horstretch>
  2008. <verstretch>0</verstretch>
  2009. </sizepolicy>
  2010. </property>
  2011. </widget>
  2012. </item>
  2013. <item row="3" column="0">
  2014. <widget class="QLabel" name="label_11">
  2015. <property name="sizePolicy">
  2016. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  2017. <horstretch>1</horstretch>
  2018. <verstretch>0</verstretch>
  2019. </sizepolicy>
  2020. </property>
  2021. <property name="text">
  2022. <string>阶级</string>
  2023. </property>
  2024. </widget>
  2025. </item>
  2026. </layout>
  2027. </widget>
  2028. </item>
  2029. <item row="0" column="1">
  2030. <widget class="QGroupBox" name="HPFilter_Box">
  2031. <property name="title">
  2032. <string>高通滤波器</string>
  2033. </property>
  2034. <layout class="QGridLayout" name="gridLayout_9">
  2035. <item row="3" column="0">
  2036. <spacer name="verticalSpacer_8">
  2037. <property name="orientation">
  2038. <enum>Qt::Vertical</enum>
  2039. </property>
  2040. <property name="sizeHint" stdset="0">
  2041. <size>
  2042. <width>20</width>
  2043. <height>40</height>
  2044. </size>
  2045. </property>
  2046. </spacer>
  2047. </item>
  2048. <item row="1" column="0">
  2049. <widget class="QLabel" name="label_3">
  2050. <property name="sizePolicy">
  2051. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  2052. <horstretch>1</horstretch>
  2053. <verstretch>0</verstretch>
  2054. </sizepolicy>
  2055. </property>
  2056. <property name="text">
  2057. <string>截至频率(HZ)</string>
  2058. </property>
  2059. </widget>
  2060. </item>
  2061. <item row="1" column="1">
  2062. <widget class="QLineEdit" name="HPFilter_CutoffFreqHz">
  2063. <property name="sizePolicy">
  2064. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  2065. <horstretch>1</horstretch>
  2066. <verstretch>0</verstretch>
  2067. </sizepolicy>
  2068. </property>
  2069. <property name="text">
  2070. <string/>
  2071. </property>
  2072. </widget>
  2073. </item>
  2074. <item row="0" column="1">
  2075. <widget class="QCheckBox" name="HPFilter_Enable">
  2076. <property name="sizePolicy">
  2077. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  2078. <horstretch>1</horstretch>
  2079. <verstretch>0</verstretch>
  2080. </sizepolicy>
  2081. </property>
  2082. <property name="text">
  2083. <string/>
  2084. </property>
  2085. </widget>
  2086. </item>
  2087. <item row="0" column="0">
  2088. <widget class="QLabel" name="label_4">
  2089. <property name="sizePolicy">
  2090. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  2091. <horstretch>1</horstretch>
  2092. <verstretch>0</verstretch>
  2093. </sizepolicy>
  2094. </property>
  2095. <property name="text">
  2096. <string>使能</string>
  2097. </property>
  2098. </widget>
  2099. </item>
  2100. <item row="2" column="1">
  2101. <widget class="QLineEdit" name="HPFilter_Order">
  2102. <property name="sizePolicy">
  2103. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  2104. <horstretch>1</horstretch>
  2105. <verstretch>0</verstretch>
  2106. </sizepolicy>
  2107. </property>
  2108. </widget>
  2109. </item>
  2110. <item row="2" column="0">
  2111. <widget class="QLabel" name="label_6">
  2112. <property name="sizePolicy">
  2113. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  2114. <horstretch>1</horstretch>
  2115. <verstretch>0</verstretch>
  2116. </sizepolicy>
  2117. </property>
  2118. <property name="text">
  2119. <string>阶级</string>
  2120. </property>
  2121. </widget>
  2122. </item>
  2123. </layout>
  2124. </widget>
  2125. </item>
  2126. <item row="1" column="0" colspan="3">
  2127. <widget class="QGroupBox" name="groupBox_6">
  2128. <property name="minimumSize">
  2129. <size>
  2130. <width>0</width>
  2131. <height>150</height>
  2132. </size>
  2133. </property>
  2134. <property name="title">
  2135. <string>通用参数</string>
  2136. </property>
  2137. <layout class="QGridLayout" name="gridLayout_11">
  2138. <item row="0" column="1">
  2139. <widget class="QLineEdit" name="FilterCommon_SampleTimeMs">
  2140. <property name="sizePolicy">
  2141. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  2142. <horstretch>1</horstretch>
  2143. <verstretch>0</verstretch>
  2144. </sizepolicy>
  2145. </property>
  2146. <property name="text">
  2147. <string/>
  2148. </property>
  2149. </widget>
  2150. </item>
  2151. <item row="0" column="0">
  2152. <widget class="QLabel" name="label_10">
  2153. <property name="sizePolicy">
  2154. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  2155. <horstretch>1</horstretch>
  2156. <verstretch>0</verstretch>
  2157. </sizepolicy>
  2158. </property>
  2159. <property name="text">
  2160. <string>数据采样周期</string>
  2161. </property>
  2162. </widget>
  2163. </item>
  2164. <item row="0" column="2">
  2165. <spacer name="horizontalSpacer">
  2166. <property name="orientation">
  2167. <enum>Qt::Horizontal</enum>
  2168. </property>
  2169. <property name="sizeHint" stdset="0">
  2170. <size>
  2171. <width>300</width>
  2172. <height>20</height>
  2173. </size>
  2174. </property>
  2175. </spacer>
  2176. </item>
  2177. <item row="1" column="2">
  2178. <spacer name="verticalSpacer_10">
  2179. <property name="orientation">
  2180. <enum>Qt::Vertical</enum>
  2181. </property>
  2182. <property name="sizeHint" stdset="0">
  2183. <size>
  2184. <width>20</width>
  2185. <height>40</height>
  2186. </size>
  2187. </property>
  2188. </spacer>
  2189. </item>
  2190. </layout>
  2191. </widget>
  2192. </item>
  2193. </layout>
  2194. </widget>
  2195. <widget class="QPushButton" name="FilterUpdateParameter">
  2196. <property name="geometry">
  2197. <rect>
  2198. <x>540</x>
  2199. <y>400</y>
  2200. <width>111</width>
  2201. <height>41</height>
  2202. </rect>
  2203. </property>
  2204. <property name="text">
  2205. <string>更新滤波器参数</string>
  2206. </property>
  2207. </widget>
  2208. </widget>
  2209. </widget>
  2210. </item>
  2211. <item>
  2212. <widget class="QGroupBox" name="displayGroupBox">
  2213. <property name="sizePolicy">
  2214. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  2215. <horstretch>0</horstretch>
  2216. <verstretch>0</verstretch>
  2217. </sizepolicy>
  2218. </property>
  2219. <property name="minimumSize">
  2220. <size>
  2221. <width>600</width>
  2222. <height>0</height>
  2223. </size>
  2224. </property>
  2225. <property name="maximumSize">
  2226. <size>
  2227. <width>16777215</width>
  2228. <height>16777215</height>
  2229. </size>
  2230. </property>
  2231. <property name="title">
  2232. <string>DisplayBox</string>
  2233. </property>
  2234. <layout class="QVBoxLayout" name="verticalLayout_4">
  2235. <item>
  2236. <widget class="QGroupBox" name="instructionPreviewBox">
  2237. <property name="title">
  2238. <string>指令回执显示</string>
  2239. </property>
  2240. <layout class="QVBoxLayout" name="verticalLayout_6">
  2241. <item>
  2242. <widget class="QTextBrowser" name="instructionPreview">
  2243. <property name="sizePolicy">
  2244. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  2245. <horstretch>0</horstretch>
  2246. <verstretch>0</verstretch>
  2247. </sizepolicy>
  2248. </property>
  2249. <property name="minimumSize">
  2250. <size>
  2251. <width>0</width>
  2252. <height>0</height>
  2253. </size>
  2254. </property>
  2255. </widget>
  2256. </item>
  2257. </layout>
  2258. </widget>
  2259. </item>
  2260. <item>
  2261. <widget class="QGroupBox" name="reportPreviewBox">
  2262. <property name="title">
  2263. <string>上报回执显示</string>
  2264. </property>
  2265. <layout class="QVBoxLayout" name="verticalLayout_7">
  2266. <item>
  2267. <widget class="QTextBrowser" name="reportPreview">
  2268. <property name="sizePolicy">
  2269. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  2270. <horstretch>0</horstretch>
  2271. <verstretch>0</verstretch>
  2272. </sizepolicy>
  2273. </property>
  2274. <property name="minimumSize">
  2275. <size>
  2276. <width>0</width>
  2277. <height>0</height>
  2278. </size>
  2279. </property>
  2280. </widget>
  2281. </item>
  2282. </layout>
  2283. </widget>
  2284. </item>
  2285. <item>
  2286. <widget class="QGroupBox" name="uploadDataPreviewBox">
  2287. <property name="title">
  2288. <string>上传数据显示</string>
  2289. </property>
  2290. <layout class="QVBoxLayout" name="verticalLayout_5">
  2291. <item>
  2292. <widget class="QTextBrowser" name="uploadDataPreview">
  2293. <property name="sizePolicy">
  2294. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  2295. <horstretch>0</horstretch>
  2296. <verstretch>0</verstretch>
  2297. </sizepolicy>
  2298. </property>
  2299. <property name="minimumSize">
  2300. <size>
  2301. <width>0</width>
  2302. <height>0</height>
  2303. </size>
  2304. </property>
  2305. </widget>
  2306. </item>
  2307. </layout>
  2308. </widget>
  2309. </item>
  2310. <item>
  2311. <widget class="QGroupBox" name="uploadDataPreviewBox_2">
  2312. <property name="title">
  2313. <string>二进制</string>
  2314. </property>
  2315. <layout class="QVBoxLayout" name="verticalLayout_8">
  2316. <item>
  2317. <widget class="QTextBrowser" name="rawDataPreview">
  2318. <property name="sizePolicy">
  2319. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  2320. <horstretch>0</horstretch>
  2321. <verstretch>0</verstretch>
  2322. </sizepolicy>
  2323. </property>
  2324. <property name="minimumSize">
  2325. <size>
  2326. <width>0</width>
  2327. <height>0</height>
  2328. </size>
  2329. </property>
  2330. </widget>
  2331. </item>
  2332. </layout>
  2333. </widget>
  2334. </item>
  2335. </layout>
  2336. </widget>
  2337. </item>
  2338. </layout>
  2339. </widget>
  2340. </item>
  2341. </layout>
  2342. </widget>
  2343. </item>
  2344. </layout>
  2345. </widget>
  2346. <widget class="QMenuBar" name="menubar">
  2347. <property name="geometry">
  2348. <rect>
  2349. <x>0</x>
  2350. <y>0</y>
  2351. <width>1532</width>
  2352. <height>20</height>
  2353. </rect>
  2354. </property>
  2355. <widget class="QMenu" name="menu123">
  2356. <property name="title">
  2357. <string>iflytop</string>
  2358. </property>
  2359. </widget>
  2360. <addaction name="menu123"/>
  2361. </widget>
  2362. <widget class="QStatusBar" name="statusbar"/>
  2363. </widget>
  2364. <resources/>
  2365. <connections/>
  2366. </ui>