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.

2385 lines
90 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
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>250</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="1" column="1">
  631. <widget class="QComboBox" name="serialBaudrateCB"/>
  632. </item>
  633. <item row="1" column="0">
  634. <widget class="QLabel" name="serialBaudrateLable">
  635. <property name="text">
  636. <string>波特率</string>
  637. </property>
  638. </widget>
  639. </item>
  640. <item row="0" column="1">
  641. <widget class="QComboBox" name="serialPortCB"/>
  642. </item>
  643. <item row="0" column="0">
  644. <widget class="QLabel" name="serialPortLable">
  645. <property name="text">
  646. <string>串口</string>
  647. </property>
  648. </widget>
  649. </item>
  650. <item row="4" column="0" colspan="2">
  651. <widget class="QPushButton" name="serialOpenKey">
  652. <property name="text">
  653. <string>打开</string>
  654. </property>
  655. </widget>
  656. </item>
  657. <item row="3" column="0" colspan="2">
  658. <widget class="QPushButton" name="serialPortRefreshKey">
  659. <property name="text">
  660. <string>刷新</string>
  661. </property>
  662. </widget>
  663. </item>
  664. <item row="2" column="1">
  665. <widget class="QComboBox" name="deviceType">
  666. <property name="sizePolicy">
  667. <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
  668. <horstretch>2</horstretch>
  669. <verstretch>0</verstretch>
  670. </sizepolicy>
  671. </property>
  672. </widget>
  673. </item>
  674. <item row="2" column="0">
  675. <widget class="QLabel" name="serialPortLable_2">
  676. <property name="text">
  677. <string>型号</string>
  678. </property>
  679. </widget>
  680. </item>
  681. </layout>
  682. </widget>
  683. </item>
  684. <item>
  685. <widget class="QGroupBox" name="StateGB">
  686. <property name="sizePolicy">
  687. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  688. <horstretch>0</horstretch>
  689. <verstretch>0</verstretch>
  690. </sizepolicy>
  691. </property>
  692. <property name="minimumSize">
  693. <size>
  694. <width>0</width>
  695. <height>0</height>
  696. </size>
  697. </property>
  698. <property name="maximumSize">
  699. <size>
  700. <width>16777215</width>
  701. <height>16777215</height>
  702. </size>
  703. </property>
  704. <property name="autoFillBackground">
  705. <bool>false</bool>
  706. </property>
  707. <property name="title">
  708. <string>状态</string>
  709. </property>
  710. <layout class="QFormLayout" name="formLayout_2">
  711. <item row="0" column="0">
  712. <widget class="QLabel" name="DeviceConnectStateLable">
  713. <property name="sizePolicy">
  714. <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
  715. <horstretch>0</horstretch>
  716. <verstretch>0</verstretch>
  717. </sizepolicy>
  718. </property>
  719. <property name="minimumSize">
  720. <size>
  721. <width>0</width>
  722. <height>25</height>
  723. </size>
  724. </property>
  725. <property name="maximumSize">
  726. <size>
  727. <width>16777215</width>
  728. <height>25</height>
  729. </size>
  730. </property>
  731. <property name="text">
  732. <string>设备连接状态</string>
  733. </property>
  734. </widget>
  735. </item>
  736. <item row="0" column="1">
  737. <widget class="QTextBrowser" name="DeviceConnectStateTB">
  738. <property name="sizePolicy">
  739. <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
  740. <horstretch>0</horstretch>
  741. <verstretch>0</verstretch>
  742. </sizepolicy>
  743. </property>
  744. <property name="minimumSize">
  745. <size>
  746. <width>0</width>
  747. <height>25</height>
  748. </size>
  749. </property>
  750. <property name="maximumSize">
  751. <size>
  752. <width>16777215</width>
  753. <height>25</height>
  754. </size>
  755. </property>
  756. <property name="lineWrapColumnOrWidth">
  757. <number>2</number>
  758. </property>
  759. </widget>
  760. </item>
  761. </layout>
  762. </widget>
  763. </item>
  764. <item>
  765. <widget class="QGroupBox" name="FunctionKeyGB">
  766. <property name="minimumSize">
  767. <size>
  768. <width>0</width>
  769. <height>0</height>
  770. </size>
  771. </property>
  772. <property name="title">
  773. <string>功能按键</string>
  774. </property>
  775. <layout class="QVBoxLayout" name="verticalLayout_3">
  776. <item>
  777. <widget class="QPushButton" name="clearPreview">
  778. <property name="sizePolicy">
  779. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  780. <horstretch>1</horstretch>
  781. <verstretch>0</verstretch>
  782. </sizepolicy>
  783. </property>
  784. <property name="minimumSize">
  785. <size>
  786. <width>0</width>
  787. <height>30</height>
  788. </size>
  789. </property>
  790. <property name="text">
  791. <string>清空显示</string>
  792. </property>
  793. </widget>
  794. </item>
  795. </layout>
  796. </widget>
  797. </item>
  798. <item>
  799. <widget class="QTextBrowser" name="textBrowser">
  800. <property name="html">
  801. <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;
  802. &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;
  803. p, li { white-space: pre-wrap; }
  804. &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'SimSun'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
  805. &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;
  806. &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;
  807. &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;
  808. &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;
  809. &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;
  810. &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;
  811. &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; color:#ff0000;&quot;&gt;&lt;br /&gt;&lt;/p&gt;
  812. &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;
  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;V2:支持原始数据保存&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; &lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  815. </property>
  816. </widget>
  817. </item>
  818. <item>
  819. <widget class="QGroupBox" name="groupBox_5">
  820. <property name="minimumSize">
  821. <size>
  822. <width>0</width>
  823. <height>100</height>
  824. </size>
  825. </property>
  826. <property name="title">
  827. <string>GroupBox</string>
  828. </property>
  829. <widget class="QLabel" name="label_20">
  830. <property name="geometry">
  831. <rect>
  832. <x>110</x>
  833. <y>50</y>
  834. <width>147</width>
  835. <height>1</height>
  836. </rect>
  837. </property>
  838. <property name="maximumSize">
  839. <size>
  840. <width>16777215</width>
  841. <height>1</height>
  842. </size>
  843. </property>
  844. <property name="text">
  845. <string/>
  846. </property>
  847. </widget>
  848. </widget>
  849. </item>
  850. <item>
  851. <spacer name="verticalSpacer">
  852. <property name="orientation">
  853. <enum>Qt::Vertical</enum>
  854. </property>
  855. <property name="sizeHint" stdset="0">
  856. <size>
  857. <width>20</width>
  858. <height>40</height>
  859. </size>
  860. </property>
  861. </spacer>
  862. </item>
  863. </layout>
  864. </widget>
  865. </item>
  866. <item>
  867. <widget class="QWidget" name="content" native="true">
  868. <property name="sizePolicy">
  869. <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
  870. <horstretch>0</horstretch>
  871. <verstretch>0</verstretch>
  872. </sizepolicy>
  873. </property>
  874. <layout class="QHBoxLayout" name="horizontalLayout_2">
  875. <item>
  876. <widget class="QTabWidget" name="buttonTabWidget">
  877. <property name="sizePolicy">
  878. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  879. <horstretch>0</horstretch>
  880. <verstretch>0</verstretch>
  881. </sizepolicy>
  882. </property>
  883. <property name="minimumSize">
  884. <size>
  885. <width>0</width>
  886. <height>0</height>
  887. </size>
  888. </property>
  889. <property name="maximumSize">
  890. <size>
  891. <width>16777215</width>
  892. <height>16777215</height>
  893. </size>
  894. </property>
  895. <property name="currentIndex">
  896. <number>0</number>
  897. </property>
  898. <widget class="QWidget" name="buttonTabWidgetPage1">
  899. <attribute name="title">
  900. <string>设备基本操作</string>
  901. </attribute>
  902. <layout class="QGridLayout" name="gridLayout_5">
  903. <item row="0" column="0">
  904. <widget class="QGroupBox" name="groupBox_4">
  905. <property name="title">
  906. <string>设备基本操作</string>
  907. </property>
  908. <layout class="QGridLayout" name="gridLayout_3">
  909. <item row="2" column="0">
  910. <widget class="QPushButton" name="readDeviceState">
  911. <property name="sizePolicy">
  912. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  913. <horstretch>1</horstretch>
  914. <verstretch>0</verstretch>
  915. </sizepolicy>
  916. </property>
  917. <property name="minimumSize">
  918. <size>
  919. <width>0</width>
  920. <height>30</height>
  921. </size>
  922. </property>
  923. <property name="text">
  924. <string>读取设备状态信息</string>
  925. </property>
  926. </widget>
  927. </item>
  928. <item row="0" column="1">
  929. <widget class="QPushButton" name="syncTime">
  930. <property name="sizePolicy">
  931. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  932. <horstretch>1</horstretch>
  933. <verstretch>0</verstretch>
  934. </sizepolicy>
  935. </property>
  936. <property name="minimumSize">
  937. <size>
  938. <width>0</width>
  939. <height>30</height>
  940. </size>
  941. </property>
  942. <property name="text">
  943. <string>同步时间</string>
  944. </property>
  945. </widget>
  946. </item>
  947. <item row="5" column="0">
  948. <widget class="QPushButton" name="readSN">
  949. <property name="sizePolicy">
  950. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  951. <horstretch>1</horstretch>
  952. <verstretch>0</verstretch>
  953. </sizepolicy>
  954. </property>
  955. <property name="minimumSize">
  956. <size>
  957. <width>0</width>
  958. <height>30</height>
  959. </size>
  960. </property>
  961. <property name="text">
  962. <string>读取设备SN</string>
  963. </property>
  964. </widget>
  965. </item>
  966. <item row="1" column="0">
  967. <widget class="QPushButton" name="readSensorInfo">
  968. <property name="sizePolicy">
  969. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  970. <horstretch>1</horstretch>
  971. <verstretch>0</verstretch>
  972. </sizepolicy>
  973. </property>
  974. <property name="minimumSize">
  975. <size>
  976. <width>0</width>
  977. <height>30</height>
  978. </size>
  979. </property>
  980. <property name="text">
  981. <string>读取传感器信息</string>
  982. </property>
  983. </widget>
  984. </item>
  985. <item row="7" column="0">
  986. <widget class="QPushButton" name="setEcgInTestMode">
  987. <property name="sizePolicy">
  988. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  989. <horstretch>1</horstretch>
  990. <verstretch>0</verstretch>
  991. </sizepolicy>
  992. </property>
  993. <property name="minimumSize">
  994. <size>
  995. <width>0</width>
  996. <height>30</height>
  997. </size>
  998. </property>
  999. <property name="text">
  1000. <string>设置ECG为正常模式</string>
  1001. </property>
  1002. </widget>
  1003. </item>
  1004. <item row="6" column="0">
  1005. <widget class="QPushButton" name="resetDevice">
  1006. <property name="sizePolicy">
  1007. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  1008. <horstretch>1</horstretch>
  1009. <verstretch>0</verstretch>
  1010. </sizepolicy>
  1011. </property>
  1012. <property name="minimumSize">
  1013. <size>
  1014. <width>0</width>
  1015. <height>30</height>
  1016. </size>
  1017. </property>
  1018. <property name="text">
  1019. <string>复位设备</string>
  1020. </property>
  1021. </widget>
  1022. </item>
  1023. <item row="0" column="0">
  1024. <widget class="QPushButton" name="readDeviceVersion">
  1025. <property name="sizePolicy">
  1026. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  1027. <horstretch>1</horstretch>
  1028. <verstretch>0</verstretch>
  1029. </sizepolicy>
  1030. </property>
  1031. <property name="minimumSize">
  1032. <size>
  1033. <width>0</width>
  1034. <height>30</height>
  1035. </size>
  1036. </property>
  1037. <property name="text">
  1038. <string>读取设备版本信息</string>
  1039. </property>
  1040. </widget>
  1041. </item>
  1042. <item row="1" column="1">
  1043. <widget class="QPushButton" name="readTime">
  1044. <property name="sizePolicy">
  1045. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  1046. <horstretch>1</horstretch>
  1047. <verstretch>0</verstretch>
  1048. </sizepolicy>
  1049. </property>
  1050. <property name="minimumSize">
  1051. <size>
  1052. <width>0</width>
  1053. <height>30</height>
  1054. </size>
  1055. </property>
  1056. <property name="text">
  1057. <string>读取设备时间</string>
  1058. </property>
  1059. </widget>
  1060. </item>
  1061. <item row="9" column="1">
  1062. <spacer name="horizontalSpacer_3">
  1063. <property name="orientation">
  1064. <enum>Qt::Horizontal</enum>
  1065. </property>
  1066. <property name="sizeHint" stdset="0">
  1067. <size>
  1068. <width>40</width>
  1069. <height>20</height>
  1070. </size>
  1071. </property>
  1072. </spacer>
  1073. </item>
  1074. <item row="9" column="0">
  1075. <spacer name="verticalSpacer_5">
  1076. <property name="orientation">
  1077. <enum>Qt::Vertical</enum>
  1078. </property>
  1079. <property name="sizeHint" stdset="0">
  1080. <size>
  1081. <width>20</width>
  1082. <height>40</height>
  1083. </size>
  1084. </property>
  1085. </spacer>
  1086. </item>
  1087. <item row="8" column="0">
  1088. <widget class="QPushButton" name="setEcgInNormalMode">
  1089. <property name="sizePolicy">
  1090. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  1091. <horstretch>1</horstretch>
  1092. <verstretch>0</verstretch>
  1093. </sizepolicy>
  1094. </property>
  1095. <property name="minimumSize">
  1096. <size>
  1097. <width>0</width>
  1098. <height>30</height>
  1099. </size>
  1100. </property>
  1101. <property name="text">
  1102. <string>设置ECG为正常模式</string>
  1103. </property>
  1104. </widget>
  1105. </item>
  1106. </layout>
  1107. </widget>
  1108. </item>
  1109. <item row="1" column="0">
  1110. <widget class="QGroupBox" name="groupBox_3">
  1111. <property name="title">
  1112. <string>记录上传</string>
  1113. </property>
  1114. <layout class="QGridLayout" name="gridLayout_2">
  1115. <item row="1" column="1">
  1116. <widget class="QTextEdit" name="startUploadRecord_p0">
  1117. <property name="sizePolicy">
  1118. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  1119. <horstretch>1</horstretch>
  1120. <verstretch>0</verstretch>
  1121. </sizepolicy>
  1122. </property>
  1123. <property name="minimumSize">
  1124. <size>
  1125. <width>0</width>
  1126. <height>0</height>
  1127. </size>
  1128. </property>
  1129. <property name="maximumSize">
  1130. <size>
  1131. <width>16777215</width>
  1132. <height>30</height>
  1133. </size>
  1134. </property>
  1135. </widget>
  1136. </item>
  1137. <item row="4" column="1">
  1138. <spacer name="horizontalSpacer_2">
  1139. <property name="orientation">
  1140. <enum>Qt::Horizontal</enum>
  1141. </property>
  1142. <property name="sizeHint" stdset="0">
  1143. <size>
  1144. <width>40</width>
  1145. <height>20</height>
  1146. </size>
  1147. </property>
  1148. </spacer>
  1149. </item>
  1150. <item row="0" column="0">
  1151. <widget class="QPushButton" name="readAllRecords">
  1152. <property name="sizePolicy">
  1153. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  1154. <horstretch>1</horstretch>
  1155. <verstretch>0</verstretch>
  1156. </sizepolicy>
  1157. </property>
  1158. <property name="minimumSize">
  1159. <size>
  1160. <width>0</width>
  1161. <height>30</height>
  1162. </size>
  1163. </property>
  1164. <property name="text">
  1165. <string>读取所有记录</string>
  1166. </property>
  1167. </widget>
  1168. </item>
  1169. <item row="4" column="0">
  1170. <spacer name="verticalSpacer_4">
  1171. <property name="orientation">
  1172. <enum>Qt::Vertical</enum>
  1173. </property>
  1174. <property name="sizeHint" stdset="0">
  1175. <size>
  1176. <width>20</width>
  1177. <height>40</height>
  1178. </size>
  1179. </property>
  1180. </spacer>
  1181. </item>
  1182. <item row="1" column="0">
  1183. <widget class="QPushButton" name="startUploadRecord">
  1184. <property name="sizePolicy">
  1185. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  1186. <horstretch>1</horstretch>
  1187. <verstretch>0</verstretch>
  1188. </sizepolicy>
  1189. </property>
  1190. <property name="minimumSize">
  1191. <size>
  1192. <width>0</width>
  1193. <height>30</height>
  1194. </size>
  1195. </property>
  1196. <property name="text">
  1197. <string>上传记录</string>
  1198. </property>
  1199. </widget>
  1200. </item>
  1201. <item row="2" column="0">
  1202. <widget class="QPushButton" name="stopUploadRecord">
  1203. <property name="sizePolicy">
  1204. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  1205. <horstretch>1</horstretch>
  1206. <verstretch>0</verstretch>
  1207. </sizepolicy>
  1208. </property>
  1209. <property name="minimumSize">
  1210. <size>
  1211. <width>0</width>
  1212. <height>30</height>
  1213. </size>
  1214. </property>
  1215. <property name="text">
  1216. <string>停止上传</string>
  1217. </property>
  1218. </widget>
  1219. </item>
  1220. <item row="3" column="0">
  1221. <widget class="QPushButton" name="delRecord">
  1222. <property name="sizePolicy">
  1223. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  1224. <horstretch>1</horstretch>
  1225. <verstretch>0</verstretch>
  1226. </sizepolicy>
  1227. </property>
  1228. <property name="minimumSize">
  1229. <size>
  1230. <width>0</width>
  1231. <height>30</height>
  1232. </size>
  1233. </property>
  1234. <property name="text">
  1235. <string>删除记录</string>
  1236. </property>
  1237. </widget>
  1238. </item>
  1239. <item row="3" column="1">
  1240. <widget class="QTextEdit" name="delRecord_p0">
  1241. <property name="sizePolicy">
  1242. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  1243. <horstretch>1</horstretch>
  1244. <verstretch>0</verstretch>
  1245. </sizepolicy>
  1246. </property>
  1247. <property name="minimumSize">
  1248. <size>
  1249. <width>0</width>
  1250. <height>0</height>
  1251. </size>
  1252. </property>
  1253. <property name="maximumSize">
  1254. <size>
  1255. <width>16777215</width>
  1256. <height>30</height>
  1257. </size>
  1258. </property>
  1259. </widget>
  1260. </item>
  1261. </layout>
  1262. </widget>
  1263. </item>
  1264. <item row="3" column="0">
  1265. <spacer name="verticalSpacer_3">
  1266. <property name="orientation">
  1267. <enum>Qt::Vertical</enum>
  1268. </property>
  1269. <property name="sizeHint" stdset="0">
  1270. <size>
  1271. <width>20</width>
  1272. <height>40</height>
  1273. </size>
  1274. </property>
  1275. </spacer>
  1276. </item>
  1277. <item row="2" column="0">
  1278. <widget class="QGroupBox" name="groupBox">
  1279. <property name="minimumSize">
  1280. <size>
  1281. <width>0</width>
  1282. <height>200</height>
  1283. </size>
  1284. </property>
  1285. <property name="title">
  1286. <string>采集&amp;预览</string>
  1287. </property>
  1288. <layout class="QGridLayout" name="gridLayout_4">
  1289. <item row="2" column="0">
  1290. <widget class="QPushButton" name="startRealtimeReport">
  1291. <property name="sizePolicy">
  1292. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  1293. <horstretch>1</horstretch>
  1294. <verstretch>0</verstretch>
  1295. </sizepolicy>
  1296. </property>
  1297. <property name="minimumSize">
  1298. <size>
  1299. <width>0</width>
  1300. <height>30</height>
  1301. </size>
  1302. </property>
  1303. <property name="text">
  1304. <string>开始预览</string>
  1305. </property>
  1306. </widget>
  1307. </item>
  1308. <item row="4" column="0">
  1309. <spacer name="verticalSpacer_11">
  1310. <property name="orientation">
  1311. <enum>Qt::Vertical</enum>
  1312. </property>
  1313. <property name="sizeHint" stdset="0">
  1314. <size>
  1315. <width>20</width>
  1316. <height>40</height>
  1317. </size>
  1318. </property>
  1319. </spacer>
  1320. </item>
  1321. <item row="3" column="0">
  1322. <widget class="QPushButton" name="stopRealtimeReport">
  1323. <property name="sizePolicy">
  1324. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  1325. <horstretch>1</horstretch>
  1326. <verstretch>0</verstretch>
  1327. </sizepolicy>
  1328. </property>
  1329. <property name="minimumSize">
  1330. <size>
  1331. <width>0</width>
  1332. <height>30</height>
  1333. </size>
  1334. </property>
  1335. <property name="text">
  1336. <string>停止预览</string>
  1337. </property>
  1338. </widget>
  1339. </item>
  1340. </layout>
  1341. </widget>
  1342. </item>
  1343. </layout>
  1344. </widget>
  1345. <widget class="QWidget" name="tab">
  1346. <attribute name="title">
  1347. <string>设备测试</string>
  1348. </attribute>
  1349. <layout class="QVBoxLayout" name="verticalLayout_9">
  1350. <item>
  1351. <widget class="QGroupBox" name="groupBox_2">
  1352. <property name="minimumSize">
  1353. <size>
  1354. <width>0</width>
  1355. <height>300</height>
  1356. </size>
  1357. </property>
  1358. <property name="title">
  1359. <string>测试指令</string>
  1360. </property>
  1361. <layout class="QGridLayout" name="gridLayout_7">
  1362. <item row="3" column="1">
  1363. <widget class="QTextEdit" name="TestCmd_writeSubICRegMask_p0">
  1364. <property name="sizePolicy">
  1365. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  1366. <horstretch>1</horstretch>
  1367. <verstretch>0</verstretch>
  1368. </sizepolicy>
  1369. </property>
  1370. <property name="minimumSize">
  1371. <size>
  1372. <width>0</width>
  1373. <height>0</height>
  1374. </size>
  1375. </property>
  1376. <property name="maximumSize">
  1377. <size>
  1378. <width>16777215</width>
  1379. <height>30</height>
  1380. </size>
  1381. </property>
  1382. </widget>
  1383. </item>
  1384. <item row="3" column="3">
  1385. <widget class="QTextEdit" name="TestCmd_writeSubICRegMask_p2">
  1386. <property name="sizePolicy">
  1387. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  1388. <horstretch>1</horstretch>
  1389. <verstretch>0</verstretch>
  1390. </sizepolicy>
  1391. </property>
  1392. <property name="minimumSize">
  1393. <size>
  1394. <width>0</width>
  1395. <height>0</height>
  1396. </size>
  1397. </property>
  1398. <property name="maximumSize">
  1399. <size>
  1400. <width>16777215</width>
  1401. <height>30</height>
  1402. </size>
  1403. </property>
  1404. </widget>
  1405. </item>
  1406. <item row="5" column="0" colspan="5">
  1407. <widget class="QGroupBox" name="groupBox_9">
  1408. <property name="title">
  1409. <string>预设配置</string>
  1410. </property>
  1411. <layout class="QGridLayout" name="gridLayout_15">
  1412. <item row="0" column="0">
  1413. <widget class="QLabel" name="label_21">
  1414. <property name="maximumSize">
  1415. <size>
  1416. <width>16777215</width>
  1417. <height>1</height>
  1418. </size>
  1419. </property>
  1420. <property name="text">
  1421. <string/>
  1422. </property>
  1423. </widget>
  1424. </item>
  1425. <item row="1" column="0">
  1426. <widget class="QPushButton" name="TestCmd_changeECGSrcToSquareWave">
  1427. <property name="minimumSize">
  1428. <size>
  1429. <width>0</width>
  1430. <height>30</height>
  1431. </size>
  1432. </property>
  1433. <property name="text">
  1434. <string>修改信号源为方波</string>
  1435. </property>
  1436. </widget>
  1437. </item>
  1438. <item row="0" column="2">
  1439. <widget class="QLabel" name="label_22">
  1440. <property name="maximumSize">
  1441. <size>
  1442. <width>16777215</width>
  1443. <height>1</height>
  1444. </size>
  1445. </property>
  1446. <property name="text">
  1447. <string/>
  1448. </property>
  1449. </widget>
  1450. </item>
  1451. <item row="0" column="1">
  1452. <widget class="QLabel" name="label_23">
  1453. <property name="maximumSize">
  1454. <size>
  1455. <width>16777215</width>
  1456. <height>1</height>
  1457. </size>
  1458. </property>
  1459. <property name="text">
  1460. <string/>
  1461. </property>
  1462. </widget>
  1463. </item>
  1464. <item row="0" column="3">
  1465. <widget class="QLabel" name="label_24">
  1466. <property name="maximumSize">
  1467. <size>
  1468. <width>16777215</width>
  1469. <height>1</height>
  1470. </size>
  1471. </property>
  1472. <property name="text">
  1473. <string/>
  1474. </property>
  1475. </widget>
  1476. </item>
  1477. <item row="0" column="4">
  1478. <widget class="QLabel" name="label_13">
  1479. <property name="minimumSize">
  1480. <size>
  1481. <width>0</width>
  1482. <height>1</height>
  1483. </size>
  1484. </property>
  1485. <property name="maximumSize">
  1486. <size>
  1487. <width>16777215</width>
  1488. <height>1</height>
  1489. </size>
  1490. </property>
  1491. <property name="text">
  1492. <string/>
  1493. </property>
  1494. </widget>
  1495. </item>
  1496. </layout>
  1497. </widget>
  1498. </item>
  1499. <item row="7" column="0">
  1500. <spacer name="verticalSpacer_2">
  1501. <property name="orientation">
  1502. <enum>Qt::Vertical</enum>
  1503. </property>
  1504. <property name="sizeHint" stdset="0">
  1505. <size>
  1506. <width>20</width>
  1507. <height>40</height>
  1508. </size>
  1509. </property>
  1510. </spacer>
  1511. </item>
  1512. <item row="3" column="0">
  1513. <widget class="QPushButton" name="TestCmd_writeSubICRegMask">
  1514. <property name="sizePolicy">
  1515. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  1516. <horstretch>1</horstretch>
  1517. <verstretch>0</verstretch>
  1518. </sizepolicy>
  1519. </property>
  1520. <property name="minimumSize">
  1521. <size>
  1522. <width>0</width>
  1523. <height>30</height>
  1524. </size>
  1525. </property>
  1526. <property name="text">
  1527. <string>写ECG寄存器()</string>
  1528. </property>
  1529. </widget>
  1530. </item>
  1531. <item row="3" column="4">
  1532. <widget class="QTextEdit" name="TestCmd_writeSubICRegMask_p3">
  1533. <property name="sizePolicy">
  1534. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  1535. <horstretch>1</horstretch>
  1536. <verstretch>0</verstretch>
  1537. </sizepolicy>
  1538. </property>
  1539. <property name="minimumSize">
  1540. <size>
  1541. <width>0</width>
  1542. <height>0</height>
  1543. </size>
  1544. </property>
  1545. <property name="maximumSize">
  1546. <size>
  1547. <width>16777215</width>
  1548. <height>30</height>
  1549. </size>
  1550. </property>
  1551. </widget>
  1552. </item>
  1553. <item row="1" column="1" colspan="4">
  1554. <widget class="QTextEdit" name="TestCmd_writeSubICAllReg_p0">
  1555. <property name="sizePolicy">
  1556. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  1557. <horstretch>1</horstretch>
  1558. <verstretch>0</verstretch>
  1559. </sizepolicy>
  1560. </property>
  1561. <property name="minimumSize">
  1562. <size>
  1563. <width>0</width>
  1564. <height>0</height>
  1565. </size>
  1566. </property>
  1567. <property name="maximumSize">
  1568. <size>
  1569. <width>16777215</width>
  1570. <height>30</height>
  1571. </size>
  1572. </property>
  1573. </widget>
  1574. </item>
  1575. <item row="0" column="0">
  1576. <widget class="QPushButton" name="TestCmd_readSubIcRegs">
  1577. <property name="minimumSize">
  1578. <size>
  1579. <width>0</width>
  1580. <height>30</height>
  1581. </size>
  1582. </property>
  1583. <property name="text">
  1584. <string>读取ECG芯片寄存器</string>
  1585. </property>
  1586. </widget>
  1587. </item>
  1588. <item row="1" column="0">
  1589. <widget class="QPushButton" name="TestCmd_writeSubICAllReg">
  1590. <property name="minimumSize">
  1591. <size>
  1592. <width>0</width>
  1593. <height>30</height>
  1594. </size>
  1595. </property>
  1596. <property name="text">
  1597. <string>批量设置寄存器</string>
  1598. </property>
  1599. </widget>
  1600. </item>
  1601. <item row="3" column="2">
  1602. <widget class="QTextEdit" name="TestCmd_writeSubICRegMask_p1">
  1603. <property name="sizePolicy">
  1604. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  1605. <horstretch>1</horstretch>
  1606. <verstretch>0</verstretch>
  1607. </sizepolicy>
  1608. </property>
  1609. <property name="minimumSize">
  1610. <size>
  1611. <width>0</width>
  1612. <height>0</height>
  1613. </size>
  1614. </property>
  1615. <property name="maximumSize">
  1616. <size>
  1617. <width>16777215</width>
  1618. <height>30</height>
  1619. </size>
  1620. </property>
  1621. </widget>
  1622. </item>
  1623. <item row="6" column="0" colspan="5">
  1624. <widget class="QGroupBox" name="groupBox_10">
  1625. <property name="title">
  1626. <string>基本操作</string>
  1627. </property>
  1628. <layout class="QGridLayout" name="gridLayout_16">
  1629. <item row="0" column="0">
  1630. <widget class="QLabel" name="label_25">
  1631. <property name="maximumSize">
  1632. <size>
  1633. <width>16777215</width>
  1634. <height>1</height>
  1635. </size>
  1636. </property>
  1637. <property name="text">
  1638. <string/>
  1639. </property>
  1640. </widget>
  1641. </item>
  1642. <item row="0" column="1">
  1643. <widget class="QLabel" name="label_27">
  1644. <property name="maximumSize">
  1645. <size>
  1646. <width>16777215</width>
  1647. <height>1</height>
  1648. </size>
  1649. </property>
  1650. <property name="text">
  1651. <string/>
  1652. </property>
  1653. </widget>
  1654. </item>
  1655. <item row="1" column="1">
  1656. <widget class="QPushButton" name="TestCmd_stopCapture">
  1657. <property name="minimumSize">
  1658. <size>
  1659. <width>0</width>
  1660. <height>30</height>
  1661. </size>
  1662. </property>
  1663. <property name="text">
  1664. <string>停止采集</string>
  1665. </property>
  1666. </widget>
  1667. </item>
  1668. <item row="0" column="4">
  1669. <widget class="QLabel" name="label_14">
  1670. <property name="minimumSize">
  1671. <size>
  1672. <width>0</width>
  1673. <height>1</height>
  1674. </size>
  1675. </property>
  1676. <property name="maximumSize">
  1677. <size>
  1678. <width>16777215</width>
  1679. <height>1</height>
  1680. </size>
  1681. </property>
  1682. <property name="text">
  1683. <string/>
  1684. </property>
  1685. </widget>
  1686. </item>
  1687. <item row="1" column="0">
  1688. <widget class="QPushButton" name="TestCmd_startCapture">
  1689. <property name="minimumSize">
  1690. <size>
  1691. <width>0</width>
  1692. <height>30</height>
  1693. </size>
  1694. </property>
  1695. <property name="text">
  1696. <string>开始采集</string>
  1697. </property>
  1698. </widget>
  1699. </item>
  1700. <item row="0" column="2">
  1701. <widget class="QLabel" name="label_26">
  1702. <property name="maximumSize">
  1703. <size>
  1704. <width>16777215</width>
  1705. <height>1</height>
  1706. </size>
  1707. </property>
  1708. <property name="text">
  1709. <string/>
  1710. </property>
  1711. </widget>
  1712. </item>
  1713. <item row="0" column="3">
  1714. <widget class="QLabel" name="label_28">
  1715. <property name="maximumSize">
  1716. <size>
  1717. <width>16777215</width>
  1718. <height>1</height>
  1719. </size>
  1720. </property>
  1721. <property name="text">
  1722. <string/>
  1723. </property>
  1724. </widget>
  1725. </item>
  1726. </layout>
  1727. </widget>
  1728. </item>
  1729. <item row="2" column="0">
  1730. <widget class="QPushButton" name="TestCmd_writeSubICReg">
  1731. <property name="minimumSize">
  1732. <size>
  1733. <width>0</width>
  1734. <height>30</height>
  1735. </size>
  1736. </property>
  1737. <property name="text">
  1738. <string>写ECG寄存器</string>
  1739. </property>
  1740. </widget>
  1741. </item>
  1742. <item row="2" column="1">
  1743. <widget class="QTextEdit" name="TestCmd_writeSubICReg_p0">
  1744. <property name="sizePolicy">
  1745. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  1746. <horstretch>1</horstretch>
  1747. <verstretch>0</verstretch>
  1748. </sizepolicy>
  1749. </property>
  1750. <property name="minimumSize">
  1751. <size>
  1752. <width>0</width>
  1753. <height>0</height>
  1754. </size>
  1755. </property>
  1756. <property name="maximumSize">
  1757. <size>
  1758. <width>16777215</width>
  1759. <height>30</height>
  1760. </size>
  1761. </property>
  1762. </widget>
  1763. </item>
  1764. <item row="2" column="2">
  1765. <widget class="QTextEdit" name="TestCmd_writeSubICReg_p1">
  1766. <property name="sizePolicy">
  1767. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  1768. <horstretch>1</horstretch>
  1769. <verstretch>0</verstretch>
  1770. </sizepolicy>
  1771. </property>
  1772. <property name="minimumSize">
  1773. <size>
  1774. <width>0</width>
  1775. <height>0</height>
  1776. </size>
  1777. </property>
  1778. <property name="maximumSize">
  1779. <size>
  1780. <width>16777215</width>
  1781. <height>30</height>
  1782. </size>
  1783. </property>
  1784. </widget>
  1785. </item>
  1786. </layout>
  1787. </widget>
  1788. </item>
  1789. <item>
  1790. <spacer name="verticalSpacer_6">
  1791. <property name="orientation">
  1792. <enum>Qt::Vertical</enum>
  1793. </property>
  1794. <property name="sizeHint" stdset="0">
  1795. <size>
  1796. <width>20</width>
  1797. <height>40</height>
  1798. </size>
  1799. </property>
  1800. </spacer>
  1801. </item>
  1802. </layout>
  1803. </widget>
  1804. <widget class="QWidget" name="tab_2">
  1805. <attribute name="title">
  1806. <string>滤波器配置</string>
  1807. </attribute>
  1808. <widget class="QGroupBox" name="FilterBox">
  1809. <property name="geometry">
  1810. <rect>
  1811. <x>10</x>
  1812. <y>10</y>
  1813. <width>650</width>
  1814. <height>371</height>
  1815. </rect>
  1816. </property>
  1817. <property name="title">
  1818. <string>滤波器配置</string>
  1819. </property>
  1820. <layout class="QGridLayout" name="gridLayout_12">
  1821. <item row="0" column="0">
  1822. <widget class="QGroupBox" name="LPFilterBox">
  1823. <property name="title">
  1824. <string>低通滤波器</string>
  1825. </property>
  1826. <layout class="QGridLayout" name="gridLayout_8">
  1827. <item row="3" column="0">
  1828. <spacer name="verticalSpacer_7">
  1829. <property name="orientation">
  1830. <enum>Qt::Vertical</enum>
  1831. </property>
  1832. <property name="sizeHint" stdset="0">
  1833. <size>
  1834. <width>20</width>
  1835. <height>40</height>
  1836. </size>
  1837. </property>
  1838. </spacer>
  1839. </item>
  1840. <item row="1" column="0">
  1841. <widget class="QLabel" name="label">
  1842. <property name="sizePolicy">
  1843. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  1844. <horstretch>1</horstretch>
  1845. <verstretch>0</verstretch>
  1846. </sizepolicy>
  1847. </property>
  1848. <property name="text">
  1849. <string>截至频率(HZ)</string>
  1850. </property>
  1851. </widget>
  1852. </item>
  1853. <item row="1" column="1">
  1854. <widget class="QLineEdit" name="LPFilter_CutoffFreqHz">
  1855. <property name="sizePolicy">
  1856. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  1857. <horstretch>1</horstretch>
  1858. <verstretch>0</verstretch>
  1859. </sizepolicy>
  1860. </property>
  1861. <property name="text">
  1862. <string/>
  1863. </property>
  1864. </widget>
  1865. </item>
  1866. <item row="0" column="1">
  1867. <widget class="QCheckBox" name="LPFilter_Enable">
  1868. <property name="sizePolicy">
  1869. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  1870. <horstretch>1</horstretch>
  1871. <verstretch>0</verstretch>
  1872. </sizepolicy>
  1873. </property>
  1874. <property name="text">
  1875. <string/>
  1876. </property>
  1877. </widget>
  1878. </item>
  1879. <item row="0" column="0">
  1880. <widget class="QLabel" name="label_2">
  1881. <property name="sizePolicy">
  1882. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  1883. <horstretch>1</horstretch>
  1884. <verstretch>0</verstretch>
  1885. </sizepolicy>
  1886. </property>
  1887. <property name="text">
  1888. <string>使能</string>
  1889. </property>
  1890. </widget>
  1891. </item>
  1892. <item row="2" column="1">
  1893. <widget class="QLineEdit" name="LPFilter_Order">
  1894. <property name="sizePolicy">
  1895. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  1896. <horstretch>1</horstretch>
  1897. <verstretch>0</verstretch>
  1898. </sizepolicy>
  1899. </property>
  1900. </widget>
  1901. </item>
  1902. <item row="2" column="0">
  1903. <widget class="QLabel" name="label_5">
  1904. <property name="sizePolicy">
  1905. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  1906. <horstretch>1</horstretch>
  1907. <verstretch>0</verstretch>
  1908. </sizepolicy>
  1909. </property>
  1910. <property name="text">
  1911. <string>阶级</string>
  1912. </property>
  1913. </widget>
  1914. </item>
  1915. </layout>
  1916. </widget>
  1917. </item>
  1918. <item row="0" column="2">
  1919. <widget class="QGroupBox" name="HPFilter_Box_2">
  1920. <property name="title">
  1921. <string>陷波滤波器(带阻)</string>
  1922. </property>
  1923. <layout class="QGridLayout" name="gridLayout_10">
  1924. <item row="1" column="0">
  1925. <widget class="QLabel" name="label_7">
  1926. <property name="sizePolicy">
  1927. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  1928. <horstretch>1</horstretch>
  1929. <verstretch>0</verstretch>
  1930. </sizepolicy>
  1931. </property>
  1932. <property name="text">
  1933. <string>中心频率(HZ)</string>
  1934. </property>
  1935. </widget>
  1936. </item>
  1937. <item row="2" column="0">
  1938. <widget class="QLabel" name="label_9">
  1939. <property name="sizePolicy">
  1940. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  1941. <horstretch>1</horstretch>
  1942. <verstretch>0</verstretch>
  1943. </sizepolicy>
  1944. </property>
  1945. <property name="text">
  1946. <string>窗口宽度(HZ)</string>
  1947. </property>
  1948. </widget>
  1949. </item>
  1950. <item row="1" column="1">
  1951. <widget class="QLineEdit" name="NOTCHFilter_CenterFreqHz">
  1952. <property name="sizePolicy">
  1953. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  1954. <horstretch>1</horstretch>
  1955. <verstretch>0</verstretch>
  1956. </sizepolicy>
  1957. </property>
  1958. <property name="text">
  1959. <string/>
  1960. </property>
  1961. </widget>
  1962. </item>
  1963. <item row="0" column="0">
  1964. <widget class="QLabel" name="label_8">
  1965. <property name="sizePolicy">
  1966. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  1967. <horstretch>1</horstretch>
  1968. <verstretch>0</verstretch>
  1969. </sizepolicy>
  1970. </property>
  1971. <property name="text">
  1972. <string>使能</string>
  1973. </property>
  1974. </widget>
  1975. </item>
  1976. <item row="2" column="1">
  1977. <widget class="QLineEdit" name="NOTCHFilter_NotchWidthHz">
  1978. <property name="sizePolicy">
  1979. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  1980. <horstretch>1</horstretch>
  1981. <verstretch>0</verstretch>
  1982. </sizepolicy>
  1983. </property>
  1984. </widget>
  1985. </item>
  1986. <item row="0" column="1">
  1987. <widget class="QCheckBox" name="NOTCHFilter_Enable">
  1988. <property name="sizePolicy">
  1989. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  1990. <horstretch>1</horstretch>
  1991. <verstretch>0</verstretch>
  1992. </sizepolicy>
  1993. </property>
  1994. <property name="text">
  1995. <string/>
  1996. </property>
  1997. </widget>
  1998. </item>
  1999. <item row="5" column="0">
  2000. <spacer name="verticalSpacer_9">
  2001. <property name="orientation">
  2002. <enum>Qt::Vertical</enum>
  2003. </property>
  2004. <property name="sizeHint" stdset="0">
  2005. <size>
  2006. <width>20</width>
  2007. <height>40</height>
  2008. </size>
  2009. </property>
  2010. </spacer>
  2011. </item>
  2012. <item row="3" column="1">
  2013. <widget class="QLineEdit" name="NOTCHFilter_Order">
  2014. <property name="sizePolicy">
  2015. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  2016. <horstretch>1</horstretch>
  2017. <verstretch>0</verstretch>
  2018. </sizepolicy>
  2019. </property>
  2020. </widget>
  2021. </item>
  2022. <item row="3" column="0">
  2023. <widget class="QLabel" name="label_11">
  2024. <property name="sizePolicy">
  2025. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  2026. <horstretch>1</horstretch>
  2027. <verstretch>0</verstretch>
  2028. </sizepolicy>
  2029. </property>
  2030. <property name="text">
  2031. <string>阶级</string>
  2032. </property>
  2033. </widget>
  2034. </item>
  2035. </layout>
  2036. </widget>
  2037. </item>
  2038. <item row="0" column="1">
  2039. <widget class="QGroupBox" name="HPFilter_Box">
  2040. <property name="title">
  2041. <string>高通滤波器</string>
  2042. </property>
  2043. <layout class="QGridLayout" name="gridLayout_9">
  2044. <item row="3" column="0">
  2045. <spacer name="verticalSpacer_8">
  2046. <property name="orientation">
  2047. <enum>Qt::Vertical</enum>
  2048. </property>
  2049. <property name="sizeHint" stdset="0">
  2050. <size>
  2051. <width>20</width>
  2052. <height>40</height>
  2053. </size>
  2054. </property>
  2055. </spacer>
  2056. </item>
  2057. <item row="1" column="0">
  2058. <widget class="QLabel" name="label_3">
  2059. <property name="sizePolicy">
  2060. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  2061. <horstretch>1</horstretch>
  2062. <verstretch>0</verstretch>
  2063. </sizepolicy>
  2064. </property>
  2065. <property name="text">
  2066. <string>截至频率(HZ)</string>
  2067. </property>
  2068. </widget>
  2069. </item>
  2070. <item row="1" column="1">
  2071. <widget class="QLineEdit" name="HPFilter_CutoffFreqHz">
  2072. <property name="sizePolicy">
  2073. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  2074. <horstretch>1</horstretch>
  2075. <verstretch>0</verstretch>
  2076. </sizepolicy>
  2077. </property>
  2078. <property name="text">
  2079. <string/>
  2080. </property>
  2081. </widget>
  2082. </item>
  2083. <item row="0" column="1">
  2084. <widget class="QCheckBox" name="HPFilter_Enable">
  2085. <property name="sizePolicy">
  2086. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  2087. <horstretch>1</horstretch>
  2088. <verstretch>0</verstretch>
  2089. </sizepolicy>
  2090. </property>
  2091. <property name="text">
  2092. <string/>
  2093. </property>
  2094. </widget>
  2095. </item>
  2096. <item row="0" column="0">
  2097. <widget class="QLabel" name="label_4">
  2098. <property name="sizePolicy">
  2099. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  2100. <horstretch>1</horstretch>
  2101. <verstretch>0</verstretch>
  2102. </sizepolicy>
  2103. </property>
  2104. <property name="text">
  2105. <string>使能</string>
  2106. </property>
  2107. </widget>
  2108. </item>
  2109. <item row="2" column="1">
  2110. <widget class="QLineEdit" name="HPFilter_Order">
  2111. <property name="sizePolicy">
  2112. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  2113. <horstretch>1</horstretch>
  2114. <verstretch>0</verstretch>
  2115. </sizepolicy>
  2116. </property>
  2117. </widget>
  2118. </item>
  2119. <item row="2" column="0">
  2120. <widget class="QLabel" name="label_6">
  2121. <property name="sizePolicy">
  2122. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  2123. <horstretch>1</horstretch>
  2124. <verstretch>0</verstretch>
  2125. </sizepolicy>
  2126. </property>
  2127. <property name="text">
  2128. <string>阶级</string>
  2129. </property>
  2130. </widget>
  2131. </item>
  2132. </layout>
  2133. </widget>
  2134. </item>
  2135. <item row="1" column="0" colspan="3">
  2136. <widget class="QGroupBox" name="groupBox_6">
  2137. <property name="minimumSize">
  2138. <size>
  2139. <width>0</width>
  2140. <height>150</height>
  2141. </size>
  2142. </property>
  2143. <property name="title">
  2144. <string>通用参数</string>
  2145. </property>
  2146. <layout class="QGridLayout" name="gridLayout_11">
  2147. <item row="0" column="1">
  2148. <widget class="QLineEdit" name="FilterCommon_SampleTimeMs">
  2149. <property name="sizePolicy">
  2150. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  2151. <horstretch>1</horstretch>
  2152. <verstretch>0</verstretch>
  2153. </sizepolicy>
  2154. </property>
  2155. <property name="text">
  2156. <string/>
  2157. </property>
  2158. </widget>
  2159. </item>
  2160. <item row="0" column="0">
  2161. <widget class="QLabel" name="label_10">
  2162. <property name="sizePolicy">
  2163. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  2164. <horstretch>1</horstretch>
  2165. <verstretch>0</verstretch>
  2166. </sizepolicy>
  2167. </property>
  2168. <property name="text">
  2169. <string>数据采样周期(ms)</string>
  2170. </property>
  2171. </widget>
  2172. </item>
  2173. <item row="0" column="2">
  2174. <spacer name="horizontalSpacer">
  2175. <property name="orientation">
  2176. <enum>Qt::Horizontal</enum>
  2177. </property>
  2178. <property name="sizeHint" stdset="0">
  2179. <size>
  2180. <width>300</width>
  2181. <height>20</height>
  2182. </size>
  2183. </property>
  2184. </spacer>
  2185. </item>
  2186. <item row="1" column="2">
  2187. <spacer name="verticalSpacer_10">
  2188. <property name="orientation">
  2189. <enum>Qt::Vertical</enum>
  2190. </property>
  2191. <property name="sizeHint" stdset="0">
  2192. <size>
  2193. <width>20</width>
  2194. <height>40</height>
  2195. </size>
  2196. </property>
  2197. </spacer>
  2198. </item>
  2199. </layout>
  2200. </widget>
  2201. </item>
  2202. </layout>
  2203. </widget>
  2204. <widget class="QPushButton" name="FilterUpdateParameter">
  2205. <property name="geometry">
  2206. <rect>
  2207. <x>540</x>
  2208. <y>400</y>
  2209. <width>111</width>
  2210. <height>41</height>
  2211. </rect>
  2212. </property>
  2213. <property name="text">
  2214. <string>更新滤波器参数</string>
  2215. </property>
  2216. </widget>
  2217. </widget>
  2218. </widget>
  2219. </item>
  2220. <item>
  2221. <widget class="QGroupBox" name="displayGroupBox">
  2222. <property name="sizePolicy">
  2223. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  2224. <horstretch>0</horstretch>
  2225. <verstretch>0</verstretch>
  2226. </sizepolicy>
  2227. </property>
  2228. <property name="minimumSize">
  2229. <size>
  2230. <width>600</width>
  2231. <height>0</height>
  2232. </size>
  2233. </property>
  2234. <property name="maximumSize">
  2235. <size>
  2236. <width>16777215</width>
  2237. <height>16777215</height>
  2238. </size>
  2239. </property>
  2240. <property name="title">
  2241. <string>DisplayBox</string>
  2242. </property>
  2243. <layout class="QVBoxLayout" name="verticalLayout_4">
  2244. <item>
  2245. <widget class="QGroupBox" name="instructionPreviewBox">
  2246. <property name="title">
  2247. <string>指令回执显示</string>
  2248. </property>
  2249. <layout class="QVBoxLayout" name="verticalLayout_6">
  2250. <item>
  2251. <widget class="QTextBrowser" name="instructionPreview">
  2252. <property name="sizePolicy">
  2253. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  2254. <horstretch>0</horstretch>
  2255. <verstretch>0</verstretch>
  2256. </sizepolicy>
  2257. </property>
  2258. <property name="minimumSize">
  2259. <size>
  2260. <width>0</width>
  2261. <height>0</height>
  2262. </size>
  2263. </property>
  2264. </widget>
  2265. </item>
  2266. </layout>
  2267. </widget>
  2268. </item>
  2269. <item>
  2270. <widget class="QGroupBox" name="reportPreviewBox">
  2271. <property name="title">
  2272. <string>上报回执显示</string>
  2273. </property>
  2274. <layout class="QVBoxLayout" name="verticalLayout_7">
  2275. <item>
  2276. <widget class="QTextBrowser" name="reportPreview">
  2277. <property name="sizePolicy">
  2278. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  2279. <horstretch>0</horstretch>
  2280. <verstretch>0</verstretch>
  2281. </sizepolicy>
  2282. </property>
  2283. <property name="minimumSize">
  2284. <size>
  2285. <width>0</width>
  2286. <height>0</height>
  2287. </size>
  2288. </property>
  2289. </widget>
  2290. </item>
  2291. </layout>
  2292. </widget>
  2293. </item>
  2294. <item>
  2295. <widget class="QGroupBox" name="uploadDataPreviewBox">
  2296. <property name="title">
  2297. <string>上传数据显示</string>
  2298. </property>
  2299. <layout class="QVBoxLayout" name="verticalLayout_5">
  2300. <item>
  2301. <widget class="QTextBrowser" name="uploadDataPreview">
  2302. <property name="sizePolicy">
  2303. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  2304. <horstretch>0</horstretch>
  2305. <verstretch>0</verstretch>
  2306. </sizepolicy>
  2307. </property>
  2308. <property name="minimumSize">
  2309. <size>
  2310. <width>0</width>
  2311. <height>0</height>
  2312. </size>
  2313. </property>
  2314. </widget>
  2315. </item>
  2316. </layout>
  2317. </widget>
  2318. </item>
  2319. <item>
  2320. <widget class="QGroupBox" name="uploadDataPreviewBox_2">
  2321. <property name="title">
  2322. <string>二进制</string>
  2323. </property>
  2324. <layout class="QVBoxLayout" name="verticalLayout_8">
  2325. <item>
  2326. <widget class="QTextBrowser" name="rawDataPreview">
  2327. <property name="sizePolicy">
  2328. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  2329. <horstretch>0</horstretch>
  2330. <verstretch>0</verstretch>
  2331. </sizepolicy>
  2332. </property>
  2333. <property name="minimumSize">
  2334. <size>
  2335. <width>0</width>
  2336. <height>0</height>
  2337. </size>
  2338. </property>
  2339. </widget>
  2340. </item>
  2341. </layout>
  2342. </widget>
  2343. </item>
  2344. </layout>
  2345. </widget>
  2346. </item>
  2347. </layout>
  2348. </widget>
  2349. </item>
  2350. </layout>
  2351. </widget>
  2352. </item>
  2353. </layout>
  2354. </widget>
  2355. <widget class="QMenuBar" name="menubar">
  2356. <property name="geometry">
  2357. <rect>
  2358. <x>0</x>
  2359. <y>0</y>
  2360. <width>1532</width>
  2361. <height>20</height>
  2362. </rect>
  2363. </property>
  2364. <widget class="QMenu" name="menu123">
  2365. <property name="title">
  2366. <string>心电上位机V2</string>
  2367. </property>
  2368. </widget>
  2369. <addaction name="menu123"/>
  2370. </widget>
  2371. <widget class="QStatusBar" name="statusbar"/>
  2372. </widget>
  2373. <resources/>
  2374. <connections/>
  2375. </ui>