main_ui.py 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531
  1. # -*- coding: utf-8 -*-
  2. # Form implementation generated from reading ui file 'main.ui'
  3. #
  4. # Created by: PyQt5 UI code generator 5.10.1
  5. #
  6. # WARNING! All changes made in this file will be lost!
  7. from PyQt5 import QtCore, QtGui, QtWidgets
  8. class Ui_MainWindow(object):
  9. def setupUi(self, MainWindow):
  10. MainWindow.setObjectName("MainWindow")
  11. MainWindow.resize(1083, 832)
  12. sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
  13. sizePolicy.setHorizontalStretch(0)
  14. sizePolicy.setVerticalStretch(0)
  15. sizePolicy.setHeightForWidth(MainWindow.sizePolicy().hasHeightForWidth())
  16. MainWindow.setSizePolicy(sizePolicy)
  17. MainWindow.setMinimumSize(QtCore.QSize(1056, 670))
  18. icon = QtGui.QIcon()
  19. icon.addPixmap(QtGui.QPixmap("../../../../.designer/backup/pp.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
  20. MainWindow.setWindowIcon(icon)
  21. self.centralwidget = QtWidgets.QWidget(MainWindow)
  22. self.centralwidget.setObjectName("centralwidget")
  23. self.gridLayout_2 = QtWidgets.QGridLayout(self.centralwidget)
  24. self.gridLayout_2.setObjectName("gridLayout_2")
  25. self.gridLayout = QtWidgets.QGridLayout()
  26. self.gridLayout.setObjectName("gridLayout")
  27. self.verticalLayout_2 = QtWidgets.QVBoxLayout()
  28. self.verticalLayout_2.setObjectName("verticalLayout_2")
  29. self.groupBox = QtWidgets.QGroupBox(self.centralwidget)
  30. self.groupBox.setMinimumSize(QtCore.QSize(306, 0))
  31. self.groupBox.setObjectName("groupBox")
  32. self.gridLayout_5 = QtWidgets.QGridLayout(self.groupBox)
  33. self.gridLayout_5.setObjectName("gridLayout_5")
  34. self.label_6 = QtWidgets.QLabel(self.groupBox)
  35. self.label_6.setObjectName("label_6")
  36. self.gridLayout_5.addWidget(self.label_6, 2, 0, 1, 1)
  37. self.labelLink = QtWidgets.QLabel(self.groupBox)
  38. font = QtGui.QFont()
  39. font.setBold(True)
  40. font.setWeight(75)
  41. self.labelLink.setFont(font)
  42. self.labelLink.setStyleSheet("color:white;background-color:red;")
  43. self.labelLink.setObjectName("labelLink")
  44. self.gridLayout_5.addWidget(self.labelLink, 1, 1, 1, 1)
  45. self.label_2 = QtWidgets.QLabel(self.groupBox)
  46. self.label_2.setObjectName("label_2")
  47. self.gridLayout_5.addWidget(self.label_2, 1, 0, 1, 1)
  48. self.labelLink_Slave = QtWidgets.QLabel(self.groupBox)
  49. self.labelLink_Slave.setObjectName("labelLink_Slave")
  50. self.gridLayout_5.addWidget(self.labelLink_Slave, 4, 1, 1, 1)
  51. self.label_25 = QtWidgets.QLabel(self.groupBox)
  52. self.label_25.setObjectName("label_25")
  53. self.gridLayout_5.addWidget(self.label_25, 4, 0, 1, 1)
  54. self.label = QtWidgets.QLabel(self.groupBox)
  55. self.label.setObjectName("label")
  56. self.gridLayout_5.addWidget(self.label, 0, 0, 1, 1)
  57. self.labelLink_Master = QtWidgets.QLabel(self.groupBox)
  58. self.labelLink_Master.setObjectName("labelLink_Master")
  59. self.gridLayout_5.addWidget(self.labelLink_Master, 3, 1, 1, 1)
  60. self.labelLatency = QtWidgets.QLabel(self.groupBox)
  61. self.labelLatency.setObjectName("labelLatency")
  62. self.gridLayout_5.addWidget(self.labelLatency, 2, 1, 1, 1)
  63. self.label_3 = QtWidgets.QLabel(self.groupBox)
  64. self.label_3.setObjectName("label_3")
  65. self.gridLayout_5.addWidget(self.label_3, 3, 0, 1, 1)
  66. self.labelAddress = QtWidgets.QLabel(self.groupBox)
  67. self.labelAddress.setObjectName("labelAddress")
  68. self.gridLayout_5.addWidget(self.labelAddress, 0, 1, 1, 1)
  69. self.verticalLayout_2.addWidget(self.groupBox)
  70. self.scrollArea_2 = QtWidgets.QScrollArea(self.centralwidget)
  71. sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
  72. sizePolicy.setHorizontalStretch(0)
  73. sizePolicy.setVerticalStretch(0)
  74. sizePolicy.setHeightForWidth(self.scrollArea_2.sizePolicy().hasHeightForWidth())
  75. self.scrollArea_2.setSizePolicy(sizePolicy)
  76. self.scrollArea_2.setMinimumSize(QtCore.QSize(400, 0))
  77. self.scrollArea_2.setFrameShape(QtWidgets.QFrame.NoFrame)
  78. self.scrollArea_2.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
  79. self.scrollArea_2.setWidgetResizable(True)
  80. self.scrollArea_2.setObjectName("scrollArea_2")
  81. self.scrollAreaWidgetContents_2 = QtWidgets.QWidget()
  82. self.scrollAreaWidgetContents_2.setGeometry(QtCore.QRect(0, 0, 379, 763))
  83. self.scrollAreaWidgetContents_2.setObjectName("scrollAreaWidgetContents_2")
  84. self.gridLayout_13 = QtWidgets.QGridLayout(self.scrollAreaWidgetContents_2)
  85. self.gridLayout_13.setContentsMargins(0, 0, 0, 0)
  86. self.gridLayout_13.setObjectName("gridLayout_13")
  87. self.groupBox_6 = QtWidgets.QGroupBox(self.scrollAreaWidgetContents_2)
  88. self.groupBox_6.setObjectName("groupBox_6")
  89. self.gridLayout_11 = QtWidgets.QGridLayout(self.groupBox_6)
  90. self.gridLayout_11.setObjectName("gridLayout_11")
  91. self.label_alt_1 = QtWidgets.QLabel(self.groupBox_6)
  92. self.label_alt_1.setObjectName("label_alt_1")
  93. self.gridLayout_11.addWidget(self.label_alt_1, 2, 1, 1, 1)
  94. self.label_21 = QtWidgets.QLabel(self.groupBox_6)
  95. self.label_21.setObjectName("label_21")
  96. self.gridLayout_11.addWidget(self.label_21, 2, 0, 1, 1)
  97. self.label_29 = QtWidgets.QLabel(self.groupBox_6)
  98. self.label_29.setObjectName("label_29")
  99. self.gridLayout_11.addWidget(self.label_29, 1, 0, 1, 1)
  100. self.label_lon_1 = QtWidgets.QLabel(self.groupBox_6)
  101. self.label_lon_1.setObjectName("label_lon_1")
  102. self.gridLayout_11.addWidget(self.label_lon_1, 1, 1, 1, 1)
  103. self.label_lat_1 = QtWidgets.QLabel(self.groupBox_6)
  104. self.label_lat_1.setObjectName("label_lat_1")
  105. self.gridLayout_11.addWidget(self.label_lat_1, 0, 1, 1, 1)
  106. self.label_27 = QtWidgets.QLabel(self.groupBox_6)
  107. self.label_27.setObjectName("label_27")
  108. self.gridLayout_11.addWidget(self.label_27, 0, 0, 1, 1)
  109. self.gridLayout_13.addWidget(self.groupBox_6, 0, 0, 1, 1)
  110. self.groupBox_5 = QtWidgets.QGroupBox(self.scrollAreaWidgetContents_2)
  111. self.groupBox_5.setObjectName("groupBox_5")
  112. self.gridLayout_9 = QtWidgets.QGridLayout(self.groupBox_5)
  113. self.gridLayout_9.setObjectName("gridLayout_9")
  114. self.label_9 = QtWidgets.QLabel(self.groupBox_5)
  115. self.label_9.setObjectName("label_9")
  116. self.gridLayout_9.addWidget(self.label_9, 0, 0, 1, 1)
  117. self.label_20 = QtWidgets.QLabel(self.groupBox_5)
  118. self.label_20.setObjectName("label_20")
  119. self.gridLayout_9.addWidget(self.label_20, 1, 0, 1, 1)
  120. self.label_pres_cis_1 = QtWidgets.QLabel(self.groupBox_5)
  121. self.label_pres_cis_1.setObjectName("label_pres_cis_1")
  122. self.gridLayout_9.addWidget(self.label_pres_cis_1, 0, 1, 1, 1)
  123. self.label_pres_i2c_1 = QtWidgets.QLabel(self.groupBox_5)
  124. self.label_pres_i2c_1.setObjectName("label_pres_i2c_1")
  125. self.gridLayout_9.addWidget(self.label_pres_i2c_1, 1, 1, 1, 1)
  126. self.gridLayout_13.addWidget(self.groupBox_5, 3, 0, 1, 1)
  127. self.groupBox_4 = QtWidgets.QGroupBox(self.scrollAreaWidgetContents_2)
  128. self.groupBox_4.setObjectName("groupBox_4")
  129. self.gridLayout_7 = QtWidgets.QGridLayout(self.groupBox_4)
  130. self.gridLayout_7.setObjectName("gridLayout_7")
  131. self.label_GyX = QtWidgets.QLabel(self.groupBox_4)
  132. self.label_GyX.setObjectName("label_GyX")
  133. self.gridLayout_7.addWidget(self.label_GyX, 1, 1, 1, 1)
  134. self.label_AcX = QtWidgets.QLabel(self.groupBox_4)
  135. self.label_AcX.setObjectName("label_AcX")
  136. self.gridLayout_7.addWidget(self.label_AcX, 0, 1, 1, 1)
  137. self.label_16 = QtWidgets.QLabel(self.groupBox_4)
  138. self.label_16.setObjectName("label_16")
  139. self.gridLayout_7.addWidget(self.label_16, 1, 3, 1, 1)
  140. self.label_GyY = QtWidgets.QLabel(self.groupBox_4)
  141. self.label_GyY.setObjectName("label_GyY")
  142. self.gridLayout_7.addWidget(self.label_GyY, 1, 4, 1, 1)
  143. self.label_15 = QtWidgets.QLabel(self.groupBox_4)
  144. self.label_15.setObjectName("label_15")
  145. self.gridLayout_7.addWidget(self.label_15, 1, 0, 1, 1)
  146. self.label_5 = QtWidgets.QLabel(self.groupBox_4)
  147. self.label_5.setObjectName("label_5")
  148. self.gridLayout_7.addWidget(self.label_5, 0, 0, 1, 1)
  149. self.label_AcY = QtWidgets.QLabel(self.groupBox_4)
  150. self.label_AcY.setObjectName("label_AcY")
  151. self.gridLayout_7.addWidget(self.label_AcY, 0, 4, 1, 1)
  152. self.label_11 = QtWidgets.QLabel(self.groupBox_4)
  153. self.label_11.setObjectName("label_11")
  154. self.gridLayout_7.addWidget(self.label_11, 0, 3, 1, 1)
  155. self.label_GyZ = QtWidgets.QLabel(self.groupBox_4)
  156. self.label_GyZ.setObjectName("label_GyZ")
  157. self.gridLayout_7.addWidget(self.label_GyZ, 1, 6, 1, 1)
  158. self.label_AcZ = QtWidgets.QLabel(self.groupBox_4)
  159. self.label_AcZ.setObjectName("label_AcZ")
  160. self.gridLayout_7.addWidget(self.label_AcZ, 0, 6, 1, 1)
  161. self.label_17 = QtWidgets.QLabel(self.groupBox_4)
  162. self.label_17.setObjectName("label_17")
  163. self.gridLayout_7.addWidget(self.label_17, 1, 5, 1, 1)
  164. self.label_13 = QtWidgets.QLabel(self.groupBox_4)
  165. self.label_13.setObjectName("label_13")
  166. self.gridLayout_7.addWidget(self.label_13, 0, 5, 1, 1)
  167. self.label_8 = QtWidgets.QLabel(self.groupBox_4)
  168. self.label_8.setObjectName("label_8")
  169. self.gridLayout_7.addWidget(self.label_8, 2, 0, 1, 1)
  170. self.label_MaX = QtWidgets.QLabel(self.groupBox_4)
  171. self.label_MaX.setObjectName("label_MaX")
  172. self.gridLayout_7.addWidget(self.label_MaX, 2, 1, 1, 1)
  173. self.label_12 = QtWidgets.QLabel(self.groupBox_4)
  174. self.label_12.setObjectName("label_12")
  175. self.gridLayout_7.addWidget(self.label_12, 2, 3, 1, 1)
  176. self.label_MaY = QtWidgets.QLabel(self.groupBox_4)
  177. self.label_MaY.setObjectName("label_MaY")
  178. self.gridLayout_7.addWidget(self.label_MaY, 2, 4, 1, 1)
  179. self.label_18 = QtWidgets.QLabel(self.groupBox_4)
  180. self.label_18.setObjectName("label_18")
  181. self.gridLayout_7.addWidget(self.label_18, 2, 5, 1, 1)
  182. self.label_MaZ = QtWidgets.QLabel(self.groupBox_4)
  183. self.label_MaZ.setObjectName("label_MaZ")
  184. self.gridLayout_7.addWidget(self.label_MaZ, 2, 6, 1, 1)
  185. self.gridLayout_13.addWidget(self.groupBox_4, 1, 0, 1, 1)
  186. self.groupBox_8 = QtWidgets.QGroupBox(self.scrollAreaWidgetContents_2)
  187. self.groupBox_8.setObjectName("groupBox_8")
  188. self.gridLayout_8 = QtWidgets.QGridLayout(self.groupBox_8)
  189. self.gridLayout_8.setObjectName("gridLayout_8")
  190. self.label_30 = QtWidgets.QLabel(self.groupBox_8)
  191. self.label_30.setObjectName("label_30")
  192. self.gridLayout_8.addWidget(self.label_30, 2, 0, 1, 1)
  193. self.label_PosX = QtWidgets.QLabel(self.groupBox_8)
  194. self.label_PosX.setObjectName("label_PosX")
  195. self.gridLayout_8.addWidget(self.label_PosX, 2, 1, 1, 1)
  196. self.label_34 = QtWidgets.QLabel(self.groupBox_8)
  197. self.label_34.setObjectName("label_34")
  198. self.gridLayout_8.addWidget(self.label_34, 2, 2, 1, 1)
  199. self.label_GaZ = QtWidgets.QLabel(self.groupBox_8)
  200. self.label_GaZ.setObjectName("label_GaZ")
  201. self.gridLayout_8.addWidget(self.label_GaZ, 0, 5, 1, 1)
  202. self.label_19 = QtWidgets.QLabel(self.groupBox_8)
  203. self.label_19.setObjectName("label_19")
  204. self.gridLayout_8.addWidget(self.label_19, 1, 2, 1, 1)
  205. self.label_23 = QtWidgets.QLabel(self.groupBox_8)
  206. self.label_23.setObjectName("label_23")
  207. self.gridLayout_8.addWidget(self.label_23, 1, 0, 1, 1)
  208. self.label_RotZ = QtWidgets.QLabel(self.groupBox_8)
  209. self.label_RotZ.setObjectName("label_RotZ")
  210. self.gridLayout_8.addWidget(self.label_RotZ, 1, 5, 1, 1)
  211. self.label_28 = QtWidgets.QLabel(self.groupBox_8)
  212. self.label_28.setObjectName("label_28")
  213. self.gridLayout_8.addWidget(self.label_28, 0, 4, 1, 1)
  214. self.label_GaX = QtWidgets.QLabel(self.groupBox_8)
  215. self.label_GaX.setObjectName("label_GaX")
  216. self.gridLayout_8.addWidget(self.label_GaX, 0, 1, 1, 1)
  217. self.label_26 = QtWidgets.QLabel(self.groupBox_8)
  218. self.label_26.setObjectName("label_26")
  219. self.gridLayout_8.addWidget(self.label_26, 1, 4, 1, 1)
  220. self.label_7 = QtWidgets.QLabel(self.groupBox_8)
  221. self.label_7.setObjectName("label_7")
  222. self.gridLayout_8.addWidget(self.label_7, 0, 0, 1, 1)
  223. self.label_RotY = QtWidgets.QLabel(self.groupBox_8)
  224. self.label_RotY.setObjectName("label_RotY")
  225. self.gridLayout_8.addWidget(self.label_RotY, 1, 3, 1, 1)
  226. self.label_GaY = QtWidgets.QLabel(self.groupBox_8)
  227. self.label_GaY.setObjectName("label_GaY")
  228. self.gridLayout_8.addWidget(self.label_GaY, 0, 3, 1, 1)
  229. self.label_RotX = QtWidgets.QLabel(self.groupBox_8)
  230. self.label_RotX.setObjectName("label_RotX")
  231. self.gridLayout_8.addWidget(self.label_RotX, 1, 1, 1, 1)
  232. self.label_14 = QtWidgets.QLabel(self.groupBox_8)
  233. self.label_14.setObjectName("label_14")
  234. self.gridLayout_8.addWidget(self.label_14, 0, 2, 1, 1)
  235. self.label_36 = QtWidgets.QLabel(self.groupBox_8)
  236. self.label_36.setObjectName("label_36")
  237. self.gridLayout_8.addWidget(self.label_36, 2, 4, 1, 1)
  238. self.label_PosY = QtWidgets.QLabel(self.groupBox_8)
  239. self.label_PosY.setObjectName("label_PosY")
  240. self.gridLayout_8.addWidget(self.label_PosY, 2, 3, 1, 1)
  241. self.label_PosZ = QtWidgets.QLabel(self.groupBox_8)
  242. self.label_PosZ.setObjectName("label_PosZ")
  243. self.gridLayout_8.addWidget(self.label_PosZ, 2, 5, 1, 1)
  244. self.gridLayout_13.addWidget(self.groupBox_8, 2, 0, 1, 1)
  245. self.groupBox_2 = QtWidgets.QGroupBox(self.scrollAreaWidgetContents_2)
  246. self.groupBox_2.setObjectName("groupBox_2")
  247. self.gridLayout_6 = QtWidgets.QGridLayout(self.groupBox_2)
  248. self.gridLayout_6.setObjectName("gridLayout_6")
  249. self.label_temp_adc_1 = QtWidgets.QLabel(self.groupBox_2)
  250. self.label_temp_adc_1.setObjectName("label_temp_adc_1")
  251. self.gridLayout_6.addWidget(self.label_temp_adc_1, 0, 1, 1, 1)
  252. self.label_4 = QtWidgets.QLabel(self.groupBox_2)
  253. self.label_4.setObjectName("label_4")
  254. self.gridLayout_6.addWidget(self.label_4, 0, 0, 1, 1)
  255. self.label_temp_mpu_1 = QtWidgets.QLabel(self.groupBox_2)
  256. self.label_temp_mpu_1.setObjectName("label_temp_mpu_1")
  257. self.gridLayout_6.addWidget(self.label_temp_mpu_1, 2, 1, 1, 1)
  258. self.label_temp_cis_1 = QtWidgets.QLabel(self.groupBox_2)
  259. self.label_temp_cis_1.setObjectName("label_temp_cis_1")
  260. self.gridLayout_6.addWidget(self.label_temp_cis_1, 1, 1, 1, 1)
  261. self.label_24 = QtWidgets.QLabel(self.groupBox_2)
  262. self.label_24.setObjectName("label_24")
  263. self.gridLayout_6.addWidget(self.label_24, 2, 0, 1, 1)
  264. self.label_22 = QtWidgets.QLabel(self.groupBox_2)
  265. self.label_22.setObjectName("label_22")
  266. self.gridLayout_6.addWidget(self.label_22, 1, 0, 1, 1)
  267. self.label_37 = QtWidgets.QLabel(self.groupBox_2)
  268. self.label_37.setObjectName("label_37")
  269. self.gridLayout_6.addWidget(self.label_37, 3, 0, 1, 1)
  270. self.label_temp_mag_1 = QtWidgets.QLabel(self.groupBox_2)
  271. self.label_temp_mag_1.setObjectName("label_temp_mag_1")
  272. self.gridLayout_6.addWidget(self.label_temp_mag_1, 3, 1, 1, 1)
  273. self.label_temp_i2c = QtWidgets.QLabel(self.groupBox_2)
  274. self.label_temp_i2c.setObjectName("label_temp_i2c")
  275. self.gridLayout_6.addWidget(self.label_temp_i2c, 4, 1, 1, 1)
  276. self.label_33 = QtWidgets.QLabel(self.groupBox_2)
  277. self.label_33.setObjectName("label_33")
  278. self.gridLayout_6.addWidget(self.label_33, 4, 0, 1, 1)
  279. self.label_38 = QtWidgets.QLabel(self.groupBox_2)
  280. self.label_38.setObjectName("label_38")
  281. self.gridLayout_6.addWidget(self.label_38, 5, 0, 1, 1)
  282. self.label_temp_mp = QtWidgets.QLabel(self.groupBox_2)
  283. self.label_temp_mp.setObjectName("label_temp_mp")
  284. self.gridLayout_6.addWidget(self.label_temp_mp, 5, 1, 1, 1)
  285. self.gridLayout_13.addWidget(self.groupBox_2, 4, 0, 1, 1)
  286. self.groupBox_7 = QtWidgets.QGroupBox(self.scrollAreaWidgetContents_2)
  287. self.groupBox_7.setObjectName("groupBox_7")
  288. self.gridLayout_12 = QtWidgets.QGridLayout(self.groupBox_7)
  289. self.gridLayout_12.setObjectName("gridLayout_12")
  290. self.label_35 = QtWidgets.QLabel(self.groupBox_7)
  291. self.label_35.setObjectName("label_35")
  292. self.gridLayout_12.addWidget(self.label_35, 1, 0, 1, 1)
  293. self.label_hdop_1 = QtWidgets.QLabel(self.groupBox_7)
  294. self.label_hdop_1.setObjectName("label_hdop_1")
  295. self.gridLayout_12.addWidget(self.label_hdop_1, 1, 1, 1, 1)
  296. self.label_31 = QtWidgets.QLabel(self.groupBox_7)
  297. self.label_31.setObjectName("label_31")
  298. self.gridLayout_12.addWidget(self.label_31, 0, 0, 1, 1)
  299. self.label_time_1 = QtWidgets.QLabel(self.groupBox_7)
  300. self.label_time_1.setObjectName("label_time_1")
  301. self.gridLayout_12.addWidget(self.label_time_1, 0, 1, 1, 1)
  302. self.gridLayout_13.addWidget(self.groupBox_7, 5, 0, 1, 1)
  303. self.groupBox_9 = QtWidgets.QGroupBox(self.scrollAreaWidgetContents_2)
  304. self.groupBox_9.setObjectName("groupBox_9")
  305. self.gridLayout_15 = QtWidgets.QGridLayout(self.groupBox_9)
  306. self.gridLayout_15.setObjectName("gridLayout_15")
  307. self.label_10 = QtWidgets.QLabel(self.groupBox_9)
  308. self.label_10.setObjectName("label_10")
  309. self.gridLayout_15.addWidget(self.label_10, 0, 0, 1, 1)
  310. self.label_current = QtWidgets.QLabel(self.groupBox_9)
  311. self.label_current.setObjectName("label_current")
  312. self.gridLayout_15.addWidget(self.label_current, 1, 1, 1, 1)
  313. self.label_voltage = QtWidgets.QLabel(self.groupBox_9)
  314. self.label_voltage.setObjectName("label_voltage")
  315. self.gridLayout_15.addWidget(self.label_voltage, 0, 1, 1, 1)
  316. self.label_32 = QtWidgets.QLabel(self.groupBox_9)
  317. self.label_32.setObjectName("label_32")
  318. self.gridLayout_15.addWidget(self.label_32, 1, 0, 1, 1)
  319. self.gridLayout_13.addWidget(self.groupBox_9, 6, 0, 1, 1)
  320. spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
  321. self.gridLayout_13.addItem(spacerItem, 9, 0, 1, 1)
  322. self.scrollArea_2.setWidget(self.scrollAreaWidgetContents_2)
  323. self.verticalLayout_2.addWidget(self.scrollArea_2)
  324. self.progressBar_reset = QtWidgets.QProgressBar(self.centralwidget)
  325. sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
  326. sizePolicy.setHorizontalStretch(0)
  327. sizePolicy.setVerticalStretch(0)
  328. sizePolicy.setHeightForWidth(self.progressBar_reset.sizePolicy().hasHeightForWidth())
  329. self.progressBar_reset.setSizePolicy(sizePolicy)
  330. self.progressBar_reset.setProperty("value", 0)
  331. self.progressBar_reset.setTextVisible(False)
  332. self.progressBar_reset.setObjectName("progressBar_reset")
  333. self.verticalLayout_2.addWidget(self.progressBar_reset)
  334. self.pushButton_reset = QtWidgets.QPushButton(self.centralwidget)
  335. sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
  336. sizePolicy.setHorizontalStretch(0)
  337. sizePolicy.setVerticalStretch(0)
  338. sizePolicy.setHeightForWidth(self.pushButton_reset.sizePolicy().hasHeightForWidth())
  339. self.pushButton_reset.setSizePolicy(sizePolicy)
  340. self.pushButton_reset.setObjectName("pushButton_reset")
  341. self.verticalLayout_2.addWidget(self.pushButton_reset)
  342. self.gridLayout.addLayout(self.verticalLayout_2, 0, 0, 1, 1)
  343. self.gridLayout_2.addLayout(self.gridLayout, 0, 1, 1, 1)
  344. self.tabWidget = QtWidgets.QTabWidget(self.centralwidget)
  345. self.tabWidget.setObjectName("tabWidget")
  346. self.tab = QtWidgets.QWidget()
  347. self.tab.setObjectName("tab")
  348. self.gridLayout_4 = QtWidgets.QGridLayout(self.tab)
  349. self.gridLayout_4.setObjectName("gridLayout_4")
  350. self.openGLWidget = QtWidgets.QOpenGLWidget(self.tab)
  351. sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.MinimumExpanding)
  352. sizePolicy.setHorizontalStretch(0)
  353. sizePolicy.setVerticalStretch(0)
  354. sizePolicy.setHeightForWidth(self.openGLWidget.sizePolicy().hasHeightForWidth())
  355. self.openGLWidget.setSizePolicy(sizePolicy)
  356. self.openGLWidget.setMouseTracking(False)
  357. self.openGLWidget.setObjectName("openGLWidget")
  358. self.gridLayout_4.addWidget(self.openGLWidget, 0, 0, 1, 1)
  359. self.tabWidget.addTab(self.tab, "")
  360. self.tab_3 = QtWidgets.QWidget()
  361. self.tab_3.setObjectName("tab_3")
  362. self.gridLayout_3 = QtWidgets.QGridLayout(self.tab_3)
  363. self.gridLayout_3.setObjectName("gridLayout_3")
  364. self.openGLWidgetQuad = QtWidgets.QOpenGLWidget(self.tab_3)
  365. self.openGLWidgetQuad.setObjectName("openGLWidgetQuad")
  366. self.gridLayout_3.addWidget(self.openGLWidgetQuad, 0, 0, 1, 1)
  367. self.tabWidget.addTab(self.tab_3, "")
  368. self.tab_2 = QtWidgets.QWidget()
  369. self.tab_2.setObjectName("tab_2")
  370. self.gridLayout_10 = QtWidgets.QGridLayout(self.tab_2)
  371. self.gridLayout_10.setObjectName("gridLayout_10")
  372. self.tableWidget = QtWidgets.QTableWidget(self.tab_2)
  373. self.tableWidget.setObjectName("tableWidget")
  374. self.tableWidget.setColumnCount(0)
  375. self.tableWidget.setRowCount(0)
  376. self.gridLayout_10.addWidget(self.tableWidget, 0, 0, 1, 1)
  377. self.tabWidget.addTab(self.tab_2, "")
  378. self.gridLayout_2.addWidget(self.tabWidget, 0, 0, 1, 1)
  379. MainWindow.setCentralWidget(self.centralwidget)
  380. self.menubar = QtWidgets.QMenuBar(MainWindow)
  381. self.menubar.setGeometry(QtCore.QRect(0, 0, 1083, 26))
  382. self.menubar.setObjectName("menubar")
  383. self.menuFile = QtWidgets.QMenu(self.menubar)
  384. self.menuFile.setObjectName("menuFile")
  385. self.menuCamera_Settings = QtWidgets.QMenu(self.menubar)
  386. self.menuCamera_Settings.setObjectName("menuCamera_Settings")
  387. self.menuBoard_select = QtWidgets.QMenu(self.menubar)
  388. self.menuBoard_select.setObjectName("menuBoard_select")
  389. MainWindow.setMenuBar(self.menubar)
  390. self.statusbar = QtWidgets.QStatusBar(MainWindow)
  391. self.statusbar.setObjectName("statusbar")
  392. MainWindow.setStatusBar(self.statusbar)
  393. self.actionClose = QtWidgets.QAction(MainWindow)
  394. self.actionClose.setObjectName("actionClose")
  395. self.actionFollow = QtWidgets.QAction(MainWindow)
  396. self.actionFollow.setCheckable(True)
  397. self.actionFollow.setChecked(True)
  398. self.actionFollow.setObjectName("actionFollow")
  399. self.actionReset = QtWidgets.QAction(MainWindow)
  400. self.actionReset.setObjectName("actionReset")
  401. self.actionSave = QtWidgets.QAction(MainWindow)
  402. self.actionSave.setObjectName("actionSave")
  403. self.actionSettings = QtWidgets.QAction(MainWindow)
  404. self.actionSettings.setObjectName("actionSettings")
  405. self.actionMaster = QtWidgets.QAction(MainWindow)
  406. self.actionMaster.setObjectName("actionMaster")
  407. self.actionSlave = QtWidgets.QAction(MainWindow)
  408. self.actionSlave.setObjectName("actionSlave")
  409. self.actionFusion = QtWidgets.QAction(MainWindow)
  410. self.actionFusion.setObjectName("actionFusion")
  411. self.menuFile.addAction(self.actionSave)
  412. self.menuFile.addAction(self.actionSettings)
  413. self.menuFile.addAction(self.actionClose)
  414. self.menuCamera_Settings.addAction(self.actionFollow)
  415. self.menuBoard_select.addAction(self.actionMaster)
  416. self.menuBoard_select.addAction(self.actionSlave)
  417. self.menuBoard_select.addAction(self.actionFusion)
  418. self.menubar.addAction(self.menuFile.menuAction())
  419. self.menubar.addAction(self.menuCamera_Settings.menuAction())
  420. self.menubar.addAction(self.menuBoard_select.menuAction())
  421. self.retranslateUi(MainWindow)
  422. self.tabWidget.setCurrentIndex(2)
  423. QtCore.QMetaObject.connectSlotsByName(MainWindow)
  424. def retranslateUi(self, MainWindow):
  425. _translate = QtCore.QCoreApplication.translate
  426. MainWindow.setWindowTitle(_translate("MainWindow", "BEXUS"))
  427. self.groupBox.setTitle(_translate("MainWindow", "Stats"))
  428. self.label_6.setText(_translate("MainWindow", "Latency:"))
  429. self.labelLink.setText(_translate("MainWindow", "Offline"))
  430. self.label_2.setText(_translate("MainWindow", "Link:"))
  431. self.labelLink_Slave.setText(_translate("MainWindow", "0/s"))
  432. self.label_25.setText(_translate("MainWindow", "MCU Slave:"))
  433. self.label.setText(_translate("MainWindow", "Address:"))
  434. self.labelLink_Master.setText(_translate("MainWindow", "0/s"))
  435. self.labelLatency.setText(_translate("MainWindow", "20ms"))
  436. self.label_3.setText(_translate("MainWindow", "MCU Master:"))
  437. self.labelAddress.setText(_translate("MainWindow", "192.168.0.8:1234"))
  438. self.groupBox_6.setTitle(_translate("MainWindow", "Position"))
  439. self.label_alt_1.setText(_translate("MainWindow", "-"))
  440. self.label_21.setText(_translate("MainWindow", "Altitude:"))
  441. self.label_29.setText(_translate("MainWindow", "Longitude"))
  442. self.label_lon_1.setText(_translate("MainWindow", "-"))
  443. self.label_lat_1.setText(_translate("MainWindow", "-"))
  444. self.label_27.setText(_translate("MainWindow", "Latitude"))
  445. self.groupBox_5.setTitle(_translate("MainWindow", "Pressure"))
  446. self.label_9.setText(_translate("MainWindow", "Cis"))
  447. self.label_20.setText(_translate("MainWindow", "SPI"))
  448. self.label_pres_cis_1.setText(_translate("MainWindow", "-"))
  449. self.label_pres_i2c_1.setText(_translate("MainWindow", "-"))
  450. self.groupBox_4.setTitle(_translate("MainWindow", "IMU-Raw"))
  451. self.label_GyX.setText(_translate("MainWindow", "0"))
  452. self.label_AcX.setText(_translate("MainWindow", "0"))
  453. self.label_16.setText(_translate("MainWindow", "GyY:"))
  454. self.label_GyY.setText(_translate("MainWindow", "0"))
  455. self.label_15.setText(_translate("MainWindow", "GyX:"))
  456. self.label_5.setText(_translate("MainWindow", "AcX:"))
  457. self.label_AcY.setText(_translate("MainWindow", "0"))
  458. self.label_11.setText(_translate("MainWindow", "AcY:"))
  459. self.label_GyZ.setText(_translate("MainWindow", "0"))
  460. self.label_AcZ.setText(_translate("MainWindow", "0"))
  461. self.label_17.setText(_translate("MainWindow", "GyZ:"))
  462. self.label_13.setText(_translate("MainWindow", "AcZ:"))
  463. self.label_8.setText(_translate("MainWindow", "MaX:"))
  464. self.label_MaX.setText(_translate("MainWindow", "0"))
  465. self.label_12.setText(_translate("MainWindow", "MaY:"))
  466. self.label_MaY.setText(_translate("MainWindow", "0"))
  467. self.label_18.setText(_translate("MainWindow", "MaZ:"))
  468. self.label_MaZ.setText(_translate("MainWindow", "0"))
  469. self.groupBox_8.setTitle(_translate("MainWindow", "IMU-Fusion"))
  470. self.label_30.setText(_translate("MainWindow", "PosX:"))
  471. self.label_PosX.setText(_translate("MainWindow", "0"))
  472. self.label_34.setText(_translate("MainWindow", "PosY:"))
  473. self.label_GaZ.setText(_translate("MainWindow", "0"))
  474. self.label_19.setText(_translate("MainWindow", "RotY:"))
  475. self.label_23.setText(_translate("MainWindow", "RotX:"))
  476. self.label_RotZ.setText(_translate("MainWindow", "0"))
  477. self.label_28.setText(_translate("MainWindow", "AcZ:"))
  478. self.label_GaX.setText(_translate("MainWindow", "0"))
  479. self.label_26.setText(_translate("MainWindow", "RotZ:"))
  480. self.label_7.setText(_translate("MainWindow", "AcX:"))
  481. self.label_RotY.setText(_translate("MainWindow", "0"))
  482. self.label_GaY.setText(_translate("MainWindow", "0"))
  483. self.label_RotX.setText(_translate("MainWindow", "0"))
  484. self.label_14.setText(_translate("MainWindow", "AcY:"))
  485. self.label_36.setText(_translate("MainWindow", "PosZ:"))
  486. self.label_PosY.setText(_translate("MainWindow", "0"))
  487. self.label_PosZ.setText(_translate("MainWindow", "0"))
  488. self.groupBox_2.setTitle(_translate("MainWindow", "Temperature"))
  489. self.label_temp_adc_1.setText(_translate("MainWindow", "-"))
  490. self.label_4.setText(_translate("MainWindow", "Viehmann"))
  491. self.label_temp_mpu_1.setText(_translate("MainWindow", "-"))
  492. self.label_temp_cis_1.setText(_translate("MainWindow", "-"))
  493. self.label_24.setText(_translate("MainWindow", "MPU"))
  494. self.label_22.setText(_translate("MainWindow", "Cis"))
  495. self.label_37.setText(_translate("MainWindow", "Mag"))
  496. self.label_temp_mag_1.setText(_translate("MainWindow", "-"))
  497. self.label_temp_i2c.setText(_translate("MainWindow", "20.00 °C"))
  498. self.label_33.setText(_translate("MainWindow", "I2C"))
  499. self.label_38.setText(_translate("MainWindow", "µC"))
  500. self.label_temp_mp.setText(_translate("MainWindow", "20.00 °C"))
  501. self.groupBox_7.setTitle(_translate("MainWindow", "GPS"))
  502. self.label_35.setText(_translate("MainWindow", "Hdop"))
  503. self.label_hdop_1.setText(_translate("MainWindow", "0"))
  504. self.label_31.setText(_translate("MainWindow", "Time"))
  505. self.label_time_1.setText(_translate("MainWindow", "12:00"))
  506. self.groupBox_9.setTitle(_translate("MainWindow", "Power"))
  507. self.label_10.setText(_translate("MainWindow", "Voltage"))
  508. self.label_current.setText(_translate("MainWindow", "0.00 A"))
  509. self.label_voltage.setText(_translate("MainWindow", "0.00 V"))
  510. self.label_32.setText(_translate("MainWindow", "Current"))
  511. self.pushButton_reset.setText(_translate("MainWindow", "Restart"))
  512. self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("MainWindow", "3D View"))
  513. self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_3), _translate("MainWindow", "Orthogonal View"))
  514. self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), _translate("MainWindow", "Raw data"))
  515. self.menuFile.setTitle(_translate("MainWindow", "File"))
  516. self.menuCamera_Settings.setTitle(_translate("MainWindow", "Camera Settings"))
  517. self.menuBoard_select.setTitle(_translate("MainWindow", "Board select"))
  518. self.actionClose.setText(_translate("MainWindow", "Close"))
  519. self.actionFollow.setText(_translate("MainWindow", "Follow"))
  520. self.actionReset.setText(_translate("MainWindow", "Reset"))
  521. self.actionSave.setText(_translate("MainWindow", "Save"))
  522. self.actionSettings.setText(_translate("MainWindow", "Settings"))
  523. self.actionMaster.setText(_translate("MainWindow", "Master"))
  524. self.actionSlave.setText(_translate("MainWindow", "Slave"))
  525. self.actionFusion.setText(_translate("MainWindow", "Fusion"))