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.

2412 lines
92 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
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>2</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="0" column="2">
  910. <widget class="QPushButton" name="readSN">
  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>读取设备SN</string>
  925. </property>
  926. </widget>
  927. </item>
  928. <item row="0" column="0">
  929. <widget class="QPushButton" name="readDeviceVersion">
  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="11" column="0">
  948. <spacer name="verticalSpacer_5">
  949. <property name="orientation">
  950. <enum>Qt::Vertical</enum>
  951. </property>
  952. <property name="sizeHint" stdset="0">
  953. <size>
  954. <width>20</width>
  955. <height>40</height>
  956. </size>
  957. </property>
  958. </spacer>
  959. </item>
  960. <item row="2" column="0">
  961. <widget class="QPushButton" name="syncTime">
  962. <property name="sizePolicy">
  963. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  964. <horstretch>1</horstretch>
  965. <verstretch>0</verstretch>
  966. </sizepolicy>
  967. </property>
  968. <property name="minimumSize">
  969. <size>
  970. <width>0</width>
  971. <height>30</height>
  972. </size>
  973. </property>
  974. <property name="text">
  975. <string>同步时间</string>
  976. </property>
  977. </widget>
  978. </item>
  979. <item row="0" column="1">
  980. <widget class="QPushButton" name="readDeviceState">
  981. <property name="sizePolicy">
  982. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  983. <horstretch>1</horstretch>
  984. <verstretch>0</verstretch>
  985. </sizepolicy>
  986. </property>
  987. <property name="minimumSize">
  988. <size>
  989. <width>0</width>
  990. <height>30</height>
  991. </size>
  992. </property>
  993. <property name="text">
  994. <string>读取设备状态信息</string>
  995. </property>
  996. </widget>
  997. </item>
  998. <item row="7" column="0">
  999. <widget class="QPushButton" name="setEcgInTestMode_2">
  1000. <property name="sizePolicy">
  1001. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  1002. <horstretch>1</horstretch>
  1003. <verstretch>0</verstretch>
  1004. </sizepolicy>
  1005. </property>
  1006. <property name="minimumSize">
  1007. <size>
  1008. <width>0</width>
  1009. <height>30</height>
  1010. </size>
  1011. </property>
  1012. <property name="text">
  1013. <string>失能ECG上报数据算法</string>
  1014. </property>
  1015. </widget>
  1016. </item>
  1017. <item row="2" column="1">
  1018. <widget class="QPushButton" name="readTime">
  1019. <property name="sizePolicy">
  1020. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  1021. <horstretch>1</horstretch>
  1022. <verstretch>0</verstretch>
  1023. </sizepolicy>
  1024. </property>
  1025. <property name="minimumSize">
  1026. <size>
  1027. <width>0</width>
  1028. <height>30</height>
  1029. </size>
  1030. </property>
  1031. <property name="text">
  1032. <string>读取设备时间</string>
  1033. </property>
  1034. </widget>
  1035. </item>
  1036. <item row="0" column="3">
  1037. <widget class="QPushButton" name="readSensorInfo">
  1038. <property name="sizePolicy">
  1039. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  1040. <horstretch>1</horstretch>
  1041. <verstretch>0</verstretch>
  1042. </sizepolicy>
  1043. </property>
  1044. <property name="minimumSize">
  1045. <size>
  1046. <width>0</width>
  1047. <height>30</height>
  1048. </size>
  1049. </property>
  1050. <property name="text">
  1051. <string>读取传感器信息</string>
  1052. </property>
  1053. </widget>
  1054. </item>
  1055. <item row="7" column="1">
  1056. <widget class="QPushButton" name="setEcgInTestMode_3">
  1057. <property name="sizePolicy">
  1058. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  1059. <horstretch>1</horstretch>
  1060. <verstretch>0</verstretch>
  1061. </sizepolicy>
  1062. </property>
  1063. <property name="minimumSize">
  1064. <size>
  1065. <width>0</width>
  1066. <height>30</height>
  1067. </size>
  1068. </property>
  1069. <property name="text">
  1070. <string>使能ECG上报数据算法</string>
  1071. </property>
  1072. </widget>
  1073. </item>
  1074. <item row="8" column="0">
  1075. <widget class="QPushButton" name="setEcgInTestMode">
  1076. <property name="sizePolicy">
  1077. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  1078. <horstretch>1</horstretch>
  1079. <verstretch>0</verstretch>
  1080. </sizepolicy>
  1081. </property>
  1082. <property name="minimumSize">
  1083. <size>
  1084. <width>0</width>
  1085. <height>30</height>
  1086. </size>
  1087. </property>
  1088. <property name="text">
  1089. <string>测试-设置ECG为测试模式</string>
  1090. </property>
  1091. </widget>
  1092. </item>
  1093. <item row="8" column="1">
  1094. <widget class="QPushButton" name="setEcgInNormalMode">
  1095. <property name="sizePolicy">
  1096. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  1097. <horstretch>1</horstretch>
  1098. <verstretch>0</verstretch>
  1099. </sizepolicy>
  1100. </property>
  1101. <property name="minimumSize">
  1102. <size>
  1103. <width>0</width>
  1104. <height>30</height>
  1105. </size>
  1106. </property>
  1107. <property name="text">
  1108. <string>测试-设置ECG为正常模式</string>
  1109. </property>
  1110. </widget>
  1111. </item>
  1112. <item row="9" column="0">
  1113. <widget class="QPushButton" name="resetDevice">
  1114. <property name="sizePolicy">
  1115. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  1116. <horstretch>1</horstretch>
  1117. <verstretch>0</verstretch>
  1118. </sizepolicy>
  1119. </property>
  1120. <property name="minimumSize">
  1121. <size>
  1122. <width>0</width>
  1123. <height>30</height>
  1124. </size>
  1125. </property>
  1126. <property name="text">
  1127. <string>复位设备</string>
  1128. </property>
  1129. </widget>
  1130. </item>
  1131. </layout>
  1132. </widget>
  1133. </item>
  1134. <item row="1" column="0">
  1135. <widget class="QGroupBox" name="groupBox_3">
  1136. <property name="title">
  1137. <string>记录上传</string>
  1138. </property>
  1139. <layout class="QGridLayout" name="gridLayout_2">
  1140. <item row="1" column="1">
  1141. <widget class="QTextEdit" name="startUploadRecord_p0">
  1142. <property name="sizePolicy">
  1143. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  1144. <horstretch>1</horstretch>
  1145. <verstretch>0</verstretch>
  1146. </sizepolicy>
  1147. </property>
  1148. <property name="minimumSize">
  1149. <size>
  1150. <width>0</width>
  1151. <height>0</height>
  1152. </size>
  1153. </property>
  1154. <property name="maximumSize">
  1155. <size>
  1156. <width>16777215</width>
  1157. <height>30</height>
  1158. </size>
  1159. </property>
  1160. </widget>
  1161. </item>
  1162. <item row="4" column="1">
  1163. <spacer name="horizontalSpacer_2">
  1164. <property name="orientation">
  1165. <enum>Qt::Horizontal</enum>
  1166. </property>
  1167. <property name="sizeHint" stdset="0">
  1168. <size>
  1169. <width>40</width>
  1170. <height>20</height>
  1171. </size>
  1172. </property>
  1173. </spacer>
  1174. </item>
  1175. <item row="0" column="0">
  1176. <widget class="QPushButton" name="readAllRecords">
  1177. <property name="sizePolicy">
  1178. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  1179. <horstretch>1</horstretch>
  1180. <verstretch>0</verstretch>
  1181. </sizepolicy>
  1182. </property>
  1183. <property name="minimumSize">
  1184. <size>
  1185. <width>0</width>
  1186. <height>30</height>
  1187. </size>
  1188. </property>
  1189. <property name="text">
  1190. <string>读取所有记录</string>
  1191. </property>
  1192. </widget>
  1193. </item>
  1194. <item row="4" column="0">
  1195. <spacer name="verticalSpacer_4">
  1196. <property name="orientation">
  1197. <enum>Qt::Vertical</enum>
  1198. </property>
  1199. <property name="sizeHint" stdset="0">
  1200. <size>
  1201. <width>20</width>
  1202. <height>40</height>
  1203. </size>
  1204. </property>
  1205. </spacer>
  1206. </item>
  1207. <item row="1" column="0">
  1208. <widget class="QPushButton" name="startUploadRecord">
  1209. <property name="sizePolicy">
  1210. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  1211. <horstretch>1</horstretch>
  1212. <verstretch>0</verstretch>
  1213. </sizepolicy>
  1214. </property>
  1215. <property name="minimumSize">
  1216. <size>
  1217. <width>0</width>
  1218. <height>30</height>
  1219. </size>
  1220. </property>
  1221. <property name="text">
  1222. <string>上传记录</string>
  1223. </property>
  1224. </widget>
  1225. </item>
  1226. <item row="2" column="0">
  1227. <widget class="QPushButton" name="stopUploadRecord">
  1228. <property name="sizePolicy">
  1229. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  1230. <horstretch>1</horstretch>
  1231. <verstretch>0</verstretch>
  1232. </sizepolicy>
  1233. </property>
  1234. <property name="minimumSize">
  1235. <size>
  1236. <width>0</width>
  1237. <height>30</height>
  1238. </size>
  1239. </property>
  1240. <property name="text">
  1241. <string>停止上传</string>
  1242. </property>
  1243. </widget>
  1244. </item>
  1245. <item row="3" column="0">
  1246. <widget class="QPushButton" name="delRecord">
  1247. <property name="sizePolicy">
  1248. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  1249. <horstretch>1</horstretch>
  1250. <verstretch>0</verstretch>
  1251. </sizepolicy>
  1252. </property>
  1253. <property name="minimumSize">
  1254. <size>
  1255. <width>0</width>
  1256. <height>30</height>
  1257. </size>
  1258. </property>
  1259. <property name="text">
  1260. <string>删除记录</string>
  1261. </property>
  1262. </widget>
  1263. </item>
  1264. <item row="3" column="1">
  1265. <widget class="QTextEdit" name="delRecord_p0">
  1266. <property name="sizePolicy">
  1267. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  1268. <horstretch>1</horstretch>
  1269. <verstretch>0</verstretch>
  1270. </sizepolicy>
  1271. </property>
  1272. <property name="minimumSize">
  1273. <size>
  1274. <width>0</width>
  1275. <height>0</height>
  1276. </size>
  1277. </property>
  1278. <property name="maximumSize">
  1279. <size>
  1280. <width>16777215</width>
  1281. <height>30</height>
  1282. </size>
  1283. </property>
  1284. </widget>
  1285. </item>
  1286. </layout>
  1287. </widget>
  1288. </item>
  1289. <item row="3" column="0">
  1290. <spacer name="verticalSpacer_3">
  1291. <property name="orientation">
  1292. <enum>Qt::Vertical</enum>
  1293. </property>
  1294. <property name="sizeHint" stdset="0">
  1295. <size>
  1296. <width>20</width>
  1297. <height>40</height>
  1298. </size>
  1299. </property>
  1300. </spacer>
  1301. </item>
  1302. <item row="2" column="0">
  1303. <widget class="QGroupBox" name="groupBox">
  1304. <property name="minimumSize">
  1305. <size>
  1306. <width>0</width>
  1307. <height>200</height>
  1308. </size>
  1309. </property>
  1310. <property name="title">
  1311. <string>采集&amp;预览</string>
  1312. </property>
  1313. <layout class="QGridLayout" name="gridLayout_4">
  1314. <item row="2" column="0">
  1315. <widget class="QPushButton" name="startRealtimeReport">
  1316. <property name="sizePolicy">
  1317. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  1318. <horstretch>1</horstretch>
  1319. <verstretch>0</verstretch>
  1320. </sizepolicy>
  1321. </property>
  1322. <property name="minimumSize">
  1323. <size>
  1324. <width>0</width>
  1325. <height>30</height>
  1326. </size>
  1327. </property>
  1328. <property name="text">
  1329. <string>开始预览</string>
  1330. </property>
  1331. </widget>
  1332. </item>
  1333. <item row="4" column="0">
  1334. <spacer name="verticalSpacer_11">
  1335. <property name="orientation">
  1336. <enum>Qt::Vertical</enum>
  1337. </property>
  1338. <property name="sizeHint" stdset="0">
  1339. <size>
  1340. <width>20</width>
  1341. <height>40</height>
  1342. </size>
  1343. </property>
  1344. </spacer>
  1345. </item>
  1346. <item row="3" column="0">
  1347. <widget class="QPushButton" name="stopRealtimeReport">
  1348. <property name="sizePolicy">
  1349. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  1350. <horstretch>1</horstretch>
  1351. <verstretch>0</verstretch>
  1352. </sizepolicy>
  1353. </property>
  1354. <property name="minimumSize">
  1355. <size>
  1356. <width>0</width>
  1357. <height>30</height>
  1358. </size>
  1359. </property>
  1360. <property name="text">
  1361. <string>停止预览</string>
  1362. </property>
  1363. </widget>
  1364. </item>
  1365. </layout>
  1366. </widget>
  1367. </item>
  1368. </layout>
  1369. </widget>
  1370. <widget class="QWidget" name="tab">
  1371. <attribute name="title">
  1372. <string>设备测试</string>
  1373. </attribute>
  1374. <layout class="QVBoxLayout" name="verticalLayout_9">
  1375. <item>
  1376. <widget class="QGroupBox" name="groupBox_2">
  1377. <property name="minimumSize">
  1378. <size>
  1379. <width>0</width>
  1380. <height>300</height>
  1381. </size>
  1382. </property>
  1383. <property name="title">
  1384. <string>测试指令</string>
  1385. </property>
  1386. <layout class="QGridLayout" name="gridLayout_7">
  1387. <item row="3" column="1">
  1388. <widget class="QTextEdit" name="TestCmd_writeSubICRegMask_p0">
  1389. <property name="sizePolicy">
  1390. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  1391. <horstretch>1</horstretch>
  1392. <verstretch>0</verstretch>
  1393. </sizepolicy>
  1394. </property>
  1395. <property name="minimumSize">
  1396. <size>
  1397. <width>0</width>
  1398. <height>0</height>
  1399. </size>
  1400. </property>
  1401. <property name="maximumSize">
  1402. <size>
  1403. <width>16777215</width>
  1404. <height>30</height>
  1405. </size>
  1406. </property>
  1407. </widget>
  1408. </item>
  1409. <item row="3" column="3">
  1410. <widget class="QTextEdit" name="TestCmd_writeSubICRegMask_p2">
  1411. <property name="sizePolicy">
  1412. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  1413. <horstretch>1</horstretch>
  1414. <verstretch>0</verstretch>
  1415. </sizepolicy>
  1416. </property>
  1417. <property name="minimumSize">
  1418. <size>
  1419. <width>0</width>
  1420. <height>0</height>
  1421. </size>
  1422. </property>
  1423. <property name="maximumSize">
  1424. <size>
  1425. <width>16777215</width>
  1426. <height>30</height>
  1427. </size>
  1428. </property>
  1429. </widget>
  1430. </item>
  1431. <item row="5" column="0" colspan="5">
  1432. <widget class="QGroupBox" name="groupBox_9">
  1433. <property name="title">
  1434. <string>预设配置</string>
  1435. </property>
  1436. <layout class="QGridLayout" name="gridLayout_15">
  1437. <item row="0" column="0">
  1438. <widget class="QLabel" name="label_21">
  1439. <property name="maximumSize">
  1440. <size>
  1441. <width>16777215</width>
  1442. <height>1</height>
  1443. </size>
  1444. </property>
  1445. <property name="text">
  1446. <string/>
  1447. </property>
  1448. </widget>
  1449. </item>
  1450. <item row="1" column="0">
  1451. <widget class="QPushButton" name="TestCmd_changeECGSrcToSquareWave">
  1452. <property name="minimumSize">
  1453. <size>
  1454. <width>0</width>
  1455. <height>30</height>
  1456. </size>
  1457. </property>
  1458. <property name="text">
  1459. <string>修改信号源为方波</string>
  1460. </property>
  1461. </widget>
  1462. </item>
  1463. <item row="0" column="2">
  1464. <widget class="QLabel" name="label_22">
  1465. <property name="maximumSize">
  1466. <size>
  1467. <width>16777215</width>
  1468. <height>1</height>
  1469. </size>
  1470. </property>
  1471. <property name="text">
  1472. <string/>
  1473. </property>
  1474. </widget>
  1475. </item>
  1476. <item row="0" column="1">
  1477. <widget class="QLabel" name="label_23">
  1478. <property name="maximumSize">
  1479. <size>
  1480. <width>16777215</width>
  1481. <height>1</height>
  1482. </size>
  1483. </property>
  1484. <property name="text">
  1485. <string/>
  1486. </property>
  1487. </widget>
  1488. </item>
  1489. <item row="0" column="3">
  1490. <widget class="QLabel" name="label_24">
  1491. <property name="maximumSize">
  1492. <size>
  1493. <width>16777215</width>
  1494. <height>1</height>
  1495. </size>
  1496. </property>
  1497. <property name="text">
  1498. <string/>
  1499. </property>
  1500. </widget>
  1501. </item>
  1502. <item row="0" column="4">
  1503. <widget class="QLabel" name="label_13">
  1504. <property name="minimumSize">
  1505. <size>
  1506. <width>0</width>
  1507. <height>1</height>
  1508. </size>
  1509. </property>
  1510. <property name="maximumSize">
  1511. <size>
  1512. <width>16777215</width>
  1513. <height>1</height>
  1514. </size>
  1515. </property>
  1516. <property name="text">
  1517. <string/>
  1518. </property>
  1519. </widget>
  1520. </item>
  1521. </layout>
  1522. </widget>
  1523. </item>
  1524. <item row="7" column="0">
  1525. <spacer name="verticalSpacer_2">
  1526. <property name="orientation">
  1527. <enum>Qt::Vertical</enum>
  1528. </property>
  1529. <property name="sizeHint" stdset="0">
  1530. <size>
  1531. <width>20</width>
  1532. <height>40</height>
  1533. </size>
  1534. </property>
  1535. </spacer>
  1536. </item>
  1537. <item row="3" column="0">
  1538. <widget class="QPushButton" name="TestCmd_writeSubICRegMask">
  1539. <property name="sizePolicy">
  1540. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  1541. <horstretch>1</horstretch>
  1542. <verstretch>0</verstretch>
  1543. </sizepolicy>
  1544. </property>
  1545. <property name="minimumSize">
  1546. <size>
  1547. <width>0</width>
  1548. <height>30</height>
  1549. </size>
  1550. </property>
  1551. <property name="text">
  1552. <string>写ECG寄存器()</string>
  1553. </property>
  1554. </widget>
  1555. </item>
  1556. <item row="3" column="4">
  1557. <widget class="QTextEdit" name="TestCmd_writeSubICRegMask_p3">
  1558. <property name="sizePolicy">
  1559. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  1560. <horstretch>1</horstretch>
  1561. <verstretch>0</verstretch>
  1562. </sizepolicy>
  1563. </property>
  1564. <property name="minimumSize">
  1565. <size>
  1566. <width>0</width>
  1567. <height>0</height>
  1568. </size>
  1569. </property>
  1570. <property name="maximumSize">
  1571. <size>
  1572. <width>16777215</width>
  1573. <height>30</height>
  1574. </size>
  1575. </property>
  1576. </widget>
  1577. </item>
  1578. <item row="1" column="1" colspan="4">
  1579. <widget class="QTextEdit" name="TestCmd_writeSubICAllReg_p0">
  1580. <property name="sizePolicy">
  1581. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  1582. <horstretch>1</horstretch>
  1583. <verstretch>0</verstretch>
  1584. </sizepolicy>
  1585. </property>
  1586. <property name="minimumSize">
  1587. <size>
  1588. <width>0</width>
  1589. <height>0</height>
  1590. </size>
  1591. </property>
  1592. <property name="maximumSize">
  1593. <size>
  1594. <width>16777215</width>
  1595. <height>30</height>
  1596. </size>
  1597. </property>
  1598. </widget>
  1599. </item>
  1600. <item row="0" column="0">
  1601. <widget class="QPushButton" name="TestCmd_readSubIcRegs">
  1602. <property name="minimumSize">
  1603. <size>
  1604. <width>0</width>
  1605. <height>30</height>
  1606. </size>
  1607. </property>
  1608. <property name="text">
  1609. <string>读取ECG芯片寄存器</string>
  1610. </property>
  1611. </widget>
  1612. </item>
  1613. <item row="1" column="0">
  1614. <widget class="QPushButton" name="TestCmd_writeSubICAllReg">
  1615. <property name="minimumSize">
  1616. <size>
  1617. <width>0</width>
  1618. <height>30</height>
  1619. </size>
  1620. </property>
  1621. <property name="text">
  1622. <string>批量设置寄存器</string>
  1623. </property>
  1624. </widget>
  1625. </item>
  1626. <item row="3" column="2">
  1627. <widget class="QTextEdit" name="TestCmd_writeSubICRegMask_p1">
  1628. <property name="sizePolicy">
  1629. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  1630. <horstretch>1</horstretch>
  1631. <verstretch>0</verstretch>
  1632. </sizepolicy>
  1633. </property>
  1634. <property name="minimumSize">
  1635. <size>
  1636. <width>0</width>
  1637. <height>0</height>
  1638. </size>
  1639. </property>
  1640. <property name="maximumSize">
  1641. <size>
  1642. <width>16777215</width>
  1643. <height>30</height>
  1644. </size>
  1645. </property>
  1646. </widget>
  1647. </item>
  1648. <item row="6" column="0" colspan="5">
  1649. <widget class="QGroupBox" name="groupBox_10">
  1650. <property name="title">
  1651. <string>基本操作</string>
  1652. </property>
  1653. <layout class="QGridLayout" name="gridLayout_16">
  1654. <item row="0" column="0">
  1655. <widget class="QLabel" name="label_25">
  1656. <property name="maximumSize">
  1657. <size>
  1658. <width>16777215</width>
  1659. <height>1</height>
  1660. </size>
  1661. </property>
  1662. <property name="text">
  1663. <string/>
  1664. </property>
  1665. </widget>
  1666. </item>
  1667. <item row="0" column="1">
  1668. <widget class="QLabel" name="label_27">
  1669. <property name="maximumSize">
  1670. <size>
  1671. <width>16777215</width>
  1672. <height>1</height>
  1673. </size>
  1674. </property>
  1675. <property name="text">
  1676. <string/>
  1677. </property>
  1678. </widget>
  1679. </item>
  1680. <item row="1" column="1">
  1681. <widget class="QPushButton" name="TestCmd_stopCapture">
  1682. <property name="minimumSize">
  1683. <size>
  1684. <width>0</width>
  1685. <height>30</height>
  1686. </size>
  1687. </property>
  1688. <property name="text">
  1689. <string>停止采集</string>
  1690. </property>
  1691. </widget>
  1692. </item>
  1693. <item row="0" column="4">
  1694. <widget class="QLabel" name="label_14">
  1695. <property name="minimumSize">
  1696. <size>
  1697. <width>0</width>
  1698. <height>1</height>
  1699. </size>
  1700. </property>
  1701. <property name="maximumSize">
  1702. <size>
  1703. <width>16777215</width>
  1704. <height>1</height>
  1705. </size>
  1706. </property>
  1707. <property name="text">
  1708. <string/>
  1709. </property>
  1710. </widget>
  1711. </item>
  1712. <item row="1" column="0">
  1713. <widget class="QPushButton" name="TestCmd_startCapture">
  1714. <property name="minimumSize">
  1715. <size>
  1716. <width>0</width>
  1717. <height>30</height>
  1718. </size>
  1719. </property>
  1720. <property name="text">
  1721. <string>开始采集</string>
  1722. </property>
  1723. </widget>
  1724. </item>
  1725. <item row="0" column="2">
  1726. <widget class="QLabel" name="label_26">
  1727. <property name="maximumSize">
  1728. <size>
  1729. <width>16777215</width>
  1730. <height>1</height>
  1731. </size>
  1732. </property>
  1733. <property name="text">
  1734. <string/>
  1735. </property>
  1736. </widget>
  1737. </item>
  1738. <item row="0" column="3">
  1739. <widget class="QLabel" name="label_28">
  1740. <property name="maximumSize">
  1741. <size>
  1742. <width>16777215</width>
  1743. <height>1</height>
  1744. </size>
  1745. </property>
  1746. <property name="text">
  1747. <string/>
  1748. </property>
  1749. </widget>
  1750. </item>
  1751. </layout>
  1752. </widget>
  1753. </item>
  1754. <item row="2" column="0">
  1755. <widget class="QPushButton" name="TestCmd_writeSubICReg">
  1756. <property name="minimumSize">
  1757. <size>
  1758. <width>0</width>
  1759. <height>30</height>
  1760. </size>
  1761. </property>
  1762. <property name="text">
  1763. <string>写ECG寄存器</string>
  1764. </property>
  1765. </widget>
  1766. </item>
  1767. <item row="2" column="1">
  1768. <widget class="QTextEdit" name="TestCmd_writeSubICReg_p0">
  1769. <property name="sizePolicy">
  1770. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  1771. <horstretch>1</horstretch>
  1772. <verstretch>0</verstretch>
  1773. </sizepolicy>
  1774. </property>
  1775. <property name="minimumSize">
  1776. <size>
  1777. <width>0</width>
  1778. <height>0</height>
  1779. </size>
  1780. </property>
  1781. <property name="maximumSize">
  1782. <size>
  1783. <width>16777215</width>
  1784. <height>30</height>
  1785. </size>
  1786. </property>
  1787. </widget>
  1788. </item>
  1789. <item row="2" column="2">
  1790. <widget class="QTextEdit" name="TestCmd_writeSubICReg_p1">
  1791. <property name="sizePolicy">
  1792. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  1793. <horstretch>1</horstretch>
  1794. <verstretch>0</verstretch>
  1795. </sizepolicy>
  1796. </property>
  1797. <property name="minimumSize">
  1798. <size>
  1799. <width>0</width>
  1800. <height>0</height>
  1801. </size>
  1802. </property>
  1803. <property name="maximumSize">
  1804. <size>
  1805. <width>16777215</width>
  1806. <height>30</height>
  1807. </size>
  1808. </property>
  1809. </widget>
  1810. </item>
  1811. </layout>
  1812. </widget>
  1813. </item>
  1814. <item>
  1815. <spacer name="verticalSpacer_6">
  1816. <property name="orientation">
  1817. <enum>Qt::Vertical</enum>
  1818. </property>
  1819. <property name="sizeHint" stdset="0">
  1820. <size>
  1821. <width>20</width>
  1822. <height>40</height>
  1823. </size>
  1824. </property>
  1825. </spacer>
  1826. </item>
  1827. </layout>
  1828. </widget>
  1829. <widget class="QWidget" name="tab_2">
  1830. <attribute name="title">
  1831. <string>滤波器配置</string>
  1832. </attribute>
  1833. <layout class="QVBoxLayout" name="verticalLayout_10">
  1834. <item>
  1835. <widget class="QGroupBox" name="FilterBox">
  1836. <property name="sizePolicy">
  1837. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  1838. <horstretch>0</horstretch>
  1839. <verstretch>0</verstretch>
  1840. </sizepolicy>
  1841. </property>
  1842. <property name="title">
  1843. <string>滤波器配置</string>
  1844. </property>
  1845. <layout class="QGridLayout" name="gridLayout_12">
  1846. <item row="0" column="0">
  1847. <widget class="QGroupBox" name="LPFilterBox">
  1848. <property name="title">
  1849. <string>低通滤波器</string>
  1850. </property>
  1851. <layout class="QGridLayout" name="gridLayout_8">
  1852. <item row="3" column="0">
  1853. <spacer name="verticalSpacer_7">
  1854. <property name="orientation">
  1855. <enum>Qt::Vertical</enum>
  1856. </property>
  1857. <property name="sizeHint" stdset="0">
  1858. <size>
  1859. <width>20</width>
  1860. <height>40</height>
  1861. </size>
  1862. </property>
  1863. </spacer>
  1864. </item>
  1865. <item row="1" column="0">
  1866. <widget class="QLabel" name="label">
  1867. <property name="sizePolicy">
  1868. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  1869. <horstretch>1</horstretch>
  1870. <verstretch>0</verstretch>
  1871. </sizepolicy>
  1872. </property>
  1873. <property name="text">
  1874. <string>截至频率(HZ)</string>
  1875. </property>
  1876. </widget>
  1877. </item>
  1878. <item row="1" column="1">
  1879. <widget class="QLineEdit" name="LPFilter_CutoffFreqHz">
  1880. <property name="sizePolicy">
  1881. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  1882. <horstretch>1</horstretch>
  1883. <verstretch>0</verstretch>
  1884. </sizepolicy>
  1885. </property>
  1886. <property name="text">
  1887. <string/>
  1888. </property>
  1889. </widget>
  1890. </item>
  1891. <item row="0" column="1">
  1892. <widget class="QCheckBox" name="LPFilter_Enable">
  1893. <property name="sizePolicy">
  1894. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  1895. <horstretch>1</horstretch>
  1896. <verstretch>0</verstretch>
  1897. </sizepolicy>
  1898. </property>
  1899. <property name="text">
  1900. <string/>
  1901. </property>
  1902. </widget>
  1903. </item>
  1904. <item row="0" column="0">
  1905. <widget class="QLabel" name="label_2">
  1906. <property name="sizePolicy">
  1907. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  1908. <horstretch>1</horstretch>
  1909. <verstretch>0</verstretch>
  1910. </sizepolicy>
  1911. </property>
  1912. <property name="text">
  1913. <string>使能</string>
  1914. </property>
  1915. </widget>
  1916. </item>
  1917. <item row="2" column="1">
  1918. <widget class="QLineEdit" name="LPFilter_Order">
  1919. <property name="sizePolicy">
  1920. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  1921. <horstretch>1</horstretch>
  1922. <verstretch>0</verstretch>
  1923. </sizepolicy>
  1924. </property>
  1925. </widget>
  1926. </item>
  1927. <item row="2" column="0">
  1928. <widget class="QLabel" name="label_5">
  1929. <property name="sizePolicy">
  1930. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  1931. <horstretch>1</horstretch>
  1932. <verstretch>0</verstretch>
  1933. </sizepolicy>
  1934. </property>
  1935. <property name="text">
  1936. <string>阶级</string>
  1937. </property>
  1938. </widget>
  1939. </item>
  1940. </layout>
  1941. </widget>
  1942. </item>
  1943. <item row="0" column="2">
  1944. <widget class="QGroupBox" name="HPFilter_Box_2">
  1945. <property name="title">
  1946. <string>陷波滤波器(带阻)</string>
  1947. </property>
  1948. <layout class="QGridLayout" name="gridLayout_10">
  1949. <item row="1" column="0">
  1950. <widget class="QLabel" name="label_7">
  1951. <property name="sizePolicy">
  1952. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  1953. <horstretch>1</horstretch>
  1954. <verstretch>0</verstretch>
  1955. </sizepolicy>
  1956. </property>
  1957. <property name="text">
  1958. <string>中心频率(HZ)</string>
  1959. </property>
  1960. </widget>
  1961. </item>
  1962. <item row="2" column="0">
  1963. <widget class="QLabel" name="label_9">
  1964. <property name="sizePolicy">
  1965. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  1966. <horstretch>1</horstretch>
  1967. <verstretch>0</verstretch>
  1968. </sizepolicy>
  1969. </property>
  1970. <property name="text">
  1971. <string>窗口宽度(HZ)</string>
  1972. </property>
  1973. </widget>
  1974. </item>
  1975. <item row="1" column="1">
  1976. <widget class="QLineEdit" name="NOTCHFilter_CenterFreqHz">
  1977. <property name="sizePolicy">
  1978. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  1979. <horstretch>1</horstretch>
  1980. <verstretch>0</verstretch>
  1981. </sizepolicy>
  1982. </property>
  1983. <property name="text">
  1984. <string/>
  1985. </property>
  1986. </widget>
  1987. </item>
  1988. <item row="0" column="0">
  1989. <widget class="QLabel" name="label_8">
  1990. <property name="sizePolicy">
  1991. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  1992. <horstretch>1</horstretch>
  1993. <verstretch>0</verstretch>
  1994. </sizepolicy>
  1995. </property>
  1996. <property name="text">
  1997. <string>使能</string>
  1998. </property>
  1999. </widget>
  2000. </item>
  2001. <item row="2" column="1">
  2002. <widget class="QLineEdit" name="NOTCHFilter_NotchWidthHz">
  2003. <property name="sizePolicy">
  2004. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  2005. <horstretch>1</horstretch>
  2006. <verstretch>0</verstretch>
  2007. </sizepolicy>
  2008. </property>
  2009. </widget>
  2010. </item>
  2011. <item row="0" column="1">
  2012. <widget class="QCheckBox" name="NOTCHFilter_Enable">
  2013. <property name="sizePolicy">
  2014. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  2015. <horstretch>1</horstretch>
  2016. <verstretch>0</verstretch>
  2017. </sizepolicy>
  2018. </property>
  2019. <property name="text">
  2020. <string/>
  2021. </property>
  2022. </widget>
  2023. </item>
  2024. <item row="5" column="0">
  2025. <spacer name="verticalSpacer_9">
  2026. <property name="orientation">
  2027. <enum>Qt::Vertical</enum>
  2028. </property>
  2029. <property name="sizeHint" stdset="0">
  2030. <size>
  2031. <width>20</width>
  2032. <height>40</height>
  2033. </size>
  2034. </property>
  2035. </spacer>
  2036. </item>
  2037. <item row="3" column="1">
  2038. <widget class="QLineEdit" name="NOTCHFilter_Order">
  2039. <property name="sizePolicy">
  2040. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  2041. <horstretch>1</horstretch>
  2042. <verstretch>0</verstretch>
  2043. </sizepolicy>
  2044. </property>
  2045. </widget>
  2046. </item>
  2047. <item row="3" column="0">
  2048. <widget class="QLabel" name="label_11">
  2049. <property name="sizePolicy">
  2050. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  2051. <horstretch>1</horstretch>
  2052. <verstretch>0</verstretch>
  2053. </sizepolicy>
  2054. </property>
  2055. <property name="text">
  2056. <string>阶级</string>
  2057. </property>
  2058. </widget>
  2059. </item>
  2060. </layout>
  2061. </widget>
  2062. </item>
  2063. <item row="0" column="1">
  2064. <widget class="QGroupBox" name="HPFilter_Box">
  2065. <property name="title">
  2066. <string>高通滤波器</string>
  2067. </property>
  2068. <layout class="QGridLayout" name="gridLayout_9">
  2069. <item row="3" column="0">
  2070. <spacer name="verticalSpacer_8">
  2071. <property name="orientation">
  2072. <enum>Qt::Vertical</enum>
  2073. </property>
  2074. <property name="sizeHint" stdset="0">
  2075. <size>
  2076. <width>20</width>
  2077. <height>40</height>
  2078. </size>
  2079. </property>
  2080. </spacer>
  2081. </item>
  2082. <item row="1" column="0">
  2083. <widget class="QLabel" name="label_3">
  2084. <property name="sizePolicy">
  2085. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  2086. <horstretch>1</horstretch>
  2087. <verstretch>0</verstretch>
  2088. </sizepolicy>
  2089. </property>
  2090. <property name="text">
  2091. <string>截至频率(HZ)</string>
  2092. </property>
  2093. </widget>
  2094. </item>
  2095. <item row="1" column="1">
  2096. <widget class="QLineEdit" name="HPFilter_CutoffFreqHz">
  2097. <property name="sizePolicy">
  2098. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  2099. <horstretch>1</horstretch>
  2100. <verstretch>0</verstretch>
  2101. </sizepolicy>
  2102. </property>
  2103. <property name="text">
  2104. <string/>
  2105. </property>
  2106. </widget>
  2107. </item>
  2108. <item row="0" column="1">
  2109. <widget class="QCheckBox" name="HPFilter_Enable">
  2110. <property name="sizePolicy">
  2111. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  2112. <horstretch>1</horstretch>
  2113. <verstretch>0</verstretch>
  2114. </sizepolicy>
  2115. </property>
  2116. <property name="text">
  2117. <string/>
  2118. </property>
  2119. </widget>
  2120. </item>
  2121. <item row="0" column="0">
  2122. <widget class="QLabel" name="label_4">
  2123. <property name="sizePolicy">
  2124. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  2125. <horstretch>1</horstretch>
  2126. <verstretch>0</verstretch>
  2127. </sizepolicy>
  2128. </property>
  2129. <property name="text">
  2130. <string>使能</string>
  2131. </property>
  2132. </widget>
  2133. </item>
  2134. <item row="2" column="1">
  2135. <widget class="QLineEdit" name="HPFilter_Order">
  2136. <property name="sizePolicy">
  2137. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  2138. <horstretch>1</horstretch>
  2139. <verstretch>0</verstretch>
  2140. </sizepolicy>
  2141. </property>
  2142. </widget>
  2143. </item>
  2144. <item row="2" column="0">
  2145. <widget class="QLabel" name="label_6">
  2146. <property name="sizePolicy">
  2147. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  2148. <horstretch>1</horstretch>
  2149. <verstretch>0</verstretch>
  2150. </sizepolicy>
  2151. </property>
  2152. <property name="text">
  2153. <string>阶级</string>
  2154. </property>
  2155. </widget>
  2156. </item>
  2157. </layout>
  2158. </widget>
  2159. </item>
  2160. <item row="1" column="0" colspan="3">
  2161. <widget class="QGroupBox" name="groupBox_6">
  2162. <property name="minimumSize">
  2163. <size>
  2164. <width>0</width>
  2165. <height>150</height>
  2166. </size>
  2167. </property>
  2168. <property name="title">
  2169. <string>通用参数</string>
  2170. </property>
  2171. <layout class="QGridLayout" name="gridLayout_11">
  2172. <item row="0" column="1">
  2173. <widget class="QLineEdit" name="FilterCommon_SampleTimeMs">
  2174. <property name="sizePolicy">
  2175. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  2176. <horstretch>1</horstretch>
  2177. <verstretch>0</verstretch>
  2178. </sizepolicy>
  2179. </property>
  2180. <property name="text">
  2181. <string/>
  2182. </property>
  2183. </widget>
  2184. </item>
  2185. <item row="0" column="0">
  2186. <widget class="QLabel" name="label_10">
  2187. <property name="sizePolicy">
  2188. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  2189. <horstretch>1</horstretch>
  2190. <verstretch>0</verstretch>
  2191. </sizepolicy>
  2192. </property>
  2193. <property name="text">
  2194. <string>数据采样周期(ms)</string>
  2195. </property>
  2196. </widget>
  2197. </item>
  2198. <item row="1" column="0">
  2199. <spacer name="verticalSpacer_10">
  2200. <property name="orientation">
  2201. <enum>Qt::Vertical</enum>
  2202. </property>
  2203. <property name="sizeHint" stdset="0">
  2204. <size>
  2205. <width>20</width>
  2206. <height>40</height>
  2207. </size>
  2208. </property>
  2209. </spacer>
  2210. </item>
  2211. </layout>
  2212. </widget>
  2213. </item>
  2214. </layout>
  2215. </widget>
  2216. </item>
  2217. <item>
  2218. <widget class="QPushButton" name="FilterUpdateParameter">
  2219. <property name="minimumSize">
  2220. <size>
  2221. <width>0</width>
  2222. <height>50</height>
  2223. </size>
  2224. </property>
  2225. <property name="text">
  2226. <string>更新滤波器参数</string>
  2227. </property>
  2228. </widget>
  2229. </item>
  2230. <item>
  2231. <spacer name="verticalSpacer_12">
  2232. <property name="orientation">
  2233. <enum>Qt::Vertical</enum>
  2234. </property>
  2235. <property name="sizeHint" stdset="0">
  2236. <size>
  2237. <width>20</width>
  2238. <height>40</height>
  2239. </size>
  2240. </property>
  2241. </spacer>
  2242. </item>
  2243. </layout>
  2244. </widget>
  2245. </widget>
  2246. </item>
  2247. <item>
  2248. <widget class="QGroupBox" name="displayGroupBox">
  2249. <property name="sizePolicy">
  2250. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  2251. <horstretch>0</horstretch>
  2252. <verstretch>0</verstretch>
  2253. </sizepolicy>
  2254. </property>
  2255. <property name="minimumSize">
  2256. <size>
  2257. <width>600</width>
  2258. <height>0</height>
  2259. </size>
  2260. </property>
  2261. <property name="maximumSize">
  2262. <size>
  2263. <width>16777215</width>
  2264. <height>16777215</height>
  2265. </size>
  2266. </property>
  2267. <property name="title">
  2268. <string>DisplayBox</string>
  2269. </property>
  2270. <layout class="QVBoxLayout" name="verticalLayout_4">
  2271. <item>
  2272. <widget class="QGroupBox" name="instructionPreviewBox">
  2273. <property name="title">
  2274. <string>指令回执显示</string>
  2275. </property>
  2276. <layout class="QVBoxLayout" name="verticalLayout_6">
  2277. <item>
  2278. <widget class="QTextBrowser" name="instructionPreview">
  2279. <property name="sizePolicy">
  2280. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  2281. <horstretch>0</horstretch>
  2282. <verstretch>0</verstretch>
  2283. </sizepolicy>
  2284. </property>
  2285. <property name="minimumSize">
  2286. <size>
  2287. <width>0</width>
  2288. <height>0</height>
  2289. </size>
  2290. </property>
  2291. </widget>
  2292. </item>
  2293. </layout>
  2294. </widget>
  2295. </item>
  2296. <item>
  2297. <widget class="QGroupBox" name="reportPreviewBox">
  2298. <property name="title">
  2299. <string>上报回执显示</string>
  2300. </property>
  2301. <layout class="QVBoxLayout" name="verticalLayout_7">
  2302. <item>
  2303. <widget class="QTextBrowser" name="reportPreview">
  2304. <property name="sizePolicy">
  2305. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  2306. <horstretch>0</horstretch>
  2307. <verstretch>0</verstretch>
  2308. </sizepolicy>
  2309. </property>
  2310. <property name="minimumSize">
  2311. <size>
  2312. <width>0</width>
  2313. <height>0</height>
  2314. </size>
  2315. </property>
  2316. </widget>
  2317. </item>
  2318. </layout>
  2319. </widget>
  2320. </item>
  2321. <item>
  2322. <widget class="QGroupBox" name="uploadDataPreviewBox">
  2323. <property name="title">
  2324. <string>上传数据显示</string>
  2325. </property>
  2326. <layout class="QVBoxLayout" name="verticalLayout_5">
  2327. <item>
  2328. <widget class="QTextBrowser" name="uploadDataPreview">
  2329. <property name="sizePolicy">
  2330. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  2331. <horstretch>0</horstretch>
  2332. <verstretch>0</verstretch>
  2333. </sizepolicy>
  2334. </property>
  2335. <property name="minimumSize">
  2336. <size>
  2337. <width>0</width>
  2338. <height>0</height>
  2339. </size>
  2340. </property>
  2341. </widget>
  2342. </item>
  2343. </layout>
  2344. </widget>
  2345. </item>
  2346. <item>
  2347. <widget class="QGroupBox" name="uploadDataPreviewBox_2">
  2348. <property name="title">
  2349. <string>二进制</string>
  2350. </property>
  2351. <layout class="QVBoxLayout" name="verticalLayout_8">
  2352. <item>
  2353. <widget class="QTextBrowser" name="rawDataPreview">
  2354. <property name="sizePolicy">
  2355. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  2356. <horstretch>0</horstretch>
  2357. <verstretch>0</verstretch>
  2358. </sizepolicy>
  2359. </property>
  2360. <property name="minimumSize">
  2361. <size>
  2362. <width>0</width>
  2363. <height>0</height>
  2364. </size>
  2365. </property>
  2366. </widget>
  2367. </item>
  2368. </layout>
  2369. </widget>
  2370. </item>
  2371. </layout>
  2372. </widget>
  2373. </item>
  2374. </layout>
  2375. </widget>
  2376. </item>
  2377. </layout>
  2378. </widget>
  2379. </item>
  2380. </layout>
  2381. </widget>
  2382. <widget class="QMenuBar" name="menubar">
  2383. <property name="geometry">
  2384. <rect>
  2385. <x>0</x>
  2386. <y>0</y>
  2387. <width>1532</width>
  2388. <height>20</height>
  2389. </rect>
  2390. </property>
  2391. <widget class="QMenu" name="menu123">
  2392. <property name="title">
  2393. <string>心电上位机V2</string>
  2394. </property>
  2395. </widget>
  2396. <addaction name="menu123"/>
  2397. </widget>
  2398. <widget class="QStatusBar" name="statusbar"/>
  2399. </widget>
  2400. <resources/>
  2401. <connections/>
  2402. </ui>