main_ui.py 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410
  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(1337, 879)
  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. icon = QtGui.QIcon()
  18. icon.addPixmap(QtGui.QPixmap("../../../.designer/backup/pp.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
  19. MainWindow.setWindowIcon(icon)
  20. self.centralwidget = QtWidgets.QWidget(MainWindow)
  21. self.centralwidget.setObjectName("centralwidget")
  22. self.gridLayout_2 = QtWidgets.QGridLayout(self.centralwidget)
  23. self.gridLayout_2.setObjectName("gridLayout_2")
  24. self.gridLayout = QtWidgets.QGridLayout()
  25. self.gridLayout.setObjectName("gridLayout")
  26. self.verticalLayout_2 = QtWidgets.QVBoxLayout()
  27. self.verticalLayout_2.setObjectName("verticalLayout_2")
  28. self.groupBox = QtWidgets.QGroupBox(self.centralwidget)
  29. self.groupBox.setMinimumSize(QtCore.QSize(306, 0))
  30. self.groupBox.setObjectName("groupBox")
  31. self.gridLayout_5 = QtWidgets.QGridLayout(self.groupBox)
  32. self.gridLayout_5.setObjectName("gridLayout_5")
  33. self.labelLink_MCU2 = QtWidgets.QLabel(self.groupBox)
  34. font = QtGui.QFont()
  35. font.setBold(True)
  36. font.setWeight(75)
  37. self.labelLink_MCU2.setFont(font)
  38. self.labelLink_MCU2.setStyleSheet("color:#ad6d00")
  39. self.labelLink_MCU2.setObjectName("labelLink_MCU2")
  40. self.gridLayout_5.addWidget(self.labelLink_MCU2, 4, 1, 1, 1)
  41. self.labelLink_MCU1 = QtWidgets.QLabel(self.groupBox)
  42. font = QtGui.QFont()
  43. font.setBold(True)
  44. font.setWeight(75)
  45. self.labelLink_MCU1.setFont(font)
  46. self.labelLink_MCU1.setStyleSheet("color:#ad6d00")
  47. self.labelLink_MCU1.setObjectName("labelLink_MCU1")
  48. self.gridLayout_5.addWidget(self.labelLink_MCU1, 3, 1, 1, 1)
  49. self.label_2 = QtWidgets.QLabel(self.groupBox)
  50. self.label_2.setObjectName("label_2")
  51. self.gridLayout_5.addWidget(self.label_2, 1, 0, 1, 1)
  52. self.label_25 = QtWidgets.QLabel(self.groupBox)
  53. self.label_25.setObjectName("label_25")
  54. self.gridLayout_5.addWidget(self.label_25, 4, 0, 1, 1)
  55. self.labelLatency = QtWidgets.QLabel(self.groupBox)
  56. self.labelLatency.setObjectName("labelLatency")
  57. self.gridLayout_5.addWidget(self.labelLatency, 2, 1, 1, 1)
  58. self.labelLink = QtWidgets.QLabel(self.groupBox)
  59. font = QtGui.QFont()
  60. font.setBold(True)
  61. font.setWeight(75)
  62. self.labelLink.setFont(font)
  63. self.labelLink.setStyleSheet("color:red")
  64. self.labelLink.setObjectName("labelLink")
  65. self.gridLayout_5.addWidget(self.labelLink, 1, 1, 1, 1)
  66. self.label_6 = QtWidgets.QLabel(self.groupBox)
  67. self.label_6.setObjectName("label_6")
  68. self.gridLayout_5.addWidget(self.label_6, 2, 0, 1, 1)
  69. self.label_3 = QtWidgets.QLabel(self.groupBox)
  70. self.label_3.setObjectName("label_3")
  71. self.gridLayout_5.addWidget(self.label_3, 3, 0, 1, 1)
  72. self.label = QtWidgets.QLabel(self.groupBox)
  73. self.label.setObjectName("label")
  74. self.gridLayout_5.addWidget(self.label, 0, 0, 1, 1)
  75. self.labelAddress = QtWidgets.QLabel(self.groupBox)
  76. self.labelAddress.setObjectName("labelAddress")
  77. self.gridLayout_5.addWidget(self.labelAddress, 0, 1, 1, 1)
  78. self.verticalLayout_2.addWidget(self.groupBox)
  79. self.groupBox_6 = QtWidgets.QGroupBox(self.centralwidget)
  80. self.groupBox_6.setObjectName("groupBox_6")
  81. self.gridLayout_11 = QtWidgets.QGridLayout(self.groupBox_6)
  82. self.gridLayout_11.setObjectName("gridLayout_11")
  83. self.label_lat_1 = QtWidgets.QLabel(self.groupBox_6)
  84. self.label_lat_1.setObjectName("label_lat_1")
  85. self.gridLayout_11.addWidget(self.label_lat_1, 0, 1, 1, 1)
  86. self.label_27 = QtWidgets.QLabel(self.groupBox_6)
  87. self.label_27.setObjectName("label_27")
  88. self.gridLayout_11.addWidget(self.label_27, 0, 0, 1, 1)
  89. self.label_alt_1 = QtWidgets.QLabel(self.groupBox_6)
  90. self.label_alt_1.setObjectName("label_alt_1")
  91. self.gridLayout_11.addWidget(self.label_alt_1, 2, 1, 1, 1)
  92. self.label_21 = QtWidgets.QLabel(self.groupBox_6)
  93. self.label_21.setObjectName("label_21")
  94. self.gridLayout_11.addWidget(self.label_21, 2, 0, 1, 1)
  95. self.label_29 = QtWidgets.QLabel(self.groupBox_6)
  96. self.label_29.setObjectName("label_29")
  97. self.gridLayout_11.addWidget(self.label_29, 1, 0, 1, 1)
  98. self.label_lon_1 = QtWidgets.QLabel(self.groupBox_6)
  99. self.label_lon_1.setObjectName("label_lon_1")
  100. self.gridLayout_11.addWidget(self.label_lon_1, 1, 1, 1, 1)
  101. self.verticalLayout_2.addWidget(self.groupBox_6)
  102. self.groupBox_4 = QtWidgets.QGroupBox(self.centralwidget)
  103. self.groupBox_4.setObjectName("groupBox_4")
  104. self.gridLayout_7 = QtWidgets.QGridLayout(self.groupBox_4)
  105. self.gridLayout_7.setObjectName("gridLayout_7")
  106. self.label_AcZ = QtWidgets.QLabel(self.groupBox_4)
  107. self.label_AcZ.setObjectName("label_AcZ")
  108. self.gridLayout_7.addWidget(self.label_AcZ, 0, 6, 1, 1)
  109. self.label_5 = QtWidgets.QLabel(self.groupBox_4)
  110. self.label_5.setObjectName("label_5")
  111. self.gridLayout_7.addWidget(self.label_5, 0, 0, 1, 1)
  112. self.label_17 = QtWidgets.QLabel(self.groupBox_4)
  113. self.label_17.setObjectName("label_17")
  114. self.gridLayout_7.addWidget(self.label_17, 1, 5, 1, 1)
  115. self.label_16 = QtWidgets.QLabel(self.groupBox_4)
  116. self.label_16.setObjectName("label_16")
  117. self.gridLayout_7.addWidget(self.label_16, 1, 3, 1, 1)
  118. self.label_AcY = QtWidgets.QLabel(self.groupBox_4)
  119. self.label_AcY.setObjectName("label_AcY")
  120. self.gridLayout_7.addWidget(self.label_AcY, 0, 4, 1, 1)
  121. self.label_15 = QtWidgets.QLabel(self.groupBox_4)
  122. self.label_15.setObjectName("label_15")
  123. self.gridLayout_7.addWidget(self.label_15, 1, 0, 1, 1)
  124. self.label_11 = QtWidgets.QLabel(self.groupBox_4)
  125. self.label_11.setObjectName("label_11")
  126. self.gridLayout_7.addWidget(self.label_11, 0, 3, 1, 1)
  127. self.label_AcX = QtWidgets.QLabel(self.groupBox_4)
  128. self.label_AcX.setObjectName("label_AcX")
  129. self.gridLayout_7.addWidget(self.label_AcX, 0, 1, 1, 1)
  130. self.label_13 = QtWidgets.QLabel(self.groupBox_4)
  131. self.label_13.setObjectName("label_13")
  132. self.gridLayout_7.addWidget(self.label_13, 0, 5, 1, 1)
  133. self.label_GyX = QtWidgets.QLabel(self.groupBox_4)
  134. self.label_GyX.setObjectName("label_GyX")
  135. self.gridLayout_7.addWidget(self.label_GyX, 1, 1, 1, 1)
  136. self.label_GyY = QtWidgets.QLabel(self.groupBox_4)
  137. self.label_GyY.setObjectName("label_GyY")
  138. self.gridLayout_7.addWidget(self.label_GyY, 1, 4, 1, 1)
  139. self.label_GyZ = QtWidgets.QLabel(self.groupBox_4)
  140. self.label_GyZ.setObjectName("label_GyZ")
  141. self.gridLayout_7.addWidget(self.label_GyZ, 1, 6, 1, 1)
  142. self.verticalLayout_2.addWidget(self.groupBox_4)
  143. self.groupBox_3 = QtWidgets.QGroupBox(self.centralwidget)
  144. self.groupBox_3.setObjectName("groupBox_3")
  145. self.gridLayout_8 = QtWidgets.QGridLayout(self.groupBox_3)
  146. self.gridLayout_8.setObjectName("gridLayout_8")
  147. self.label_8 = QtWidgets.QLabel(self.groupBox_3)
  148. self.label_8.setObjectName("label_8")
  149. self.gridLayout_8.addWidget(self.label_8, 0, 0, 1, 1)
  150. self.label_18 = QtWidgets.QLabel(self.groupBox_3)
  151. self.label_18.setObjectName("label_18")
  152. self.gridLayout_8.addWidget(self.label_18, 0, 4, 1, 1)
  153. self.label_MaX = QtWidgets.QLabel(self.groupBox_3)
  154. self.label_MaX.setObjectName("label_MaX")
  155. self.gridLayout_8.addWidget(self.label_MaX, 0, 1, 1, 1)
  156. self.label_12 = QtWidgets.QLabel(self.groupBox_3)
  157. self.label_12.setObjectName("label_12")
  158. self.gridLayout_8.addWidget(self.label_12, 0, 2, 1, 1)
  159. self.label_MaY = QtWidgets.QLabel(self.groupBox_3)
  160. self.label_MaY.setObjectName("label_MaY")
  161. self.gridLayout_8.addWidget(self.label_MaY, 0, 3, 1, 1)
  162. self.label_MaZ = QtWidgets.QLabel(self.groupBox_3)
  163. self.label_MaZ.setObjectName("label_MaZ")
  164. self.gridLayout_8.addWidget(self.label_MaZ, 0, 5, 1, 1)
  165. self.verticalLayout_2.addWidget(self.groupBox_3)
  166. self.groupBox_5 = QtWidgets.QGroupBox(self.centralwidget)
  167. self.groupBox_5.setObjectName("groupBox_5")
  168. self.gridLayout_9 = QtWidgets.QGridLayout(self.groupBox_5)
  169. self.gridLayout_9.setObjectName("gridLayout_9")
  170. self.label_9 = QtWidgets.QLabel(self.groupBox_5)
  171. self.label_9.setObjectName("label_9")
  172. self.gridLayout_9.addWidget(self.label_9, 0, 0, 1, 1)
  173. self.label_20 = QtWidgets.QLabel(self.groupBox_5)
  174. self.label_20.setObjectName("label_20")
  175. self.gridLayout_9.addWidget(self.label_20, 1, 0, 1, 1)
  176. self.label_pres_cis_1 = QtWidgets.QLabel(self.groupBox_5)
  177. self.label_pres_cis_1.setObjectName("label_pres_cis_1")
  178. self.gridLayout_9.addWidget(self.label_pres_cis_1, 0, 1, 1, 1)
  179. self.label_pres_i2c_1 = QtWidgets.QLabel(self.groupBox_5)
  180. self.label_pres_i2c_1.setObjectName("label_pres_i2c_1")
  181. self.gridLayout_9.addWidget(self.label_pres_i2c_1, 1, 1, 1, 1)
  182. self.verticalLayout_2.addWidget(self.groupBox_5)
  183. self.groupBox_2 = QtWidgets.QGroupBox(self.centralwidget)
  184. self.groupBox_2.setObjectName("groupBox_2")
  185. self.gridLayout_6 = QtWidgets.QGridLayout(self.groupBox_2)
  186. self.gridLayout_6.setObjectName("gridLayout_6")
  187. self.label_4 = QtWidgets.QLabel(self.groupBox_2)
  188. self.label_4.setObjectName("label_4")
  189. self.gridLayout_6.addWidget(self.label_4, 0, 0, 1, 1)
  190. self.label_temp_mpu_1 = QtWidgets.QLabel(self.groupBox_2)
  191. self.label_temp_mpu_1.setObjectName("label_temp_mpu_1")
  192. self.gridLayout_6.addWidget(self.label_temp_mpu_1, 2, 1, 1, 1)
  193. self.label_temp_cis_1 = QtWidgets.QLabel(self.groupBox_2)
  194. self.label_temp_cis_1.setObjectName("label_temp_cis_1")
  195. self.gridLayout_6.addWidget(self.label_temp_cis_1, 1, 1, 1, 1)
  196. self.label_24 = QtWidgets.QLabel(self.groupBox_2)
  197. self.label_24.setObjectName("label_24")
  198. self.gridLayout_6.addWidget(self.label_24, 2, 0, 1, 1)
  199. self.label_temp_adc_1 = QtWidgets.QLabel(self.groupBox_2)
  200. self.label_temp_adc_1.setObjectName("label_temp_adc_1")
  201. self.gridLayout_6.addWidget(self.label_temp_adc_1, 0, 1, 1, 1)
  202. self.label_22 = QtWidgets.QLabel(self.groupBox_2)
  203. self.label_22.setObjectName("label_22")
  204. self.gridLayout_6.addWidget(self.label_22, 1, 0, 1, 1)
  205. self.label_37 = QtWidgets.QLabel(self.groupBox_2)
  206. self.label_37.setObjectName("label_37")
  207. self.gridLayout_6.addWidget(self.label_37, 3, 0, 1, 1)
  208. self.label_temp_mag_1 = QtWidgets.QLabel(self.groupBox_2)
  209. self.label_temp_mag_1.setObjectName("label_temp_mag_1")
  210. self.gridLayout_6.addWidget(self.label_temp_mag_1, 3, 1, 1, 1)
  211. self.verticalLayout_2.addWidget(self.groupBox_2)
  212. self.groupBox_7 = QtWidgets.QGroupBox(self.centralwidget)
  213. self.groupBox_7.setObjectName("groupBox_7")
  214. self.gridLayout_12 = QtWidgets.QGridLayout(self.groupBox_7)
  215. self.gridLayout_12.setObjectName("gridLayout_12")
  216. self.label_time_1 = QtWidgets.QLabel(self.groupBox_7)
  217. self.label_time_1.setObjectName("label_time_1")
  218. self.gridLayout_12.addWidget(self.label_time_1, 0, 1, 1, 1)
  219. self.label_date_1 = QtWidgets.QLabel(self.groupBox_7)
  220. self.label_date_1.setObjectName("label_date_1")
  221. self.gridLayout_12.addWidget(self.label_date_1, 1, 1, 1, 1)
  222. self.label_32 = QtWidgets.QLabel(self.groupBox_7)
  223. self.label_32.setObjectName("label_32")
  224. self.gridLayout_12.addWidget(self.label_32, 1, 0, 1, 1)
  225. self.label_31 = QtWidgets.QLabel(self.groupBox_7)
  226. self.label_31.setObjectName("label_31")
  227. self.gridLayout_12.addWidget(self.label_31, 0, 0, 1, 1)
  228. self.label_35 = QtWidgets.QLabel(self.groupBox_7)
  229. self.label_35.setObjectName("label_35")
  230. self.gridLayout_12.addWidget(self.label_35, 2, 0, 1, 1)
  231. self.label_hdop_1 = QtWidgets.QLabel(self.groupBox_7)
  232. self.label_hdop_1.setObjectName("label_hdop_1")
  233. self.gridLayout_12.addWidget(self.label_hdop_1, 2, 1, 1, 1)
  234. self.verticalLayout_2.addWidget(self.groupBox_7)
  235. spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
  236. self.verticalLayout_2.addItem(spacerItem)
  237. self.progressBar_reset = QtWidgets.QProgressBar(self.centralwidget)
  238. sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
  239. sizePolicy.setHorizontalStretch(0)
  240. sizePolicy.setVerticalStretch(0)
  241. sizePolicy.setHeightForWidth(self.progressBar_reset.sizePolicy().hasHeightForWidth())
  242. self.progressBar_reset.setSizePolicy(sizePolicy)
  243. self.progressBar_reset.setProperty("value", 0)
  244. self.progressBar_reset.setTextVisible(True)
  245. self.progressBar_reset.setObjectName("progressBar_reset")
  246. self.verticalLayout_2.addWidget(self.progressBar_reset)
  247. self.pushButton_reset = QtWidgets.QPushButton(self.centralwidget)
  248. sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
  249. sizePolicy.setHorizontalStretch(0)
  250. sizePolicy.setVerticalStretch(0)
  251. sizePolicy.setHeightForWidth(self.pushButton_reset.sizePolicy().hasHeightForWidth())
  252. self.pushButton_reset.setSizePolicy(sizePolicy)
  253. self.pushButton_reset.setObjectName("pushButton_reset")
  254. self.verticalLayout_2.addWidget(self.pushButton_reset)
  255. self.gridLayout.addLayout(self.verticalLayout_2, 0, 0, 1, 1)
  256. self.gridLayout_2.addLayout(self.gridLayout, 0, 1, 1, 1)
  257. self.tabWidget = QtWidgets.QTabWidget(self.centralwidget)
  258. self.tabWidget.setObjectName("tabWidget")
  259. self.tab = QtWidgets.QWidget()
  260. self.tab.setObjectName("tab")
  261. self.gridLayout_4 = QtWidgets.QGridLayout(self.tab)
  262. self.gridLayout_4.setObjectName("gridLayout_4")
  263. self.openGLWidget = QtWidgets.QOpenGLWidget(self.tab)
  264. sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.MinimumExpanding)
  265. sizePolicy.setHorizontalStretch(0)
  266. sizePolicy.setVerticalStretch(0)
  267. sizePolicy.setHeightForWidth(self.openGLWidget.sizePolicy().hasHeightForWidth())
  268. self.openGLWidget.setSizePolicy(sizePolicy)
  269. self.openGLWidget.setMouseTracking(False)
  270. self.openGLWidget.setObjectName("openGLWidget")
  271. self.gridLayout_4.addWidget(self.openGLWidget, 0, 0, 1, 1)
  272. self.tabWidget.addTab(self.tab, "")
  273. self.tab_3 = QtWidgets.QWidget()
  274. self.tab_3.setObjectName("tab_3")
  275. self.gridLayout_3 = QtWidgets.QGridLayout(self.tab_3)
  276. self.gridLayout_3.setObjectName("gridLayout_3")
  277. self.openGLWidgetQuad = QtWidgets.QOpenGLWidget(self.tab_3)
  278. self.openGLWidgetQuad.setObjectName("openGLWidgetQuad")
  279. self.gridLayout_3.addWidget(self.openGLWidgetQuad, 0, 0, 1, 1)
  280. self.tabWidget.addTab(self.tab_3, "")
  281. self.tab_2 = QtWidgets.QWidget()
  282. self.tab_2.setObjectName("tab_2")
  283. self.gridLayout_10 = QtWidgets.QGridLayout(self.tab_2)
  284. self.gridLayout_10.setObjectName("gridLayout_10")
  285. self.scrollArea = QtWidgets.QScrollArea(self.tab_2)
  286. self.scrollArea.setWidgetResizable(True)
  287. self.scrollArea.setObjectName("scrollArea")
  288. self.scrollAreaWidgetContents = QtWidgets.QWidget()
  289. self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 98, 28))
  290. self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents")
  291. self.scrollArea.setWidget(self.scrollAreaWidgetContents)
  292. self.gridLayout_10.addWidget(self.scrollArea, 1, 0, 1, 1)
  293. self.labelTestData = QtWidgets.QLabel(self.tab_2)
  294. self.labelTestData.setObjectName("labelTestData")
  295. self.gridLayout_10.addWidget(self.labelTestData, 0, 0, 1, 1)
  296. self.tabWidget.addTab(self.tab_2, "")
  297. self.gridLayout_2.addWidget(self.tabWidget, 0, 0, 1, 1)
  298. MainWindow.setCentralWidget(self.centralwidget)
  299. self.menubar = QtWidgets.QMenuBar(MainWindow)
  300. self.menubar.setGeometry(QtCore.QRect(0, 0, 1337, 26))
  301. self.menubar.setObjectName("menubar")
  302. self.menuFile = QtWidgets.QMenu(self.menubar)
  303. self.menuFile.setObjectName("menuFile")
  304. self.menuCamera_Settings = QtWidgets.QMenu(self.menubar)
  305. self.menuCamera_Settings.setObjectName("menuCamera_Settings")
  306. MainWindow.setMenuBar(self.menubar)
  307. self.statusbar = QtWidgets.QStatusBar(MainWindow)
  308. self.statusbar.setObjectName("statusbar")
  309. MainWindow.setStatusBar(self.statusbar)
  310. self.actionClose = QtWidgets.QAction(MainWindow)
  311. self.actionClose.setObjectName("actionClose")
  312. self.actionFollow = QtWidgets.QAction(MainWindow)
  313. self.actionFollow.setCheckable(True)
  314. self.actionFollow.setChecked(True)
  315. self.actionFollow.setObjectName("actionFollow")
  316. self.actionReset = QtWidgets.QAction(MainWindow)
  317. self.actionReset.setObjectName("actionReset")
  318. self.actionSave = QtWidgets.QAction(MainWindow)
  319. self.actionSave.setObjectName("actionSave")
  320. self.actionSettings = QtWidgets.QAction(MainWindow)
  321. self.actionSettings.setObjectName("actionSettings")
  322. self.menuFile.addAction(self.actionSave)
  323. self.menuFile.addAction(self.actionSettings)
  324. self.menuFile.addAction(self.actionClose)
  325. self.menuCamera_Settings.addAction(self.actionFollow)
  326. self.menubar.addAction(self.menuFile.menuAction())
  327. self.menubar.addAction(self.menuCamera_Settings.menuAction())
  328. self.retranslateUi(MainWindow)
  329. self.tabWidget.setCurrentIndex(0)
  330. QtCore.QMetaObject.connectSlotsByName(MainWindow)
  331. def retranslateUi(self, MainWindow):
  332. _translate = QtCore.QCoreApplication.translate
  333. MainWindow.setWindowTitle(_translate("MainWindow", "BEXUS"))
  334. self.groupBox.setTitle(_translate("MainWindow", "Stats"))
  335. self.labelLink_MCU2.setText(_translate("MainWindow", "Unknown"))
  336. self.labelLink_MCU1.setText(_translate("MainWindow", "Unknown"))
  337. self.label_2.setText(_translate("MainWindow", "Link:"))
  338. self.label_25.setText(_translate("MainWindow", "MCU 2:"))
  339. self.labelLatency.setText(_translate("MainWindow", "20ms"))
  340. self.labelLink.setText(_translate("MainWindow", "Offline"))
  341. self.label_6.setText(_translate("MainWindow", "Latency:"))
  342. self.label_3.setText(_translate("MainWindow", "MCU 1:"))
  343. self.label.setText(_translate("MainWindow", "Address:"))
  344. self.labelAddress.setText(_translate("MainWindow", "192.168.0.8:1234"))
  345. self.groupBox_6.setTitle(_translate("MainWindow", "Position"))
  346. self.label_lat_1.setText(_translate("MainWindow", "51.4562"))
  347. self.label_27.setText(_translate("MainWindow", "Latitude"))
  348. self.label_alt_1.setText(_translate("MainWindow", "165.07 m"))
  349. self.label_21.setText(_translate("MainWindow", "Altitude:"))
  350. self.label_29.setText(_translate("MainWindow", "Longitude"))
  351. self.label_lon_1.setText(_translate("MainWindow", "10.2452"))
  352. self.groupBox_4.setTitle(_translate("MainWindow", "Gyro"))
  353. self.label_AcZ.setText(_translate("MainWindow", "0"))
  354. self.label_5.setText(_translate("MainWindow", "AcX:"))
  355. self.label_17.setText(_translate("MainWindow", "GyZ:"))
  356. self.label_16.setText(_translate("MainWindow", "GyY:"))
  357. self.label_AcY.setText(_translate("MainWindow", "0"))
  358. self.label_15.setText(_translate("MainWindow", "GyX:"))
  359. self.label_11.setText(_translate("MainWindow", "AcY:"))
  360. self.label_AcX.setText(_translate("MainWindow", "0"))
  361. self.label_13.setText(_translate("MainWindow", "AcZ:"))
  362. self.label_GyX.setText(_translate("MainWindow", "0"))
  363. self.label_GyY.setText(_translate("MainWindow", "0"))
  364. self.label_GyZ.setText(_translate("MainWindow", "0"))
  365. self.groupBox_3.setTitle(_translate("MainWindow", "Magnetic"))
  366. self.label_8.setText(_translate("MainWindow", "X:"))
  367. self.label_18.setText(_translate("MainWindow", "Z:"))
  368. self.label_MaX.setText(_translate("MainWindow", "0"))
  369. self.label_12.setText(_translate("MainWindow", "Y:"))
  370. self.label_MaY.setText(_translate("MainWindow", "0"))
  371. self.label_MaZ.setText(_translate("MainWindow", "0"))
  372. self.groupBox_5.setTitle(_translate("MainWindow", "Pressure"))
  373. self.label_9.setText(_translate("MainWindow", "Cis"))
  374. self.label_20.setText(_translate("MainWindow", "SPI"))
  375. self.label_pres_cis_1.setText(_translate("MainWindow", "99999.4 Pa"))
  376. self.label_pres_i2c_1.setText(_translate("MainWindow", "99355.0 Pa"))
  377. self.groupBox_2.setTitle(_translate("MainWindow", "Temperature"))
  378. self.label_4.setText(_translate("MainWindow", "ADC"))
  379. self.label_temp_mpu_1.setText(_translate("MainWindow", "39.20 °C"))
  380. self.label_temp_cis_1.setText(_translate("MainWindow", "36.43 °C"))
  381. self.label_24.setText(_translate("MainWindow", "MPU"))
  382. self.label_temp_adc_1.setText(_translate("MainWindow", "20.21 °C"))
  383. self.label_22.setText(_translate("MainWindow", "Cis"))
  384. self.label_37.setText(_translate("MainWindow", "Mag"))
  385. self.label_temp_mag_1.setText(_translate("MainWindow", "36.01 °C"))
  386. self.groupBox_7.setTitle(_translate("MainWindow", "GPS"))
  387. self.label_time_1.setText(_translate("MainWindow", "12:00"))
  388. self.label_date_1.setText(_translate("MainWindow", "01.01.1970"))
  389. self.label_32.setText(_translate("MainWindow", "Date"))
  390. self.label_31.setText(_translate("MainWindow", "Time"))
  391. self.label_35.setText(_translate("MainWindow", "Hdop"))
  392. self.label_hdop_1.setText(_translate("MainWindow", "0"))
  393. self.pushButton_reset.setText(_translate("MainWindow", "Restart"))
  394. self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("MainWindow", "3D View"))
  395. self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_3), _translate("MainWindow", "Orthogonal View"))
  396. self.labelTestData.setText(_translate("MainWindow", "Test Data"))
  397. self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), _translate("MainWindow", "Raw data"))
  398. self.menuFile.setTitle(_translate("MainWindow", "File"))
  399. self.menuCamera_Settings.setTitle(_translate("MainWindow", "Camera Settings"))
  400. self.actionClose.setText(_translate("MainWindow", "Close"))
  401. self.actionFollow.setText(_translate("MainWindow", "Follow"))
  402. self.actionReset.setText(_translate("MainWindow", "Reset"))
  403. self.actionSave.setText(_translate("MainWindow", "Save"))
  404. self.actionSettings.setText(_translate("MainWindow", "Settings"))