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.

1707 lines
62 KiB

2 years ago
2 years ago
1 year ago
2 years 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
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
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>1044</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>心电单(三)导上位机</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. }</string>
  575. </property>
  576. <widget class="QWidget" name="top">
  577. <property name="styleSheet">
  578. <string notr="true"/>
  579. </property>
  580. <layout class="QVBoxLayout" name="verticalLayout">
  581. <item>
  582. <widget class="QWidget" name="top2" native="true">
  583. <property name="sizePolicy">
  584. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  585. <horstretch>0</horstretch>
  586. <verstretch>0</verstretch>
  587. </sizepolicy>
  588. </property>
  589. <layout class="QHBoxLayout" name="horizontalLayout">
  590. <item>
  591. <widget class="QWidget" name="sidebar" native="true">
  592. <property name="minimumSize">
  593. <size>
  594. <width>200</width>
  595. <height>0</height>
  596. </size>
  597. </property>
  598. <property name="maximumSize">
  599. <size>
  600. <width>200</width>
  601. <height>16777215</height>
  602. </size>
  603. </property>
  604. <layout class="QVBoxLayout" name="verticalLayout_2">
  605. <item>
  606. <widget class="QGroupBox" name="serialSettingGB">
  607. <property name="maximumSize">
  608. <size>
  609. <width>16777215</width>
  610. <height>16777215</height>
  611. </size>
  612. </property>
  613. <property name="title">
  614. <string>串口设置</string>
  615. </property>
  616. <layout class="QGridLayout" name="gridLayout">
  617. <item row="0" column="1">
  618. <widget class="QComboBox" name="serialPortCB"/>
  619. </item>
  620. <item row="3" column="0" colspan="2">
  621. <widget class="QPushButton" name="serialOpenKey">
  622. <property name="text">
  623. <string>打开</string>
  624. </property>
  625. </widget>
  626. </item>
  627. <item row="1" column="1">
  628. <widget class="QComboBox" name="serialBaudrateCB"/>
  629. </item>
  630. <item row="1" column="0">
  631. <widget class="QLabel" name="serialBaudrateLable">
  632. <property name="text">
  633. <string>波特率</string>
  634. </property>
  635. </widget>
  636. </item>
  637. <item row="0" column="0">
  638. <widget class="QLabel" name="serialPortLable">
  639. <property name="text">
  640. <string>串口</string>
  641. </property>
  642. </widget>
  643. </item>
  644. <item row="2" column="0" colspan="2">
  645. <widget class="QPushButton" name="serialPortRefreshKey">
  646. <property name="text">
  647. <string>刷新</string>
  648. </property>
  649. </widget>
  650. </item>
  651. </layout>
  652. </widget>
  653. </item>
  654. <item>
  655. <widget class="QGroupBox" name="serialSettingGB_2">
  656. <property name="maximumSize">
  657. <size>
  658. <width>16777215</width>
  659. <height>16777215</height>
  660. </size>
  661. </property>
  662. <property name="title">
  663. <string>设备配置</string>
  664. </property>
  665. <layout class="QGridLayout" name="gridLayout_6">
  666. <item row="0" column="1">
  667. <widget class="QComboBox" name="deviceType"/>
  668. </item>
  669. <item row="0" column="0">
  670. <widget class="QLabel" name="serialPortLable_2">
  671. <property name="text">
  672. <string>型号</string>
  673. </property>
  674. </widget>
  675. </item>
  676. </layout>
  677. </widget>
  678. </item>
  679. <item>
  680. <widget class="QGroupBox" name="StateGB">
  681. <property name="sizePolicy">
  682. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  683. <horstretch>0</horstretch>
  684. <verstretch>0</verstretch>
  685. </sizepolicy>
  686. </property>
  687. <property name="minimumSize">
  688. <size>
  689. <width>0</width>
  690. <height>0</height>
  691. </size>
  692. </property>
  693. <property name="maximumSize">
  694. <size>
  695. <width>16777215</width>
  696. <height>16777215</height>
  697. </size>
  698. </property>
  699. <property name="autoFillBackground">
  700. <bool>false</bool>
  701. </property>
  702. <property name="title">
  703. <string>状态</string>
  704. </property>
  705. <layout class="QFormLayout" name="formLayout_2">
  706. <item row="0" column="0">
  707. <widget class="QLabel" name="DeviceConnectStateLable">
  708. <property name="sizePolicy">
  709. <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
  710. <horstretch>0</horstretch>
  711. <verstretch>0</verstretch>
  712. </sizepolicy>
  713. </property>
  714. <property name="minimumSize">
  715. <size>
  716. <width>0</width>
  717. <height>25</height>
  718. </size>
  719. </property>
  720. <property name="maximumSize">
  721. <size>
  722. <width>16777215</width>
  723. <height>25</height>
  724. </size>
  725. </property>
  726. <property name="text">
  727. <string>设备连接状态</string>
  728. </property>
  729. </widget>
  730. </item>
  731. <item row="0" column="1">
  732. <widget class="QTextBrowser" name="DeviceConnectStateTB">
  733. <property name="sizePolicy">
  734. <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
  735. <horstretch>0</horstretch>
  736. <verstretch>0</verstretch>
  737. </sizepolicy>
  738. </property>
  739. <property name="minimumSize">
  740. <size>
  741. <width>0</width>
  742. <height>25</height>
  743. </size>
  744. </property>
  745. <property name="maximumSize">
  746. <size>
  747. <width>16777215</width>
  748. <height>25</height>
  749. </size>
  750. </property>
  751. <property name="lineWrapColumnOrWidth">
  752. <number>2</number>
  753. </property>
  754. </widget>
  755. </item>
  756. </layout>
  757. </widget>
  758. </item>
  759. <item>
  760. <widget class="QGroupBox" name="FunctionKeyGB">
  761. <property name="minimumSize">
  762. <size>
  763. <width>0</width>
  764. <height>0</height>
  765. </size>
  766. </property>
  767. <property name="title">
  768. <string>功能按键</string>
  769. </property>
  770. <layout class="QVBoxLayout" name="verticalLayout_3">
  771. <item>
  772. <widget class="QPushButton" name="clearPreview">
  773. <property name="sizePolicy">
  774. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  775. <horstretch>1</horstretch>
  776. <verstretch>0</verstretch>
  777. </sizepolicy>
  778. </property>
  779. <property name="minimumSize">
  780. <size>
  781. <width>0</width>
  782. <height>30</height>
  783. </size>
  784. </property>
  785. <property name="text">
  786. <string>清空显示</string>
  787. </property>
  788. </widget>
  789. </item>
  790. </layout>
  791. </widget>
  792. </item>
  793. <item>
  794. <widget class="QTextBrowser" name="textBrowser">
  795. <property name="html">
  796. <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;
  797. &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;
  798. p, li { white-space: pre-wrap; }
  799. &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'SimSun'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
  800. &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;
  801. &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;
  802. &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;
  803. &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;
  804. &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;
  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;1.当检查上传数据的CHECKSUM(检验和)时,需要先复位下蓝牙主机开发板清空统计信息&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  806. </property>
  807. </widget>
  808. </item>
  809. <item>
  810. <widget class="QGroupBox" name="groupBox_5">
  811. <property name="minimumSize">
  812. <size>
  813. <width>0</width>
  814. <height>100</height>
  815. </size>
  816. </property>
  817. <property name="title">
  818. <string>GroupBox</string>
  819. </property>
  820. </widget>
  821. </item>
  822. <item>
  823. <spacer name="verticalSpacer">
  824. <property name="orientation">
  825. <enum>Qt::Vertical</enum>
  826. </property>
  827. <property name="sizeHint" stdset="0">
  828. <size>
  829. <width>20</width>
  830. <height>40</height>
  831. </size>
  832. </property>
  833. </spacer>
  834. </item>
  835. </layout>
  836. </widget>
  837. </item>
  838. <item>
  839. <widget class="QWidget" name="content" native="true">
  840. <property name="sizePolicy">
  841. <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
  842. <horstretch>0</horstretch>
  843. <verstretch>0</verstretch>
  844. </sizepolicy>
  845. </property>
  846. <layout class="QHBoxLayout" name="horizontalLayout_2">
  847. <item>
  848. <widget class="QGroupBox" name="buttonGroupBox">
  849. <property name="sizePolicy">
  850. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  851. <horstretch>0</horstretch>
  852. <verstretch>0</verstretch>
  853. </sizepolicy>
  854. </property>
  855. <property name="minimumSize">
  856. <size>
  857. <width>0</width>
  858. <height>0</height>
  859. </size>
  860. </property>
  861. <property name="maximumSize">
  862. <size>
  863. <width>16777215</width>
  864. <height>16777215</height>
  865. </size>
  866. </property>
  867. <property name="title">
  868. <string>ButtonBox</string>
  869. </property>
  870. <layout class="QGridLayout" name="gridLayout_5">
  871. <item row="2" column="0">
  872. <widget class="QGroupBox" name="groupBox">
  873. <property name="minimumSize">
  874. <size>
  875. <width>0</width>
  876. <height>200</height>
  877. </size>
  878. </property>
  879. <property name="title">
  880. <string>采集&amp;预览</string>
  881. </property>
  882. <layout class="QGridLayout" name="gridLayout_4">
  883. <item row="3" column="0">
  884. <widget class="QPushButton" name="stopRealtimeReport">
  885. <property name="sizePolicy">
  886. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  887. <horstretch>1</horstretch>
  888. <verstretch>0</verstretch>
  889. </sizepolicy>
  890. </property>
  891. <property name="minimumSize">
  892. <size>
  893. <width>0</width>
  894. <height>30</height>
  895. </size>
  896. </property>
  897. <property name="text">
  898. <string>停止预览</string>
  899. </property>
  900. </widget>
  901. </item>
  902. <item row="1" column="0">
  903. <widget class="QPushButton" name="stopCapture">
  904. <property name="sizePolicy">
  905. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  906. <horstretch>1</horstretch>
  907. <verstretch>0</verstretch>
  908. </sizepolicy>
  909. </property>
  910. <property name="minimumSize">
  911. <size>
  912. <width>0</width>
  913. <height>30</height>
  914. </size>
  915. </property>
  916. <property name="text">
  917. <string>停止采集</string>
  918. </property>
  919. </widget>
  920. </item>
  921. <item row="0" column="0">
  922. <widget class="QPushButton" name="startCapture">
  923. <property name="sizePolicy">
  924. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  925. <horstretch>1</horstretch>
  926. <verstretch>0</verstretch>
  927. </sizepolicy>
  928. </property>
  929. <property name="minimumSize">
  930. <size>
  931. <width>0</width>
  932. <height>30</height>
  933. </size>
  934. </property>
  935. <property name="text">
  936. <string>开始采集</string>
  937. </property>
  938. </widget>
  939. </item>
  940. <item row="2" column="0">
  941. <widget class="QPushButton" name="startRealtimeReport">
  942. <property name="sizePolicy">
  943. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  944. <horstretch>1</horstretch>
  945. <verstretch>0</verstretch>
  946. </sizepolicy>
  947. </property>
  948. <property name="minimumSize">
  949. <size>
  950. <width>0</width>
  951. <height>30</height>
  952. </size>
  953. </property>
  954. <property name="text">
  955. <string>开始预览</string>
  956. </property>
  957. </widget>
  958. </item>
  959. </layout>
  960. </widget>
  961. </item>
  962. <item row="0" column="0">
  963. <widget class="QGroupBox" name="groupBox_4">
  964. <property name="title">
  965. <string>设备信息</string>
  966. </property>
  967. <layout class="QGridLayout" name="gridLayout_3">
  968. <item row="2" column="0">
  969. <widget class="QPushButton" name="readDeviceState">
  970. <property name="sizePolicy">
  971. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  972. <horstretch>1</horstretch>
  973. <verstretch>0</verstretch>
  974. </sizepolicy>
  975. </property>
  976. <property name="minimumSize">
  977. <size>
  978. <width>0</width>
  979. <height>30</height>
  980. </size>
  981. </property>
  982. <property name="text">
  983. <string>读取设备状态信息</string>
  984. </property>
  985. </widget>
  986. </item>
  987. <item row="0" column="1">
  988. <widget class="QPushButton" name="syncTime">
  989. <property name="sizePolicy">
  990. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  991. <horstretch>1</horstretch>
  992. <verstretch>0</verstretch>
  993. </sizepolicy>
  994. </property>
  995. <property name="minimumSize">
  996. <size>
  997. <width>0</width>
  998. <height>30</height>
  999. </size>
  1000. </property>
  1001. <property name="text">
  1002. <string>同步时间</string>
  1003. </property>
  1004. </widget>
  1005. </item>
  1006. <item row="1" column="1">
  1007. <widget class="QPushButton" name="readTime">
  1008. <property name="sizePolicy">
  1009. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  1010. <horstretch>1</horstretch>
  1011. <verstretch>0</verstretch>
  1012. </sizepolicy>
  1013. </property>
  1014. <property name="minimumSize">
  1015. <size>
  1016. <width>0</width>
  1017. <height>30</height>
  1018. </size>
  1019. </property>
  1020. <property name="text">
  1021. <string>读取设备时间</string>
  1022. </property>
  1023. </widget>
  1024. </item>
  1025. <item row="5" column="0">
  1026. <widget class="QPushButton" name="readSN">
  1027. <property name="sizePolicy">
  1028. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  1029. <horstretch>1</horstretch>
  1030. <verstretch>0</verstretch>
  1031. </sizepolicy>
  1032. </property>
  1033. <property name="minimumSize">
  1034. <size>
  1035. <width>0</width>
  1036. <height>30</height>
  1037. </size>
  1038. </property>
  1039. <property name="text">
  1040. <string>读取设备SN</string>
  1041. </property>
  1042. </widget>
  1043. </item>
  1044. <item row="0" column="0">
  1045. <widget class="QPushButton" name="readDeviceVersion">
  1046. <property name="sizePolicy">
  1047. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  1048. <horstretch>1</horstretch>
  1049. <verstretch>0</verstretch>
  1050. </sizepolicy>
  1051. </property>
  1052. <property name="minimumSize">
  1053. <size>
  1054. <width>0</width>
  1055. <height>30</height>
  1056. </size>
  1057. </property>
  1058. <property name="text">
  1059. <string>读取设备版本信息</string>
  1060. </property>
  1061. </widget>
  1062. </item>
  1063. <item row="7" column="1">
  1064. <spacer name="horizontalSpacer_3">
  1065. <property name="orientation">
  1066. <enum>Qt::Horizontal</enum>
  1067. </property>
  1068. <property name="sizeHint" stdset="0">
  1069. <size>
  1070. <width>40</width>
  1071. <height>20</height>
  1072. </size>
  1073. </property>
  1074. </spacer>
  1075. </item>
  1076. <item row="7" column="0">
  1077. <spacer name="verticalSpacer_5">
  1078. <property name="orientation">
  1079. <enum>Qt::Vertical</enum>
  1080. </property>
  1081. <property name="sizeHint" stdset="0">
  1082. <size>
  1083. <width>20</width>
  1084. <height>40</height>
  1085. </size>
  1086. </property>
  1087. </spacer>
  1088. </item>
  1089. <item row="1" column="0">
  1090. <widget class="QPushButton" name="readSensorInfo">
  1091. <property name="sizePolicy">
  1092. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  1093. <horstretch>1</horstretch>
  1094. <verstretch>0</verstretch>
  1095. </sizepolicy>
  1096. </property>
  1097. <property name="minimumSize">
  1098. <size>
  1099. <width>0</width>
  1100. <height>30</height>
  1101. </size>
  1102. </property>
  1103. <property name="text">
  1104. <string>读取传感器信息</string>
  1105. </property>
  1106. </widget>
  1107. </item>
  1108. <item row="6" column="0">
  1109. <widget class="QPushButton" name="resetDevice">
  1110. <property name="sizePolicy">
  1111. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  1112. <horstretch>1</horstretch>
  1113. <verstretch>0</verstretch>
  1114. </sizepolicy>
  1115. </property>
  1116. <property name="minimumSize">
  1117. <size>
  1118. <width>0</width>
  1119. <height>30</height>
  1120. </size>
  1121. </property>
  1122. <property name="text">
  1123. <string>复位设备</string>
  1124. </property>
  1125. </widget>
  1126. </item>
  1127. </layout>
  1128. </widget>
  1129. </item>
  1130. <item row="1" column="0">
  1131. <widget class="QGroupBox" name="groupBox_3">
  1132. <property name="title">
  1133. <string>记录上传</string>
  1134. </property>
  1135. <layout class="QGridLayout" name="gridLayout_2">
  1136. <item row="1" column="1">
  1137. <widget class="QTextEdit" name="startUploadRecord_p0">
  1138. <property name="sizePolicy">
  1139. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  1140. <horstretch>1</horstretch>
  1141. <verstretch>0</verstretch>
  1142. </sizepolicy>
  1143. </property>
  1144. <property name="minimumSize">
  1145. <size>
  1146. <width>0</width>
  1147. <height>0</height>
  1148. </size>
  1149. </property>
  1150. <property name="maximumSize">
  1151. <size>
  1152. <width>16777215</width>
  1153. <height>30</height>
  1154. </size>
  1155. </property>
  1156. </widget>
  1157. </item>
  1158. <item row="4" column="1">
  1159. <spacer name="horizontalSpacer_2">
  1160. <property name="orientation">
  1161. <enum>Qt::Horizontal</enum>
  1162. </property>
  1163. <property name="sizeHint" stdset="0">
  1164. <size>
  1165. <width>40</width>
  1166. <height>20</height>
  1167. </size>
  1168. </property>
  1169. </spacer>
  1170. </item>
  1171. <item row="0" column="0">
  1172. <widget class="QPushButton" name="readAllRecords">
  1173. <property name="sizePolicy">
  1174. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  1175. <horstretch>1</horstretch>
  1176. <verstretch>0</verstretch>
  1177. </sizepolicy>
  1178. </property>
  1179. <property name="minimumSize">
  1180. <size>
  1181. <width>0</width>
  1182. <height>30</height>
  1183. </size>
  1184. </property>
  1185. <property name="text">
  1186. <string>读取所有记录</string>
  1187. </property>
  1188. </widget>
  1189. </item>
  1190. <item row="4" column="0">
  1191. <spacer name="verticalSpacer_4">
  1192. <property name="orientation">
  1193. <enum>Qt::Vertical</enum>
  1194. </property>
  1195. <property name="sizeHint" stdset="0">
  1196. <size>
  1197. <width>20</width>
  1198. <height>40</height>
  1199. </size>
  1200. </property>
  1201. </spacer>
  1202. </item>
  1203. <item row="1" column="0">
  1204. <widget class="QPushButton" name="startUploadRecord">
  1205. <property name="sizePolicy">
  1206. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  1207. <horstretch>1</horstretch>
  1208. <verstretch>0</verstretch>
  1209. </sizepolicy>
  1210. </property>
  1211. <property name="minimumSize">
  1212. <size>
  1213. <width>0</width>
  1214. <height>30</height>
  1215. </size>
  1216. </property>
  1217. <property name="text">
  1218. <string>上传记录</string>
  1219. </property>
  1220. </widget>
  1221. </item>
  1222. <item row="2" column="0">
  1223. <widget class="QPushButton" name="stopUploadRecord">
  1224. <property name="sizePolicy">
  1225. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  1226. <horstretch>1</horstretch>
  1227. <verstretch>0</verstretch>
  1228. </sizepolicy>
  1229. </property>
  1230. <property name="minimumSize">
  1231. <size>
  1232. <width>0</width>
  1233. <height>30</height>
  1234. </size>
  1235. </property>
  1236. <property name="text">
  1237. <string>停止上传</string>
  1238. </property>
  1239. </widget>
  1240. </item>
  1241. <item row="3" column="0">
  1242. <widget class="QPushButton" name="delRecord">
  1243. <property name="sizePolicy">
  1244. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  1245. <horstretch>1</horstretch>
  1246. <verstretch>0</verstretch>
  1247. </sizepolicy>
  1248. </property>
  1249. <property name="minimumSize">
  1250. <size>
  1251. <width>0</width>
  1252. <height>30</height>
  1253. </size>
  1254. </property>
  1255. <property name="text">
  1256. <string>删除记录</string>
  1257. </property>
  1258. </widget>
  1259. </item>
  1260. <item row="3" column="1">
  1261. <widget class="QTextEdit" name="delRecord_p0">
  1262. <property name="sizePolicy">
  1263. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  1264. <horstretch>1</horstretch>
  1265. <verstretch>0</verstretch>
  1266. </sizepolicy>
  1267. </property>
  1268. <property name="minimumSize">
  1269. <size>
  1270. <width>0</width>
  1271. <height>0</height>
  1272. </size>
  1273. </property>
  1274. <property name="maximumSize">
  1275. <size>
  1276. <width>16777215</width>
  1277. <height>30</height>
  1278. </size>
  1279. </property>
  1280. </widget>
  1281. </item>
  1282. </layout>
  1283. </widget>
  1284. </item>
  1285. <item row="3" column="0">
  1286. <widget class="QGroupBox" name="groupBox_2">
  1287. <property name="minimumSize">
  1288. <size>
  1289. <width>0</width>
  1290. <height>300</height>
  1291. </size>
  1292. </property>
  1293. <property name="title">
  1294. <string>测试指令</string>
  1295. </property>
  1296. <layout class="QGridLayout" name="gridLayout_7">
  1297. <item row="3" column="1">
  1298. <widget class="QPushButton" name="TestCmd_stopCapture">
  1299. <property name="minimumSize">
  1300. <size>
  1301. <width>0</width>
  1302. <height>30</height>
  1303. </size>
  1304. </property>
  1305. <property name="text">
  1306. <string>停止采集</string>
  1307. </property>
  1308. </widget>
  1309. </item>
  1310. <item row="6" column="0">
  1311. <spacer name="verticalSpacer_2">
  1312. <property name="orientation">
  1313. <enum>Qt::Vertical</enum>
  1314. </property>
  1315. <property name="sizeHint" stdset="0">
  1316. <size>
  1317. <width>20</width>
  1318. <height>40</height>
  1319. </size>
  1320. </property>
  1321. </spacer>
  1322. </item>
  1323. <item row="1" column="0">
  1324. <widget class="QPushButton" name="TestCmd_writeSubICReg">
  1325. <property name="minimumSize">
  1326. <size>
  1327. <width>0</width>
  1328. <height>30</height>
  1329. </size>
  1330. </property>
  1331. <property name="text">
  1332. <string>写ECG寄存器</string>
  1333. </property>
  1334. </widget>
  1335. </item>
  1336. <item row="2" column="2">
  1337. <widget class="QTextEdit" name="TestCmd_writeSubICRegMask_p1">
  1338. <property name="sizePolicy">
  1339. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  1340. <horstretch>1</horstretch>
  1341. <verstretch>0</verstretch>
  1342. </sizepolicy>
  1343. </property>
  1344. <property name="minimumSize">
  1345. <size>
  1346. <width>0</width>
  1347. <height>0</height>
  1348. </size>
  1349. </property>
  1350. <property name="maximumSize">
  1351. <size>
  1352. <width>16777215</width>
  1353. <height>30</height>
  1354. </size>
  1355. </property>
  1356. </widget>
  1357. </item>
  1358. <item row="2" column="3">
  1359. <widget class="QTextEdit" name="TestCmd_writeSubICRegMask_p2">
  1360. <property name="sizePolicy">
  1361. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  1362. <horstretch>1</horstretch>
  1363. <verstretch>0</verstretch>
  1364. </sizepolicy>
  1365. </property>
  1366. <property name="minimumSize">
  1367. <size>
  1368. <width>0</width>
  1369. <height>0</height>
  1370. </size>
  1371. </property>
  1372. <property name="maximumSize">
  1373. <size>
  1374. <width>16777215</width>
  1375. <height>30</height>
  1376. </size>
  1377. </property>
  1378. </widget>
  1379. </item>
  1380. <item row="2" column="4">
  1381. <widget class="QTextEdit" name="TestCmd_writeSubICRegMask_p3">
  1382. <property name="sizePolicy">
  1383. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  1384. <horstretch>1</horstretch>
  1385. <verstretch>0</verstretch>
  1386. </sizepolicy>
  1387. </property>
  1388. <property name="minimumSize">
  1389. <size>
  1390. <width>0</width>
  1391. <height>0</height>
  1392. </size>
  1393. </property>
  1394. <property name="maximumSize">
  1395. <size>
  1396. <width>16777215</width>
  1397. <height>30</height>
  1398. </size>
  1399. </property>
  1400. </widget>
  1401. </item>
  1402. <item row="1" column="2">
  1403. <widget class="QTextEdit" name="TestCmd_writeSubICReg_p1">
  1404. <property name="sizePolicy">
  1405. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  1406. <horstretch>1</horstretch>
  1407. <verstretch>0</verstretch>
  1408. </sizepolicy>
  1409. </property>
  1410. <property name="minimumSize">
  1411. <size>
  1412. <width>0</width>
  1413. <height>0</height>
  1414. </size>
  1415. </property>
  1416. <property name="maximumSize">
  1417. <size>
  1418. <width>16777215</width>
  1419. <height>30</height>
  1420. </size>
  1421. </property>
  1422. </widget>
  1423. </item>
  1424. <item row="3" column="0">
  1425. <widget class="QPushButton" name="TestCmd_startCapture">
  1426. <property name="minimumSize">
  1427. <size>
  1428. <width>0</width>
  1429. <height>30</height>
  1430. </size>
  1431. </property>
  1432. <property name="text">
  1433. <string>开始采集</string>
  1434. </property>
  1435. </widget>
  1436. </item>
  1437. <item row="1" column="1">
  1438. <widget class="QTextEdit" name="TestCmd_writeSubICReg_p0">
  1439. <property name="sizePolicy">
  1440. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  1441. <horstretch>1</horstretch>
  1442. <verstretch>0</verstretch>
  1443. </sizepolicy>
  1444. </property>
  1445. <property name="minimumSize">
  1446. <size>
  1447. <width>0</width>
  1448. <height>0</height>
  1449. </size>
  1450. </property>
  1451. <property name="maximumSize">
  1452. <size>
  1453. <width>16777215</width>
  1454. <height>30</height>
  1455. </size>
  1456. </property>
  1457. </widget>
  1458. </item>
  1459. <item row="2" column="0">
  1460. <widget class="QPushButton" name="TestCmd_writeSubICRegMask">
  1461. <property name="sizePolicy">
  1462. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  1463. <horstretch>1</horstretch>
  1464. <verstretch>0</verstretch>
  1465. </sizepolicy>
  1466. </property>
  1467. <property name="minimumSize">
  1468. <size>
  1469. <width>0</width>
  1470. <height>30</height>
  1471. </size>
  1472. </property>
  1473. <property name="text">
  1474. <string>写ECG寄存器()</string>
  1475. </property>
  1476. </widget>
  1477. </item>
  1478. <item row="0" column="0">
  1479. <widget class="QPushButton" name="TestCmd_readSubIcRegs">
  1480. <property name="minimumSize">
  1481. <size>
  1482. <width>0</width>
  1483. <height>30</height>
  1484. </size>
  1485. </property>
  1486. <property name="text">
  1487. <string>读取ECG芯片寄存器</string>
  1488. </property>
  1489. </widget>
  1490. </item>
  1491. <item row="2" column="1">
  1492. <widget class="QTextEdit" name="TestCmd_writeSubICRegMask_p0">
  1493. <property name="sizePolicy">
  1494. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  1495. <horstretch>1</horstretch>
  1496. <verstretch>0</verstretch>
  1497. </sizepolicy>
  1498. </property>
  1499. <property name="minimumSize">
  1500. <size>
  1501. <width>0</width>
  1502. <height>0</height>
  1503. </size>
  1504. </property>
  1505. <property name="maximumSize">
  1506. <size>
  1507. <width>16777215</width>
  1508. <height>30</height>
  1509. </size>
  1510. </property>
  1511. </widget>
  1512. </item>
  1513. <item row="5" column="0">
  1514. <widget class="QPushButton" name="TestCmd_changeECGSrcToSquareWave">
  1515. <property name="minimumSize">
  1516. <size>
  1517. <width>0</width>
  1518. <height>30</height>
  1519. </size>
  1520. </property>
  1521. <property name="text">
  1522. <string>修改信号源为方波</string>
  1523. </property>
  1524. </widget>
  1525. </item>
  1526. </layout>
  1527. </widget>
  1528. </item>
  1529. <item row="4" column="0">
  1530. <spacer name="verticalSpacer_3">
  1531. <property name="orientation">
  1532. <enum>Qt::Vertical</enum>
  1533. </property>
  1534. <property name="sizeHint" stdset="0">
  1535. <size>
  1536. <width>20</width>
  1537. <height>40</height>
  1538. </size>
  1539. </property>
  1540. </spacer>
  1541. </item>
  1542. </layout>
  1543. </widget>
  1544. </item>
  1545. <item>
  1546. <widget class="QGroupBox" name="displayGroupBox">
  1547. <property name="sizePolicy">
  1548. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  1549. <horstretch>0</horstretch>
  1550. <verstretch>0</verstretch>
  1551. </sizepolicy>
  1552. </property>
  1553. <property name="minimumSize">
  1554. <size>
  1555. <width>600</width>
  1556. <height>0</height>
  1557. </size>
  1558. </property>
  1559. <property name="maximumSize">
  1560. <size>
  1561. <width>16777215</width>
  1562. <height>16777215</height>
  1563. </size>
  1564. </property>
  1565. <property name="title">
  1566. <string>DisplayBox</string>
  1567. </property>
  1568. <layout class="QVBoxLayout" name="verticalLayout_4">
  1569. <item>
  1570. <widget class="QGroupBox" name="instructionPreviewBox">
  1571. <property name="title">
  1572. <string>指令回执显示</string>
  1573. </property>
  1574. <layout class="QVBoxLayout" name="verticalLayout_6">
  1575. <item>
  1576. <widget class="QTextBrowser" name="instructionPreview">
  1577. <property name="sizePolicy">
  1578. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  1579. <horstretch>0</horstretch>
  1580. <verstretch>0</verstretch>
  1581. </sizepolicy>
  1582. </property>
  1583. <property name="minimumSize">
  1584. <size>
  1585. <width>0</width>
  1586. <height>0</height>
  1587. </size>
  1588. </property>
  1589. </widget>
  1590. </item>
  1591. </layout>
  1592. </widget>
  1593. </item>
  1594. <item>
  1595. <widget class="QGroupBox" name="reportPreviewBox">
  1596. <property name="title">
  1597. <string>上报回执显示</string>
  1598. </property>
  1599. <layout class="QVBoxLayout" name="verticalLayout_7">
  1600. <item>
  1601. <widget class="QTextBrowser" name="reportPreview">
  1602. <property name="sizePolicy">
  1603. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  1604. <horstretch>0</horstretch>
  1605. <verstretch>0</verstretch>
  1606. </sizepolicy>
  1607. </property>
  1608. <property name="minimumSize">
  1609. <size>
  1610. <width>0</width>
  1611. <height>0</height>
  1612. </size>
  1613. </property>
  1614. </widget>
  1615. </item>
  1616. </layout>
  1617. </widget>
  1618. </item>
  1619. <item>
  1620. <widget class="QGroupBox" name="uploadDataPreviewBox">
  1621. <property name="title">
  1622. <string>上传数据显示</string>
  1623. </property>
  1624. <layout class="QVBoxLayout" name="verticalLayout_5">
  1625. <item>
  1626. <widget class="QTextBrowser" name="uploadDataPreview">
  1627. <property name="sizePolicy">
  1628. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  1629. <horstretch>0</horstretch>
  1630. <verstretch>0</verstretch>
  1631. </sizepolicy>
  1632. </property>
  1633. <property name="minimumSize">
  1634. <size>
  1635. <width>0</width>
  1636. <height>0</height>
  1637. </size>
  1638. </property>
  1639. </widget>
  1640. </item>
  1641. </layout>
  1642. </widget>
  1643. </item>
  1644. <item>
  1645. <widget class="QGroupBox" name="uploadDataPreviewBox_2">
  1646. <property name="title">
  1647. <string>二进制</string>
  1648. </property>
  1649. <layout class="QVBoxLayout" name="verticalLayout_8">
  1650. <item>
  1651. <widget class="QTextBrowser" name="rawDataPreview">
  1652. <property name="sizePolicy">
  1653. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  1654. <horstretch>0</horstretch>
  1655. <verstretch>0</verstretch>
  1656. </sizepolicy>
  1657. </property>
  1658. <property name="minimumSize">
  1659. <size>
  1660. <width>0</width>
  1661. <height>0</height>
  1662. </size>
  1663. </property>
  1664. </widget>
  1665. </item>
  1666. </layout>
  1667. </widget>
  1668. </item>
  1669. </layout>
  1670. </widget>
  1671. </item>
  1672. </layout>
  1673. </widget>
  1674. </item>
  1675. </layout>
  1676. </widget>
  1677. </item>
  1678. </layout>
  1679. </widget>
  1680. <widget class="QMenuBar" name="menubar">
  1681. <property name="geometry">
  1682. <rect>
  1683. <x>0</x>
  1684. <y>0</y>
  1685. <width>1532</width>
  1686. <height>20</height>
  1687. </rect>
  1688. </property>
  1689. <widget class="QMenu" name="menu123">
  1690. <property name="title">
  1691. <string>iflytop</string>
  1692. </property>
  1693. </widget>
  1694. <addaction name="menu123"/>
  1695. </widget>
  1696. <widget class="QStatusBar" name="statusbar"/>
  1697. </widget>
  1698. <resources/>
  1699. <connections/>
  1700. </ui>