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.

1440 lines
51 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
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="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;注意事项:&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;1.当检查上传数据的CHECKSUM(检验和)时,需要先复位下蓝牙主机开发板清空统计信息&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  802. </property>
  803. </widget>
  804. </item>
  805. <item>
  806. <spacer name="verticalSpacer">
  807. <property name="orientation">
  808. <enum>Qt::Vertical</enum>
  809. </property>
  810. <property name="sizeHint" stdset="0">
  811. <size>
  812. <width>20</width>
  813. <height>40</height>
  814. </size>
  815. </property>
  816. </spacer>
  817. </item>
  818. </layout>
  819. </widget>
  820. </item>
  821. <item>
  822. <widget class="QWidget" name="content" native="true">
  823. <property name="sizePolicy">
  824. <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
  825. <horstretch>0</horstretch>
  826. <verstretch>0</verstretch>
  827. </sizepolicy>
  828. </property>
  829. <layout class="QHBoxLayout" name="horizontalLayout_2">
  830. <item>
  831. <widget class="QGroupBox" name="buttonGroupBox">
  832. <property name="sizePolicy">
  833. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  834. <horstretch>0</horstretch>
  835. <verstretch>0</verstretch>
  836. </sizepolicy>
  837. </property>
  838. <property name="minimumSize">
  839. <size>
  840. <width>0</width>
  841. <height>0</height>
  842. </size>
  843. </property>
  844. <property name="maximumSize">
  845. <size>
  846. <width>16777215</width>
  847. <height>16777215</height>
  848. </size>
  849. </property>
  850. <property name="title">
  851. <string>ButtonBox</string>
  852. </property>
  853. <layout class="QGridLayout" name="gridLayout_5">
  854. <item row="2" column="0">
  855. <widget class="QGroupBox" name="groupBox">
  856. <property name="minimumSize">
  857. <size>
  858. <width>0</width>
  859. <height>200</height>
  860. </size>
  861. </property>
  862. <property name="title">
  863. <string>采集&amp;预览</string>
  864. </property>
  865. <layout class="QGridLayout" name="gridLayout_4">
  866. <item row="3" column="0">
  867. <widget class="QPushButton" name="stopRealtimeReport">
  868. <property name="sizePolicy">
  869. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  870. <horstretch>1</horstretch>
  871. <verstretch>0</verstretch>
  872. </sizepolicy>
  873. </property>
  874. <property name="minimumSize">
  875. <size>
  876. <width>0</width>
  877. <height>30</height>
  878. </size>
  879. </property>
  880. <property name="text">
  881. <string>停止预览</string>
  882. </property>
  883. </widget>
  884. </item>
  885. <item row="1" column="0">
  886. <widget class="QPushButton" name="stopCapture">
  887. <property name="sizePolicy">
  888. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  889. <horstretch>1</horstretch>
  890. <verstretch>0</verstretch>
  891. </sizepolicy>
  892. </property>
  893. <property name="minimumSize">
  894. <size>
  895. <width>0</width>
  896. <height>30</height>
  897. </size>
  898. </property>
  899. <property name="text">
  900. <string>停止采集</string>
  901. </property>
  902. </widget>
  903. </item>
  904. <item row="0" column="0">
  905. <widget class="QPushButton" name="startCapture">
  906. <property name="sizePolicy">
  907. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  908. <horstretch>1</horstretch>
  909. <verstretch>0</verstretch>
  910. </sizepolicy>
  911. </property>
  912. <property name="minimumSize">
  913. <size>
  914. <width>0</width>
  915. <height>30</height>
  916. </size>
  917. </property>
  918. <property name="text">
  919. <string>开始采集</string>
  920. </property>
  921. </widget>
  922. </item>
  923. <item row="2" column="0">
  924. <widget class="QPushButton" name="startRealtimeReport">
  925. <property name="sizePolicy">
  926. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  927. <horstretch>1</horstretch>
  928. <verstretch>0</verstretch>
  929. </sizepolicy>
  930. </property>
  931. <property name="minimumSize">
  932. <size>
  933. <width>0</width>
  934. <height>30</height>
  935. </size>
  936. </property>
  937. <property name="text">
  938. <string>开始预览</string>
  939. </property>
  940. </widget>
  941. </item>
  942. </layout>
  943. </widget>
  944. </item>
  945. <item row="0" column="0">
  946. <widget class="QGroupBox" name="groupBox_4">
  947. <property name="title">
  948. <string>设备信息</string>
  949. </property>
  950. <layout class="QGridLayout" name="gridLayout_3">
  951. <item row="6" column="1">
  952. <spacer name="horizontalSpacer_3">
  953. <property name="orientation">
  954. <enum>Qt::Horizontal</enum>
  955. </property>
  956. <property name="sizeHint" stdset="0">
  957. <size>
  958. <width>40</width>
  959. <height>20</height>
  960. </size>
  961. </property>
  962. </spacer>
  963. </item>
  964. <item row="2" column="0">
  965. <widget class="QPushButton" name="readDeviceState">
  966. <property name="sizePolicy">
  967. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  968. <horstretch>1</horstretch>
  969. <verstretch>0</verstretch>
  970. </sizepolicy>
  971. </property>
  972. <property name="minimumSize">
  973. <size>
  974. <width>0</width>
  975. <height>30</height>
  976. </size>
  977. </property>
  978. <property name="text">
  979. <string>读取设备状态信息</string>
  980. </property>
  981. </widget>
  982. </item>
  983. <item row="6" column="0">
  984. <spacer name="verticalSpacer_5">
  985. <property name="orientation">
  986. <enum>Qt::Vertical</enum>
  987. </property>
  988. <property name="sizeHint" stdset="0">
  989. <size>
  990. <width>20</width>
  991. <height>40</height>
  992. </size>
  993. </property>
  994. </spacer>
  995. </item>
  996. <item row="5" column="0">
  997. <widget class="QPushButton" name="readSN">
  998. <property name="sizePolicy">
  999. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  1000. <horstretch>1</horstretch>
  1001. <verstretch>0</verstretch>
  1002. </sizepolicy>
  1003. </property>
  1004. <property name="minimumSize">
  1005. <size>
  1006. <width>0</width>
  1007. <height>30</height>
  1008. </size>
  1009. </property>
  1010. <property name="text">
  1011. <string>读取设备SN</string>
  1012. </property>
  1013. </widget>
  1014. </item>
  1015. <item row="0" column="0">
  1016. <widget class="QPushButton" name="readDeviceVersion">
  1017. <property name="sizePolicy">
  1018. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  1019. <horstretch>1</horstretch>
  1020. <verstretch>0</verstretch>
  1021. </sizepolicy>
  1022. </property>
  1023. <property name="minimumSize">
  1024. <size>
  1025. <width>0</width>
  1026. <height>30</height>
  1027. </size>
  1028. </property>
  1029. <property name="text">
  1030. <string>读取设备版本信息</string>
  1031. </property>
  1032. </widget>
  1033. </item>
  1034. <item row="1" column="0">
  1035. <widget class="QPushButton" name="readSensorInfo">
  1036. <property name="sizePolicy">
  1037. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  1038. <horstretch>1</horstretch>
  1039. <verstretch>0</verstretch>
  1040. </sizepolicy>
  1041. </property>
  1042. <property name="minimumSize">
  1043. <size>
  1044. <width>0</width>
  1045. <height>30</height>
  1046. </size>
  1047. </property>
  1048. <property name="text">
  1049. <string>读取传感器信息</string>
  1050. </property>
  1051. </widget>
  1052. </item>
  1053. <item row="0" column="1">
  1054. <widget class="QPushButton" name="syncTime">
  1055. <property name="sizePolicy">
  1056. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  1057. <horstretch>1</horstretch>
  1058. <verstretch>0</verstretch>
  1059. </sizepolicy>
  1060. </property>
  1061. <property name="minimumSize">
  1062. <size>
  1063. <width>0</width>
  1064. <height>30</height>
  1065. </size>
  1066. </property>
  1067. <property name="text">
  1068. <string>同步时间</string>
  1069. </property>
  1070. </widget>
  1071. </item>
  1072. <item row="1" column="1">
  1073. <widget class="QPushButton" name="readTime">
  1074. <property name="sizePolicy">
  1075. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  1076. <horstretch>1</horstretch>
  1077. <verstretch>0</verstretch>
  1078. </sizepolicy>
  1079. </property>
  1080. <property name="minimumSize">
  1081. <size>
  1082. <width>0</width>
  1083. <height>30</height>
  1084. </size>
  1085. </property>
  1086. <property name="text">
  1087. <string>读取设备时间</string>
  1088. </property>
  1089. </widget>
  1090. </item>
  1091. </layout>
  1092. </widget>
  1093. </item>
  1094. <item row="4" column="0">
  1095. <spacer name="verticalSpacer_3">
  1096. <property name="orientation">
  1097. <enum>Qt::Vertical</enum>
  1098. </property>
  1099. <property name="sizeHint" stdset="0">
  1100. <size>
  1101. <width>20</width>
  1102. <height>40</height>
  1103. </size>
  1104. </property>
  1105. </spacer>
  1106. </item>
  1107. <item row="1" column="0">
  1108. <widget class="QGroupBox" name="groupBox_3">
  1109. <property name="title">
  1110. <string>记录上传</string>
  1111. </property>
  1112. <layout class="QGridLayout" name="gridLayout_2">
  1113. <item row="1" column="1">
  1114. <widget class="QTextEdit" name="startUploadRecord_p0">
  1115. <property name="sizePolicy">
  1116. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  1117. <horstretch>1</horstretch>
  1118. <verstretch>0</verstretch>
  1119. </sizepolicy>
  1120. </property>
  1121. <property name="minimumSize">
  1122. <size>
  1123. <width>0</width>
  1124. <height>0</height>
  1125. </size>
  1126. </property>
  1127. <property name="maximumSize">
  1128. <size>
  1129. <width>16777215</width>
  1130. <height>30</height>
  1131. </size>
  1132. </property>
  1133. </widget>
  1134. </item>
  1135. <item row="4" column="1">
  1136. <spacer name="horizontalSpacer_2">
  1137. <property name="orientation">
  1138. <enum>Qt::Horizontal</enum>
  1139. </property>
  1140. <property name="sizeHint" stdset="0">
  1141. <size>
  1142. <width>40</width>
  1143. <height>20</height>
  1144. </size>
  1145. </property>
  1146. </spacer>
  1147. </item>
  1148. <item row="0" column="0">
  1149. <widget class="QPushButton" name="readAllRecords">
  1150. <property name="sizePolicy">
  1151. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  1152. <horstretch>1</horstretch>
  1153. <verstretch>0</verstretch>
  1154. </sizepolicy>
  1155. </property>
  1156. <property name="minimumSize">
  1157. <size>
  1158. <width>0</width>
  1159. <height>30</height>
  1160. </size>
  1161. </property>
  1162. <property name="text">
  1163. <string>读取所有记录</string>
  1164. </property>
  1165. </widget>
  1166. </item>
  1167. <item row="4" column="0">
  1168. <spacer name="verticalSpacer_4">
  1169. <property name="orientation">
  1170. <enum>Qt::Vertical</enum>
  1171. </property>
  1172. <property name="sizeHint" stdset="0">
  1173. <size>
  1174. <width>20</width>
  1175. <height>40</height>
  1176. </size>
  1177. </property>
  1178. </spacer>
  1179. </item>
  1180. <item row="1" column="0">
  1181. <widget class="QPushButton" name="startUploadRecord">
  1182. <property name="sizePolicy">
  1183. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  1184. <horstretch>1</horstretch>
  1185. <verstretch>0</verstretch>
  1186. </sizepolicy>
  1187. </property>
  1188. <property name="minimumSize">
  1189. <size>
  1190. <width>0</width>
  1191. <height>30</height>
  1192. </size>
  1193. </property>
  1194. <property name="text">
  1195. <string>上传记录</string>
  1196. </property>
  1197. </widget>
  1198. </item>
  1199. <item row="2" column="0">
  1200. <widget class="QPushButton" name="stopUploadRecord">
  1201. <property name="sizePolicy">
  1202. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  1203. <horstretch>1</horstretch>
  1204. <verstretch>0</verstretch>
  1205. </sizepolicy>
  1206. </property>
  1207. <property name="minimumSize">
  1208. <size>
  1209. <width>0</width>
  1210. <height>30</height>
  1211. </size>
  1212. </property>
  1213. <property name="text">
  1214. <string>停止上传</string>
  1215. </property>
  1216. </widget>
  1217. </item>
  1218. <item row="3" column="0">
  1219. <widget class="QPushButton" name="delRecord">
  1220. <property name="sizePolicy">
  1221. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  1222. <horstretch>1</horstretch>
  1223. <verstretch>0</verstretch>
  1224. </sizepolicy>
  1225. </property>
  1226. <property name="minimumSize">
  1227. <size>
  1228. <width>0</width>
  1229. <height>30</height>
  1230. </size>
  1231. </property>
  1232. <property name="text">
  1233. <string>删除记录</string>
  1234. </property>
  1235. </widget>
  1236. </item>
  1237. <item row="3" column="1">
  1238. <widget class="QTextEdit" name="delRecord_p0">
  1239. <property name="sizePolicy">
  1240. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  1241. <horstretch>1</horstretch>
  1242. <verstretch>0</verstretch>
  1243. </sizepolicy>
  1244. </property>
  1245. <property name="minimumSize">
  1246. <size>
  1247. <width>0</width>
  1248. <height>0</height>
  1249. </size>
  1250. </property>
  1251. <property name="maximumSize">
  1252. <size>
  1253. <width>16777215</width>
  1254. <height>30</height>
  1255. </size>
  1256. </property>
  1257. </widget>
  1258. </item>
  1259. </layout>
  1260. </widget>
  1261. </item>
  1262. <item row="3" column="0">
  1263. <widget class="QGroupBox" name="groupBox_2">
  1264. <property name="minimumSize">
  1265. <size>
  1266. <width>0</width>
  1267. <height>300</height>
  1268. </size>
  1269. </property>
  1270. <property name="title">
  1271. <string>GroupBox</string>
  1272. </property>
  1273. </widget>
  1274. </item>
  1275. </layout>
  1276. </widget>
  1277. </item>
  1278. <item>
  1279. <widget class="QGroupBox" name="displayGroupBox">
  1280. <property name="sizePolicy">
  1281. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  1282. <horstretch>0</horstretch>
  1283. <verstretch>0</verstretch>
  1284. </sizepolicy>
  1285. </property>
  1286. <property name="minimumSize">
  1287. <size>
  1288. <width>600</width>
  1289. <height>0</height>
  1290. </size>
  1291. </property>
  1292. <property name="maximumSize">
  1293. <size>
  1294. <width>16777215</width>
  1295. <height>16777215</height>
  1296. </size>
  1297. </property>
  1298. <property name="title">
  1299. <string>DisplayBox</string>
  1300. </property>
  1301. <layout class="QVBoxLayout" name="verticalLayout_4">
  1302. <item>
  1303. <widget class="QGroupBox" name="instructionPreviewBox">
  1304. <property name="title">
  1305. <string>指令回执显示</string>
  1306. </property>
  1307. <layout class="QVBoxLayout" name="verticalLayout_6">
  1308. <item>
  1309. <widget class="QTextBrowser" name="instructionPreview">
  1310. <property name="sizePolicy">
  1311. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  1312. <horstretch>0</horstretch>
  1313. <verstretch>0</verstretch>
  1314. </sizepolicy>
  1315. </property>
  1316. <property name="minimumSize">
  1317. <size>
  1318. <width>0</width>
  1319. <height>0</height>
  1320. </size>
  1321. </property>
  1322. </widget>
  1323. </item>
  1324. </layout>
  1325. </widget>
  1326. </item>
  1327. <item>
  1328. <widget class="QGroupBox" name="reportPreviewBox">
  1329. <property name="title">
  1330. <string>上报回执显示</string>
  1331. </property>
  1332. <layout class="QVBoxLayout" name="verticalLayout_7">
  1333. <item>
  1334. <widget class="QTextBrowser" name="reportPreview">
  1335. <property name="sizePolicy">
  1336. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  1337. <horstretch>0</horstretch>
  1338. <verstretch>0</verstretch>
  1339. </sizepolicy>
  1340. </property>
  1341. <property name="minimumSize">
  1342. <size>
  1343. <width>0</width>
  1344. <height>0</height>
  1345. </size>
  1346. </property>
  1347. </widget>
  1348. </item>
  1349. </layout>
  1350. </widget>
  1351. </item>
  1352. <item>
  1353. <widget class="QGroupBox" name="uploadDataPreviewBox">
  1354. <property name="title">
  1355. <string>上传数据显示</string>
  1356. </property>
  1357. <layout class="QVBoxLayout" name="verticalLayout_5">
  1358. <item>
  1359. <widget class="QTextBrowser" name="uploadDataPreview">
  1360. <property name="sizePolicy">
  1361. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  1362. <horstretch>0</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. </widget>
  1373. </item>
  1374. </layout>
  1375. </widget>
  1376. </item>
  1377. <item>
  1378. <widget class="QGroupBox" name="uploadDataPreviewBox_2">
  1379. <property name="title">
  1380. <string>二进制</string>
  1381. </property>
  1382. <layout class="QVBoxLayout" name="verticalLayout_8">
  1383. <item>
  1384. <widget class="QTextBrowser" name="rawDataPreview">
  1385. <property name="sizePolicy">
  1386. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  1387. <horstretch>0</horstretch>
  1388. <verstretch>0</verstretch>
  1389. </sizepolicy>
  1390. </property>
  1391. <property name="minimumSize">
  1392. <size>
  1393. <width>0</width>
  1394. <height>0</height>
  1395. </size>
  1396. </property>
  1397. </widget>
  1398. </item>
  1399. </layout>
  1400. </widget>
  1401. </item>
  1402. </layout>
  1403. </widget>
  1404. </item>
  1405. </layout>
  1406. </widget>
  1407. </item>
  1408. </layout>
  1409. </widget>
  1410. </item>
  1411. </layout>
  1412. </widget>
  1413. <widget class="QMenuBar" name="menubar">
  1414. <property name="geometry">
  1415. <rect>
  1416. <x>0</x>
  1417. <y>0</y>
  1418. <width>1448</width>
  1419. <height>20</height>
  1420. </rect>
  1421. </property>
  1422. <widget class="QMenu" name="menu123">
  1423. <property name="title">
  1424. <string>iflytop</string>
  1425. </property>
  1426. </widget>
  1427. <addaction name="menu123"/>
  1428. </widget>
  1429. <widget class="QStatusBar" name="statusbar"/>
  1430. </widget>
  1431. <resources/>
  1432. <connections/>
  1433. </ui>