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.

1464 lines
52 KiB

2 years ago
1 year ago
1 year 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
2 years ago
1 year 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>1448</width>
  10. <height>1040</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="waveSerialPortCB"/>
  668. </item>
  669. <item row="3" column="0" colspan="2">
  670. <widget class="QPushButton" name="waveSerialOpenKey">
  671. <property name="text">
  672. <string>打开</string>
  673. </property>
  674. </widget>
  675. </item>
  676. <item row="1" column="1">
  677. <widget class="QComboBox" name="waveSerialBaudrateCB"/>
  678. </item>
  679. <item row="1" column="0">
  680. <widget class="QLabel" name="serialBaudrateLable_2">
  681. <property name="text">
  682. <string>波特率</string>
  683. </property>
  684. </widget>
  685. </item>
  686. <item row="0" column="0">
  687. <widget class="QLabel" name="serialPortLable_2">
  688. <property name="text">
  689. <string>串口</string>
  690. </property>
  691. </widget>
  692. </item>
  693. <item row="2" column="0" colspan="2">
  694. <widget class="QPushButton" name="waveSerialPortRefreshKey">
  695. <property name="text">
  696. <string>刷新</string>
  697. </property>
  698. </widget>
  699. </item>
  700. </layout>
  701. </widget>
  702. </item>
  703. <item>
  704. <widget class="QGroupBox" name="StateGB">
  705. <property name="sizePolicy">
  706. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  707. <horstretch>0</horstretch>
  708. <verstretch>0</verstretch>
  709. </sizepolicy>
  710. </property>
  711. <property name="minimumSize">
  712. <size>
  713. <width>0</width>
  714. <height>0</height>
  715. </size>
  716. </property>
  717. <property name="maximumSize">
  718. <size>
  719. <width>16777215</width>
  720. <height>16777215</height>
  721. </size>
  722. </property>
  723. <property name="autoFillBackground">
  724. <bool>false</bool>
  725. </property>
  726. <property name="title">
  727. <string>状态</string>
  728. </property>
  729. <layout class="QFormLayout" name="formLayout_2">
  730. <item row="0" column="0">
  731. <widget class="QLabel" name="DeviceConnectStateLable">
  732. <property name="sizePolicy">
  733. <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
  734. <horstretch>0</horstretch>
  735. <verstretch>0</verstretch>
  736. </sizepolicy>
  737. </property>
  738. <property name="minimumSize">
  739. <size>
  740. <width>0</width>
  741. <height>25</height>
  742. </size>
  743. </property>
  744. <property name="maximumSize">
  745. <size>
  746. <width>16777215</width>
  747. <height>25</height>
  748. </size>
  749. </property>
  750. <property name="text">
  751. <string>设备连接状态</string>
  752. </property>
  753. </widget>
  754. </item>
  755. <item row="0" column="1">
  756. <widget class="QTextBrowser" name="DeviceConnectStateTB">
  757. <property name="sizePolicy">
  758. <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
  759. <horstretch>0</horstretch>
  760. <verstretch>0</verstretch>
  761. </sizepolicy>
  762. </property>
  763. <property name="minimumSize">
  764. <size>
  765. <width>0</width>
  766. <height>25</height>
  767. </size>
  768. </property>
  769. <property name="maximumSize">
  770. <size>
  771. <width>16777215</width>
  772. <height>25</height>
  773. </size>
  774. </property>
  775. <property name="lineWrapColumnOrWidth">
  776. <number>2</number>
  777. </property>
  778. </widget>
  779. </item>
  780. </layout>
  781. </widget>
  782. </item>
  783. <item>
  784. <widget class="QGroupBox" name="FunctionKeyGB">
  785. <property name="minimumSize">
  786. <size>
  787. <width>0</width>
  788. <height>0</height>
  789. </size>
  790. </property>
  791. <property name="title">
  792. <string>功能按键</string>
  793. </property>
  794. <layout class="QVBoxLayout" name="verticalLayout_3">
  795. <item>
  796. <widget class="QPushButton" name="clearPreview">
  797. <property name="sizePolicy">
  798. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  799. <horstretch>1</horstretch>
  800. <verstretch>0</verstretch>
  801. </sizepolicy>
  802. </property>
  803. <property name="minimumSize">
  804. <size>
  805. <width>0</width>
  806. <height>30</height>
  807. </size>
  808. </property>
  809. <property name="text">
  810. <string>清空显示</string>
  811. </property>
  812. </widget>
  813. </item>
  814. </layout>
  815. </widget>
  816. </item>
  817. <item>
  818. <widget class="QTextBrowser" name="textBrowser">
  819. <property name="html">
  820. <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;
  821. &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;
  822. p, li { white-space: pre-wrap; }
  823. &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'SimSun'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
  824. &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;
  825. &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>
  826. </property>
  827. </widget>
  828. </item>
  829. <item>
  830. <spacer name="verticalSpacer">
  831. <property name="orientation">
  832. <enum>Qt::Vertical</enum>
  833. </property>
  834. <property name="sizeHint" stdset="0">
  835. <size>
  836. <width>20</width>
  837. <height>40</height>
  838. </size>
  839. </property>
  840. </spacer>
  841. </item>
  842. </layout>
  843. </widget>
  844. </item>
  845. <item>
  846. <widget class="QWidget" name="content" native="true">
  847. <property name="sizePolicy">
  848. <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
  849. <horstretch>0</horstretch>
  850. <verstretch>0</verstretch>
  851. </sizepolicy>
  852. </property>
  853. <layout class="QHBoxLayout" name="horizontalLayout_2">
  854. <item>
  855. <widget class="QGroupBox" name="buttonGroupBox">
  856. <property name="sizePolicy">
  857. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  858. <horstretch>0</horstretch>
  859. <verstretch>0</verstretch>
  860. </sizepolicy>
  861. </property>
  862. <property name="minimumSize">
  863. <size>
  864. <width>0</width>
  865. <height>0</height>
  866. </size>
  867. </property>
  868. <property name="maximumSize">
  869. <size>
  870. <width>16777215</width>
  871. <height>16777215</height>
  872. </size>
  873. </property>
  874. <property name="title">
  875. <string>ButtonBox</string>
  876. </property>
  877. <layout class="QGridLayout" name="gridLayout_5">
  878. <item row="2" column="0">
  879. <widget class="QGroupBox" name="groupBox">
  880. <property name="minimumSize">
  881. <size>
  882. <width>0</width>
  883. <height>200</height>
  884. </size>
  885. </property>
  886. <property name="title">
  887. <string>采集&amp;预览</string>
  888. </property>
  889. <layout class="QGridLayout" name="gridLayout_4">
  890. <item row="3" column="0">
  891. <widget class="QPushButton" name="stopRealtimeReport">
  892. <property name="sizePolicy">
  893. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  894. <horstretch>1</horstretch>
  895. <verstretch>0</verstretch>
  896. </sizepolicy>
  897. </property>
  898. <property name="minimumSize">
  899. <size>
  900. <width>0</width>
  901. <height>30</height>
  902. </size>
  903. </property>
  904. <property name="text">
  905. <string>停止预览</string>
  906. </property>
  907. </widget>
  908. </item>
  909. <item row="1" column="0">
  910. <widget class="QPushButton" name="stopCapture">
  911. <property name="sizePolicy">
  912. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  913. <horstretch>1</horstretch>
  914. <verstretch>0</verstretch>
  915. </sizepolicy>
  916. </property>
  917. <property name="minimumSize">
  918. <size>
  919. <width>0</width>
  920. <height>30</height>
  921. </size>
  922. </property>
  923. <property name="text">
  924. <string>停止采集</string>
  925. </property>
  926. </widget>
  927. </item>
  928. <item row="0" column="0">
  929. <widget class="QPushButton" name="startCapture">
  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="2" column="0">
  948. <widget class="QPushButton" name="startRealtimeReport">
  949. <property name="sizePolicy">
  950. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  951. <horstretch>1</horstretch>
  952. <verstretch>0</verstretch>
  953. </sizepolicy>
  954. </property>
  955. <property name="minimumSize">
  956. <size>
  957. <width>0</width>
  958. <height>30</height>
  959. </size>
  960. </property>
  961. <property name="text">
  962. <string>开始预览</string>
  963. </property>
  964. </widget>
  965. </item>
  966. </layout>
  967. </widget>
  968. </item>
  969. <item row="0" column="0">
  970. <widget class="QGroupBox" name="groupBox_4">
  971. <property name="title">
  972. <string>设备信息</string>
  973. </property>
  974. <layout class="QGridLayout" name="gridLayout_3">
  975. <item row="6" column="1">
  976. <spacer name="horizontalSpacer_3">
  977. <property name="orientation">
  978. <enum>Qt::Horizontal</enum>
  979. </property>
  980. <property name="sizeHint" stdset="0">
  981. <size>
  982. <width>40</width>
  983. <height>20</height>
  984. </size>
  985. </property>
  986. </spacer>
  987. </item>
  988. <item row="2" column="0">
  989. <widget class="QPushButton" name="readDeviceState">
  990. <property name="sizePolicy">
  991. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  992. <horstretch>1</horstretch>
  993. <verstretch>0</verstretch>
  994. </sizepolicy>
  995. </property>
  996. <property name="minimumSize">
  997. <size>
  998. <width>0</width>
  999. <height>30</height>
  1000. </size>
  1001. </property>
  1002. <property name="text">
  1003. <string>读取设备状态信息</string>
  1004. </property>
  1005. </widget>
  1006. </item>
  1007. <item row="6" column="0">
  1008. <spacer name="verticalSpacer_5">
  1009. <property name="orientation">
  1010. <enum>Qt::Vertical</enum>
  1011. </property>
  1012. <property name="sizeHint" stdset="0">
  1013. <size>
  1014. <width>20</width>
  1015. <height>40</height>
  1016. </size>
  1017. </property>
  1018. </spacer>
  1019. </item>
  1020. <item row="5" column="0">
  1021. <widget class="QPushButton" name="readSN">
  1022. <property name="sizePolicy">
  1023. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  1024. <horstretch>1</horstretch>
  1025. <verstretch>0</verstretch>
  1026. </sizepolicy>
  1027. </property>
  1028. <property name="minimumSize">
  1029. <size>
  1030. <width>0</width>
  1031. <height>30</height>
  1032. </size>
  1033. </property>
  1034. <property name="text">
  1035. <string>读取设备SN</string>
  1036. </property>
  1037. </widget>
  1038. </item>
  1039. <item row="0" column="0">
  1040. <widget class="QPushButton" name="readDeviceVersion">
  1041. <property name="sizePolicy">
  1042. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  1043. <horstretch>1</horstretch>
  1044. <verstretch>0</verstretch>
  1045. </sizepolicy>
  1046. </property>
  1047. <property name="minimumSize">
  1048. <size>
  1049. <width>0</width>
  1050. <height>30</height>
  1051. </size>
  1052. </property>
  1053. <property name="text">
  1054. <string>读取设备版本信息</string>
  1055. </property>
  1056. </widget>
  1057. </item>
  1058. <item row="1" column="0">
  1059. <widget class="QPushButton" name="readSensorInfo">
  1060. <property name="sizePolicy">
  1061. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  1062. <horstretch>1</horstretch>
  1063. <verstretch>0</verstretch>
  1064. </sizepolicy>
  1065. </property>
  1066. <property name="minimumSize">
  1067. <size>
  1068. <width>0</width>
  1069. <height>30</height>
  1070. </size>
  1071. </property>
  1072. <property name="text">
  1073. <string>读取传感器信息</string>
  1074. </property>
  1075. </widget>
  1076. </item>
  1077. <item row="0" column="1">
  1078. <widget class="QPushButton" name="syncTime">
  1079. <property name="sizePolicy">
  1080. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  1081. <horstretch>1</horstretch>
  1082. <verstretch>0</verstretch>
  1083. </sizepolicy>
  1084. </property>
  1085. <property name="minimumSize">
  1086. <size>
  1087. <width>0</width>
  1088. <height>30</height>
  1089. </size>
  1090. </property>
  1091. <property name="text">
  1092. <string>同步时间</string>
  1093. </property>
  1094. </widget>
  1095. </item>
  1096. <item row="1" column="1">
  1097. <widget class="QPushButton" name="readTime">
  1098. <property name="sizePolicy">
  1099. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  1100. <horstretch>1</horstretch>
  1101. <verstretch>0</verstretch>
  1102. </sizepolicy>
  1103. </property>
  1104. <property name="minimumSize">
  1105. <size>
  1106. <width>0</width>
  1107. <height>30</height>
  1108. </size>
  1109. </property>
  1110. <property name="text">
  1111. <string>读取设备时间</string>
  1112. </property>
  1113. </widget>
  1114. </item>
  1115. </layout>
  1116. </widget>
  1117. </item>
  1118. <item row="4" column="0">
  1119. <spacer name="verticalSpacer_3">
  1120. <property name="orientation">
  1121. <enum>Qt::Vertical</enum>
  1122. </property>
  1123. <property name="sizeHint" stdset="0">
  1124. <size>
  1125. <width>20</width>
  1126. <height>40</height>
  1127. </size>
  1128. </property>
  1129. </spacer>
  1130. </item>
  1131. <item row="1" column="0">
  1132. <widget class="QGroupBox" name="groupBox_3">
  1133. <property name="title">
  1134. <string>记录上传</string>
  1135. </property>
  1136. <layout class="QGridLayout" name="gridLayout_2">
  1137. <item row="1" column="1">
  1138. <widget class="QTextEdit" name="startUploadRecord_p0">
  1139. <property name="sizePolicy">
  1140. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  1141. <horstretch>1</horstretch>
  1142. <verstretch>0</verstretch>
  1143. </sizepolicy>
  1144. </property>
  1145. <property name="minimumSize">
  1146. <size>
  1147. <width>0</width>
  1148. <height>0</height>
  1149. </size>
  1150. </property>
  1151. <property name="maximumSize">
  1152. <size>
  1153. <width>16777215</width>
  1154. <height>30</height>
  1155. </size>
  1156. </property>
  1157. </widget>
  1158. </item>
  1159. <item row="4" column="1">
  1160. <spacer name="horizontalSpacer_2">
  1161. <property name="orientation">
  1162. <enum>Qt::Horizontal</enum>
  1163. </property>
  1164. <property name="sizeHint" stdset="0">
  1165. <size>
  1166. <width>40</width>
  1167. <height>20</height>
  1168. </size>
  1169. </property>
  1170. </spacer>
  1171. </item>
  1172. <item row="0" column="0">
  1173. <widget class="QPushButton" name="readAllRecords">
  1174. <property name="sizePolicy">
  1175. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  1176. <horstretch>1</horstretch>
  1177. <verstretch>0</verstretch>
  1178. </sizepolicy>
  1179. </property>
  1180. <property name="minimumSize">
  1181. <size>
  1182. <width>0</width>
  1183. <height>30</height>
  1184. </size>
  1185. </property>
  1186. <property name="text">
  1187. <string>读取所有记录</string>
  1188. </property>
  1189. </widget>
  1190. </item>
  1191. <item row="4" column="0">
  1192. <spacer name="verticalSpacer_4">
  1193. <property name="orientation">
  1194. <enum>Qt::Vertical</enum>
  1195. </property>
  1196. <property name="sizeHint" stdset="0">
  1197. <size>
  1198. <width>20</width>
  1199. <height>40</height>
  1200. </size>
  1201. </property>
  1202. </spacer>
  1203. </item>
  1204. <item row="1" column="0">
  1205. <widget class="QPushButton" name="startUploadRecord">
  1206. <property name="sizePolicy">
  1207. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  1208. <horstretch>1</horstretch>
  1209. <verstretch>0</verstretch>
  1210. </sizepolicy>
  1211. </property>
  1212. <property name="minimumSize">
  1213. <size>
  1214. <width>0</width>
  1215. <height>30</height>
  1216. </size>
  1217. </property>
  1218. <property name="text">
  1219. <string>上传记录</string>
  1220. </property>
  1221. </widget>
  1222. </item>
  1223. <item row="2" column="0">
  1224. <widget class="QPushButton" name="stopUploadRecord">
  1225. <property name="sizePolicy">
  1226. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  1227. <horstretch>1</horstretch>
  1228. <verstretch>0</verstretch>
  1229. </sizepolicy>
  1230. </property>
  1231. <property name="minimumSize">
  1232. <size>
  1233. <width>0</width>
  1234. <height>30</height>
  1235. </size>
  1236. </property>
  1237. <property name="text">
  1238. <string>停止上传</string>
  1239. </property>
  1240. </widget>
  1241. </item>
  1242. <item row="3" column="0">
  1243. <widget class="QPushButton" name="delRecord">
  1244. <property name="sizePolicy">
  1245. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  1246. <horstretch>1</horstretch>
  1247. <verstretch>0</verstretch>
  1248. </sizepolicy>
  1249. </property>
  1250. <property name="minimumSize">
  1251. <size>
  1252. <width>0</width>
  1253. <height>30</height>
  1254. </size>
  1255. </property>
  1256. <property name="text">
  1257. <string>删除记录</string>
  1258. </property>
  1259. </widget>
  1260. </item>
  1261. <item row="3" column="1">
  1262. <widget class="QTextEdit" name="delRecord_p0">
  1263. <property name="sizePolicy">
  1264. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  1265. <horstretch>1</horstretch>
  1266. <verstretch>0</verstretch>
  1267. </sizepolicy>
  1268. </property>
  1269. <property name="minimumSize">
  1270. <size>
  1271. <width>0</width>
  1272. <height>0</height>
  1273. </size>
  1274. </property>
  1275. <property name="maximumSize">
  1276. <size>
  1277. <width>16777215</width>
  1278. <height>30</height>
  1279. </size>
  1280. </property>
  1281. </widget>
  1282. </item>
  1283. </layout>
  1284. </widget>
  1285. </item>
  1286. <item row="3" column="0">
  1287. <widget class="QGroupBox" name="groupBox_2">
  1288. <property name="minimumSize">
  1289. <size>
  1290. <width>0</width>
  1291. <height>300</height>
  1292. </size>
  1293. </property>
  1294. <property name="title">
  1295. <string>GroupBox</string>
  1296. </property>
  1297. </widget>
  1298. </item>
  1299. </layout>
  1300. </widget>
  1301. </item>
  1302. <item>
  1303. <widget class="QGroupBox" name="displayGroupBox">
  1304. <property name="sizePolicy">
  1305. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  1306. <horstretch>0</horstretch>
  1307. <verstretch>0</verstretch>
  1308. </sizepolicy>
  1309. </property>
  1310. <property name="minimumSize">
  1311. <size>
  1312. <width>600</width>
  1313. <height>0</height>
  1314. </size>
  1315. </property>
  1316. <property name="maximumSize">
  1317. <size>
  1318. <width>16777215</width>
  1319. <height>16777215</height>
  1320. </size>
  1321. </property>
  1322. <property name="title">
  1323. <string>DisplayBox</string>
  1324. </property>
  1325. <layout class="QVBoxLayout" name="verticalLayout_4">
  1326. <item>
  1327. <widget class="QGroupBox" name="instructionPreviewBox">
  1328. <property name="title">
  1329. <string>指令回执显示</string>
  1330. </property>
  1331. <layout class="QVBoxLayout" name="verticalLayout_6">
  1332. <item>
  1333. <widget class="QTextBrowser" name="instructionPreview">
  1334. <property name="sizePolicy">
  1335. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  1336. <horstretch>0</horstretch>
  1337. <verstretch>0</verstretch>
  1338. </sizepolicy>
  1339. </property>
  1340. <property name="minimumSize">
  1341. <size>
  1342. <width>0</width>
  1343. <height>0</height>
  1344. </size>
  1345. </property>
  1346. </widget>
  1347. </item>
  1348. </layout>
  1349. </widget>
  1350. </item>
  1351. <item>
  1352. <widget class="QGroupBox" name="reportPreviewBox">
  1353. <property name="title">
  1354. <string>上报回执显示</string>
  1355. </property>
  1356. <layout class="QVBoxLayout" name="verticalLayout_7">
  1357. <item>
  1358. <widget class="QTextBrowser" name="reportPreview">
  1359. <property name="sizePolicy">
  1360. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  1361. <horstretch>0</horstretch>
  1362. <verstretch>0</verstretch>
  1363. </sizepolicy>
  1364. </property>
  1365. <property name="minimumSize">
  1366. <size>
  1367. <width>0</width>
  1368. <height>0</height>
  1369. </size>
  1370. </property>
  1371. </widget>
  1372. </item>
  1373. </layout>
  1374. </widget>
  1375. </item>
  1376. <item>
  1377. <widget class="QGroupBox" name="uploadDataPreviewBox">
  1378. <property name="title">
  1379. <string>上传数据显示</string>
  1380. </property>
  1381. <layout class="QVBoxLayout" name="verticalLayout_5">
  1382. <item>
  1383. <widget class="QTextBrowser" name="uploadDataPreview">
  1384. <property name="sizePolicy">
  1385. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  1386. <horstretch>0</horstretch>
  1387. <verstretch>0</verstretch>
  1388. </sizepolicy>
  1389. </property>
  1390. <property name="minimumSize">
  1391. <size>
  1392. <width>0</width>
  1393. <height>0</height>
  1394. </size>
  1395. </property>
  1396. </widget>
  1397. </item>
  1398. </layout>
  1399. </widget>
  1400. </item>
  1401. <item>
  1402. <widget class="QGroupBox" name="uploadDataPreviewBox_2">
  1403. <property name="title">
  1404. <string>二进制</string>
  1405. </property>
  1406. <layout class="QVBoxLayout" name="verticalLayout_8">
  1407. <item>
  1408. <widget class="QTextBrowser" name="rawDataPreview">
  1409. <property name="sizePolicy">
  1410. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  1411. <horstretch>0</horstretch>
  1412. <verstretch>0</verstretch>
  1413. </sizepolicy>
  1414. </property>
  1415. <property name="minimumSize">
  1416. <size>
  1417. <width>0</width>
  1418. <height>0</height>
  1419. </size>
  1420. </property>
  1421. </widget>
  1422. </item>
  1423. </layout>
  1424. </widget>
  1425. </item>
  1426. </layout>
  1427. </widget>
  1428. </item>
  1429. </layout>
  1430. </widget>
  1431. </item>
  1432. </layout>
  1433. </widget>
  1434. </item>
  1435. </layout>
  1436. </widget>
  1437. <widget class="QMenuBar" name="menubar">
  1438. <property name="geometry">
  1439. <rect>
  1440. <x>0</x>
  1441. <y>0</y>
  1442. <width>1448</width>
  1443. <height>20</height>
  1444. </rect>
  1445. </property>
  1446. <widget class="QMenu" name="menu123">
  1447. <property name="title">
  1448. <string>iflytop</string>
  1449. </property>
  1450. </widget>
  1451. <addaction name="menu123"/>
  1452. </widget>
  1453. <widget class="QStatusBar" name="statusbar"/>
  1454. </widget>
  1455. <resources/>
  1456. <connections/>
  1457. </ui>