123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531 |
- # -*- coding: utf-8 -*-
- # Form implementation generated from reading ui file 'main.ui'
- #
- # Created by: PyQt5 UI code generator 5.10.1
- #
- # WARNING! All changes made in this file will be lost!
- from PyQt5 import QtCore, QtGui, QtWidgets
- class Ui_MainWindow(object):
- def setupUi(self, MainWindow):
- MainWindow.setObjectName("MainWindow")
- MainWindow.resize(1083, 832)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(MainWindow.sizePolicy().hasHeightForWidth())
- MainWindow.setSizePolicy(sizePolicy)
- MainWindow.setMinimumSize(QtCore.QSize(1056, 670))
- icon = QtGui.QIcon()
- icon.addPixmap(QtGui.QPixmap("../../../../.designer/backup/pp.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- MainWindow.setWindowIcon(icon)
- self.centralwidget = QtWidgets.QWidget(MainWindow)
- self.centralwidget.setObjectName("centralwidget")
- self.gridLayout_2 = QtWidgets.QGridLayout(self.centralwidget)
- self.gridLayout_2.setObjectName("gridLayout_2")
- self.gridLayout = QtWidgets.QGridLayout()
- self.gridLayout.setObjectName("gridLayout")
- self.verticalLayout_2 = QtWidgets.QVBoxLayout()
- self.verticalLayout_2.setObjectName("verticalLayout_2")
- self.groupBox = QtWidgets.QGroupBox(self.centralwidget)
- self.groupBox.setMinimumSize(QtCore.QSize(306, 0))
- self.groupBox.setObjectName("groupBox")
- self.gridLayout_5 = QtWidgets.QGridLayout(self.groupBox)
- self.gridLayout_5.setObjectName("gridLayout_5")
- self.label_6 = QtWidgets.QLabel(self.groupBox)
- self.label_6.setObjectName("label_6")
- self.gridLayout_5.addWidget(self.label_6, 2, 0, 1, 1)
- self.labelLink = QtWidgets.QLabel(self.groupBox)
- font = QtGui.QFont()
- font.setBold(True)
- font.setWeight(75)
- self.labelLink.setFont(font)
- self.labelLink.setStyleSheet("color:white;background-color:red;")
- self.labelLink.setObjectName("labelLink")
- self.gridLayout_5.addWidget(self.labelLink, 1, 1, 1, 1)
- self.label_2 = QtWidgets.QLabel(self.groupBox)
- self.label_2.setObjectName("label_2")
- self.gridLayout_5.addWidget(self.label_2, 1, 0, 1, 1)
- self.labelLink_Slave = QtWidgets.QLabel(self.groupBox)
- self.labelLink_Slave.setObjectName("labelLink_Slave")
- self.gridLayout_5.addWidget(self.labelLink_Slave, 4, 1, 1, 1)
- self.label_25 = QtWidgets.QLabel(self.groupBox)
- self.label_25.setObjectName("label_25")
- self.gridLayout_5.addWidget(self.label_25, 4, 0, 1, 1)
- self.label = QtWidgets.QLabel(self.groupBox)
- self.label.setObjectName("label")
- self.gridLayout_5.addWidget(self.label, 0, 0, 1, 1)
- self.labelLink_Master = QtWidgets.QLabel(self.groupBox)
- self.labelLink_Master.setObjectName("labelLink_Master")
- self.gridLayout_5.addWidget(self.labelLink_Master, 3, 1, 1, 1)
- self.labelLatency = QtWidgets.QLabel(self.groupBox)
- self.labelLatency.setObjectName("labelLatency")
- self.gridLayout_5.addWidget(self.labelLatency, 2, 1, 1, 1)
- self.label_3 = QtWidgets.QLabel(self.groupBox)
- self.label_3.setObjectName("label_3")
- self.gridLayout_5.addWidget(self.label_3, 3, 0, 1, 1)
- self.labelAddress = QtWidgets.QLabel(self.groupBox)
- self.labelAddress.setObjectName("labelAddress")
- self.gridLayout_5.addWidget(self.labelAddress, 0, 1, 1, 1)
- self.verticalLayout_2.addWidget(self.groupBox)
- self.scrollArea_2 = QtWidgets.QScrollArea(self.centralwidget)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.scrollArea_2.sizePolicy().hasHeightForWidth())
- self.scrollArea_2.setSizePolicy(sizePolicy)
- self.scrollArea_2.setMinimumSize(QtCore.QSize(400, 0))
- self.scrollArea_2.setFrameShape(QtWidgets.QFrame.NoFrame)
- self.scrollArea_2.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
- self.scrollArea_2.setWidgetResizable(True)
- self.scrollArea_2.setObjectName("scrollArea_2")
- self.scrollAreaWidgetContents_2 = QtWidgets.QWidget()
- self.scrollAreaWidgetContents_2.setGeometry(QtCore.QRect(0, 0, 379, 763))
- self.scrollAreaWidgetContents_2.setObjectName("scrollAreaWidgetContents_2")
- self.gridLayout_13 = QtWidgets.QGridLayout(self.scrollAreaWidgetContents_2)
- self.gridLayout_13.setContentsMargins(0, 0, 0, 0)
- self.gridLayout_13.setObjectName("gridLayout_13")
- self.groupBox_6 = QtWidgets.QGroupBox(self.scrollAreaWidgetContents_2)
- self.groupBox_6.setObjectName("groupBox_6")
- self.gridLayout_11 = QtWidgets.QGridLayout(self.groupBox_6)
- self.gridLayout_11.setObjectName("gridLayout_11")
- self.label_alt_1 = QtWidgets.QLabel(self.groupBox_6)
- self.label_alt_1.setObjectName("label_alt_1")
- self.gridLayout_11.addWidget(self.label_alt_1, 2, 1, 1, 1)
- self.label_21 = QtWidgets.QLabel(self.groupBox_6)
- self.label_21.setObjectName("label_21")
- self.gridLayout_11.addWidget(self.label_21, 2, 0, 1, 1)
- self.label_29 = QtWidgets.QLabel(self.groupBox_6)
- self.label_29.setObjectName("label_29")
- self.gridLayout_11.addWidget(self.label_29, 1, 0, 1, 1)
- self.label_lon_1 = QtWidgets.QLabel(self.groupBox_6)
- self.label_lon_1.setObjectName("label_lon_1")
- self.gridLayout_11.addWidget(self.label_lon_1, 1, 1, 1, 1)
- self.label_lat_1 = QtWidgets.QLabel(self.groupBox_6)
- self.label_lat_1.setObjectName("label_lat_1")
- self.gridLayout_11.addWidget(self.label_lat_1, 0, 1, 1, 1)
- self.label_27 = QtWidgets.QLabel(self.groupBox_6)
- self.label_27.setObjectName("label_27")
- self.gridLayout_11.addWidget(self.label_27, 0, 0, 1, 1)
- self.gridLayout_13.addWidget(self.groupBox_6, 0, 0, 1, 1)
- self.groupBox_5 = QtWidgets.QGroupBox(self.scrollAreaWidgetContents_2)
- self.groupBox_5.setObjectName("groupBox_5")
- self.gridLayout_9 = QtWidgets.QGridLayout(self.groupBox_5)
- self.gridLayout_9.setObjectName("gridLayout_9")
- self.label_9 = QtWidgets.QLabel(self.groupBox_5)
- self.label_9.setObjectName("label_9")
- self.gridLayout_9.addWidget(self.label_9, 0, 0, 1, 1)
- self.label_20 = QtWidgets.QLabel(self.groupBox_5)
- self.label_20.setObjectName("label_20")
- self.gridLayout_9.addWidget(self.label_20, 1, 0, 1, 1)
- self.label_pres_cis_1 = QtWidgets.QLabel(self.groupBox_5)
- self.label_pres_cis_1.setObjectName("label_pres_cis_1")
- self.gridLayout_9.addWidget(self.label_pres_cis_1, 0, 1, 1, 1)
- self.label_pres_i2c_1 = QtWidgets.QLabel(self.groupBox_5)
- self.label_pres_i2c_1.setObjectName("label_pres_i2c_1")
- self.gridLayout_9.addWidget(self.label_pres_i2c_1, 1, 1, 1, 1)
- self.gridLayout_13.addWidget(self.groupBox_5, 3, 0, 1, 1)
- self.groupBox_4 = QtWidgets.QGroupBox(self.scrollAreaWidgetContents_2)
- self.groupBox_4.setObjectName("groupBox_4")
- self.gridLayout_7 = QtWidgets.QGridLayout(self.groupBox_4)
- self.gridLayout_7.setObjectName("gridLayout_7")
- self.label_GyX = QtWidgets.QLabel(self.groupBox_4)
- self.label_GyX.setObjectName("label_GyX")
- self.gridLayout_7.addWidget(self.label_GyX, 1, 1, 1, 1)
- self.label_AcX = QtWidgets.QLabel(self.groupBox_4)
- self.label_AcX.setObjectName("label_AcX")
- self.gridLayout_7.addWidget(self.label_AcX, 0, 1, 1, 1)
- self.label_16 = QtWidgets.QLabel(self.groupBox_4)
- self.label_16.setObjectName("label_16")
- self.gridLayout_7.addWidget(self.label_16, 1, 3, 1, 1)
- self.label_GyY = QtWidgets.QLabel(self.groupBox_4)
- self.label_GyY.setObjectName("label_GyY")
- self.gridLayout_7.addWidget(self.label_GyY, 1, 4, 1, 1)
- self.label_15 = QtWidgets.QLabel(self.groupBox_4)
- self.label_15.setObjectName("label_15")
- self.gridLayout_7.addWidget(self.label_15, 1, 0, 1, 1)
- self.label_5 = QtWidgets.QLabel(self.groupBox_4)
- self.label_5.setObjectName("label_5")
- self.gridLayout_7.addWidget(self.label_5, 0, 0, 1, 1)
- self.label_AcY = QtWidgets.QLabel(self.groupBox_4)
- self.label_AcY.setObjectName("label_AcY")
- self.gridLayout_7.addWidget(self.label_AcY, 0, 4, 1, 1)
- self.label_11 = QtWidgets.QLabel(self.groupBox_4)
- self.label_11.setObjectName("label_11")
- self.gridLayout_7.addWidget(self.label_11, 0, 3, 1, 1)
- self.label_GyZ = QtWidgets.QLabel(self.groupBox_4)
- self.label_GyZ.setObjectName("label_GyZ")
- self.gridLayout_7.addWidget(self.label_GyZ, 1, 6, 1, 1)
- self.label_AcZ = QtWidgets.QLabel(self.groupBox_4)
- self.label_AcZ.setObjectName("label_AcZ")
- self.gridLayout_7.addWidget(self.label_AcZ, 0, 6, 1, 1)
- self.label_17 = QtWidgets.QLabel(self.groupBox_4)
- self.label_17.setObjectName("label_17")
- self.gridLayout_7.addWidget(self.label_17, 1, 5, 1, 1)
- self.label_13 = QtWidgets.QLabel(self.groupBox_4)
- self.label_13.setObjectName("label_13")
- self.gridLayout_7.addWidget(self.label_13, 0, 5, 1, 1)
- self.label_8 = QtWidgets.QLabel(self.groupBox_4)
- self.label_8.setObjectName("label_8")
- self.gridLayout_7.addWidget(self.label_8, 2, 0, 1, 1)
- self.label_MaX = QtWidgets.QLabel(self.groupBox_4)
- self.label_MaX.setObjectName("label_MaX")
- self.gridLayout_7.addWidget(self.label_MaX, 2, 1, 1, 1)
- self.label_12 = QtWidgets.QLabel(self.groupBox_4)
- self.label_12.setObjectName("label_12")
- self.gridLayout_7.addWidget(self.label_12, 2, 3, 1, 1)
- self.label_MaY = QtWidgets.QLabel(self.groupBox_4)
- self.label_MaY.setObjectName("label_MaY")
- self.gridLayout_7.addWidget(self.label_MaY, 2, 4, 1, 1)
- self.label_18 = QtWidgets.QLabel(self.groupBox_4)
- self.label_18.setObjectName("label_18")
- self.gridLayout_7.addWidget(self.label_18, 2, 5, 1, 1)
- self.label_MaZ = QtWidgets.QLabel(self.groupBox_4)
- self.label_MaZ.setObjectName("label_MaZ")
- self.gridLayout_7.addWidget(self.label_MaZ, 2, 6, 1, 1)
- self.gridLayout_13.addWidget(self.groupBox_4, 1, 0, 1, 1)
- self.groupBox_8 = QtWidgets.QGroupBox(self.scrollAreaWidgetContents_2)
- self.groupBox_8.setObjectName("groupBox_8")
- self.gridLayout_8 = QtWidgets.QGridLayout(self.groupBox_8)
- self.gridLayout_8.setObjectName("gridLayout_8")
- self.label_30 = QtWidgets.QLabel(self.groupBox_8)
- self.label_30.setObjectName("label_30")
- self.gridLayout_8.addWidget(self.label_30, 2, 0, 1, 1)
- self.label_PosX = QtWidgets.QLabel(self.groupBox_8)
- self.label_PosX.setObjectName("label_PosX")
- self.gridLayout_8.addWidget(self.label_PosX, 2, 1, 1, 1)
- self.label_34 = QtWidgets.QLabel(self.groupBox_8)
- self.label_34.setObjectName("label_34")
- self.gridLayout_8.addWidget(self.label_34, 2, 2, 1, 1)
- self.label_GaZ = QtWidgets.QLabel(self.groupBox_8)
- self.label_GaZ.setObjectName("label_GaZ")
- self.gridLayout_8.addWidget(self.label_GaZ, 0, 5, 1, 1)
- self.label_19 = QtWidgets.QLabel(self.groupBox_8)
- self.label_19.setObjectName("label_19")
- self.gridLayout_8.addWidget(self.label_19, 1, 2, 1, 1)
- self.label_23 = QtWidgets.QLabel(self.groupBox_8)
- self.label_23.setObjectName("label_23")
- self.gridLayout_8.addWidget(self.label_23, 1, 0, 1, 1)
- self.label_RotZ = QtWidgets.QLabel(self.groupBox_8)
- self.label_RotZ.setObjectName("label_RotZ")
- self.gridLayout_8.addWidget(self.label_RotZ, 1, 5, 1, 1)
- self.label_28 = QtWidgets.QLabel(self.groupBox_8)
- self.label_28.setObjectName("label_28")
- self.gridLayout_8.addWidget(self.label_28, 0, 4, 1, 1)
- self.label_GaX = QtWidgets.QLabel(self.groupBox_8)
- self.label_GaX.setObjectName("label_GaX")
- self.gridLayout_8.addWidget(self.label_GaX, 0, 1, 1, 1)
- self.label_26 = QtWidgets.QLabel(self.groupBox_8)
- self.label_26.setObjectName("label_26")
- self.gridLayout_8.addWidget(self.label_26, 1, 4, 1, 1)
- self.label_7 = QtWidgets.QLabel(self.groupBox_8)
- self.label_7.setObjectName("label_7")
- self.gridLayout_8.addWidget(self.label_7, 0, 0, 1, 1)
- self.label_RotY = QtWidgets.QLabel(self.groupBox_8)
- self.label_RotY.setObjectName("label_RotY")
- self.gridLayout_8.addWidget(self.label_RotY, 1, 3, 1, 1)
- self.label_GaY = QtWidgets.QLabel(self.groupBox_8)
- self.label_GaY.setObjectName("label_GaY")
- self.gridLayout_8.addWidget(self.label_GaY, 0, 3, 1, 1)
- self.label_RotX = QtWidgets.QLabel(self.groupBox_8)
- self.label_RotX.setObjectName("label_RotX")
- self.gridLayout_8.addWidget(self.label_RotX, 1, 1, 1, 1)
- self.label_14 = QtWidgets.QLabel(self.groupBox_8)
- self.label_14.setObjectName("label_14")
- self.gridLayout_8.addWidget(self.label_14, 0, 2, 1, 1)
- self.label_36 = QtWidgets.QLabel(self.groupBox_8)
- self.label_36.setObjectName("label_36")
- self.gridLayout_8.addWidget(self.label_36, 2, 4, 1, 1)
- self.label_PosY = QtWidgets.QLabel(self.groupBox_8)
- self.label_PosY.setObjectName("label_PosY")
- self.gridLayout_8.addWidget(self.label_PosY, 2, 3, 1, 1)
- self.label_PosZ = QtWidgets.QLabel(self.groupBox_8)
- self.label_PosZ.setObjectName("label_PosZ")
- self.gridLayout_8.addWidget(self.label_PosZ, 2, 5, 1, 1)
- self.gridLayout_13.addWidget(self.groupBox_8, 2, 0, 1, 1)
- self.groupBox_2 = QtWidgets.QGroupBox(self.scrollAreaWidgetContents_2)
- self.groupBox_2.setObjectName("groupBox_2")
- self.gridLayout_6 = QtWidgets.QGridLayout(self.groupBox_2)
- self.gridLayout_6.setObjectName("gridLayout_6")
- self.label_temp_adc_1 = QtWidgets.QLabel(self.groupBox_2)
- self.label_temp_adc_1.setObjectName("label_temp_adc_1")
- self.gridLayout_6.addWidget(self.label_temp_adc_1, 0, 1, 1, 1)
- self.label_4 = QtWidgets.QLabel(self.groupBox_2)
- self.label_4.setObjectName("label_4")
- self.gridLayout_6.addWidget(self.label_4, 0, 0, 1, 1)
- self.label_temp_mpu_1 = QtWidgets.QLabel(self.groupBox_2)
- self.label_temp_mpu_1.setObjectName("label_temp_mpu_1")
- self.gridLayout_6.addWidget(self.label_temp_mpu_1, 2, 1, 1, 1)
- self.label_temp_cis_1 = QtWidgets.QLabel(self.groupBox_2)
- self.label_temp_cis_1.setObjectName("label_temp_cis_1")
- self.gridLayout_6.addWidget(self.label_temp_cis_1, 1, 1, 1, 1)
- self.label_24 = QtWidgets.QLabel(self.groupBox_2)
- self.label_24.setObjectName("label_24")
- self.gridLayout_6.addWidget(self.label_24, 2, 0, 1, 1)
- self.label_22 = QtWidgets.QLabel(self.groupBox_2)
- self.label_22.setObjectName("label_22")
- self.gridLayout_6.addWidget(self.label_22, 1, 0, 1, 1)
- self.label_37 = QtWidgets.QLabel(self.groupBox_2)
- self.label_37.setObjectName("label_37")
- self.gridLayout_6.addWidget(self.label_37, 3, 0, 1, 1)
- self.label_temp_mag_1 = QtWidgets.QLabel(self.groupBox_2)
- self.label_temp_mag_1.setObjectName("label_temp_mag_1")
- self.gridLayout_6.addWidget(self.label_temp_mag_1, 3, 1, 1, 1)
- self.label_temp_i2c = QtWidgets.QLabel(self.groupBox_2)
- self.label_temp_i2c.setObjectName("label_temp_i2c")
- self.gridLayout_6.addWidget(self.label_temp_i2c, 4, 1, 1, 1)
- self.label_33 = QtWidgets.QLabel(self.groupBox_2)
- self.label_33.setObjectName("label_33")
- self.gridLayout_6.addWidget(self.label_33, 4, 0, 1, 1)
- self.label_38 = QtWidgets.QLabel(self.groupBox_2)
- self.label_38.setObjectName("label_38")
- self.gridLayout_6.addWidget(self.label_38, 5, 0, 1, 1)
- self.label_temp_mp = QtWidgets.QLabel(self.groupBox_2)
- self.label_temp_mp.setObjectName("label_temp_mp")
- self.gridLayout_6.addWidget(self.label_temp_mp, 5, 1, 1, 1)
- self.gridLayout_13.addWidget(self.groupBox_2, 4, 0, 1, 1)
- self.groupBox_7 = QtWidgets.QGroupBox(self.scrollAreaWidgetContents_2)
- self.groupBox_7.setObjectName("groupBox_7")
- self.gridLayout_12 = QtWidgets.QGridLayout(self.groupBox_7)
- self.gridLayout_12.setObjectName("gridLayout_12")
- self.label_35 = QtWidgets.QLabel(self.groupBox_7)
- self.label_35.setObjectName("label_35")
- self.gridLayout_12.addWidget(self.label_35, 1, 0, 1, 1)
- self.label_hdop_1 = QtWidgets.QLabel(self.groupBox_7)
- self.label_hdop_1.setObjectName("label_hdop_1")
- self.gridLayout_12.addWidget(self.label_hdop_1, 1, 1, 1, 1)
- self.label_31 = QtWidgets.QLabel(self.groupBox_7)
- self.label_31.setObjectName("label_31")
- self.gridLayout_12.addWidget(self.label_31, 0, 0, 1, 1)
- self.label_time_1 = QtWidgets.QLabel(self.groupBox_7)
- self.label_time_1.setObjectName("label_time_1")
- self.gridLayout_12.addWidget(self.label_time_1, 0, 1, 1, 1)
- self.gridLayout_13.addWidget(self.groupBox_7, 5, 0, 1, 1)
- self.groupBox_9 = QtWidgets.QGroupBox(self.scrollAreaWidgetContents_2)
- self.groupBox_9.setObjectName("groupBox_9")
- self.gridLayout_15 = QtWidgets.QGridLayout(self.groupBox_9)
- self.gridLayout_15.setObjectName("gridLayout_15")
- self.label_10 = QtWidgets.QLabel(self.groupBox_9)
- self.label_10.setObjectName("label_10")
- self.gridLayout_15.addWidget(self.label_10, 0, 0, 1, 1)
- self.label_current = QtWidgets.QLabel(self.groupBox_9)
- self.label_current.setObjectName("label_current")
- self.gridLayout_15.addWidget(self.label_current, 1, 1, 1, 1)
- self.label_voltage = QtWidgets.QLabel(self.groupBox_9)
- self.label_voltage.setObjectName("label_voltage")
- self.gridLayout_15.addWidget(self.label_voltage, 0, 1, 1, 1)
- self.label_32 = QtWidgets.QLabel(self.groupBox_9)
- self.label_32.setObjectName("label_32")
- self.gridLayout_15.addWidget(self.label_32, 1, 0, 1, 1)
- self.gridLayout_13.addWidget(self.groupBox_9, 6, 0, 1, 1)
- spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
- self.gridLayout_13.addItem(spacerItem, 9, 0, 1, 1)
- self.scrollArea_2.setWidget(self.scrollAreaWidgetContents_2)
- self.verticalLayout_2.addWidget(self.scrollArea_2)
- self.progressBar_reset = QtWidgets.QProgressBar(self.centralwidget)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.progressBar_reset.sizePolicy().hasHeightForWidth())
- self.progressBar_reset.setSizePolicy(sizePolicy)
- self.progressBar_reset.setProperty("value", 0)
- self.progressBar_reset.setTextVisible(False)
- self.progressBar_reset.setObjectName("progressBar_reset")
- self.verticalLayout_2.addWidget(self.progressBar_reset)
- self.pushButton_reset = QtWidgets.QPushButton(self.centralwidget)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.pushButton_reset.sizePolicy().hasHeightForWidth())
- self.pushButton_reset.setSizePolicy(sizePolicy)
- self.pushButton_reset.setObjectName("pushButton_reset")
- self.verticalLayout_2.addWidget(self.pushButton_reset)
- self.gridLayout.addLayout(self.verticalLayout_2, 0, 0, 1, 1)
- self.gridLayout_2.addLayout(self.gridLayout, 0, 1, 1, 1)
- self.tabWidget = QtWidgets.QTabWidget(self.centralwidget)
- self.tabWidget.setObjectName("tabWidget")
- self.tab = QtWidgets.QWidget()
- self.tab.setObjectName("tab")
- self.gridLayout_4 = QtWidgets.QGridLayout(self.tab)
- self.gridLayout_4.setObjectName("gridLayout_4")
- self.openGLWidget = QtWidgets.QOpenGLWidget(self.tab)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.MinimumExpanding)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.openGLWidget.sizePolicy().hasHeightForWidth())
- self.openGLWidget.setSizePolicy(sizePolicy)
- self.openGLWidget.setMouseTracking(False)
- self.openGLWidget.setObjectName("openGLWidget")
- self.gridLayout_4.addWidget(self.openGLWidget, 0, 0, 1, 1)
- self.tabWidget.addTab(self.tab, "")
- self.tab_3 = QtWidgets.QWidget()
- self.tab_3.setObjectName("tab_3")
- self.gridLayout_3 = QtWidgets.QGridLayout(self.tab_3)
- self.gridLayout_3.setObjectName("gridLayout_3")
- self.openGLWidgetQuad = QtWidgets.QOpenGLWidget(self.tab_3)
- self.openGLWidgetQuad.setObjectName("openGLWidgetQuad")
- self.gridLayout_3.addWidget(self.openGLWidgetQuad, 0, 0, 1, 1)
- self.tabWidget.addTab(self.tab_3, "")
- self.tab_2 = QtWidgets.QWidget()
- self.tab_2.setObjectName("tab_2")
- self.gridLayout_10 = QtWidgets.QGridLayout(self.tab_2)
- self.gridLayout_10.setObjectName("gridLayout_10")
- self.tableWidget = QtWidgets.QTableWidget(self.tab_2)
- self.tableWidget.setObjectName("tableWidget")
- self.tableWidget.setColumnCount(0)
- self.tableWidget.setRowCount(0)
- self.gridLayout_10.addWidget(self.tableWidget, 0, 0, 1, 1)
- self.tabWidget.addTab(self.tab_2, "")
- self.gridLayout_2.addWidget(self.tabWidget, 0, 0, 1, 1)
- MainWindow.setCentralWidget(self.centralwidget)
- self.menubar = QtWidgets.QMenuBar(MainWindow)
- self.menubar.setGeometry(QtCore.QRect(0, 0, 1083, 26))
- self.menubar.setObjectName("menubar")
- self.menuFile = QtWidgets.QMenu(self.menubar)
- self.menuFile.setObjectName("menuFile")
- self.menuCamera_Settings = QtWidgets.QMenu(self.menubar)
- self.menuCamera_Settings.setObjectName("menuCamera_Settings")
- self.menuBoard_select = QtWidgets.QMenu(self.menubar)
- self.menuBoard_select.setObjectName("menuBoard_select")
- MainWindow.setMenuBar(self.menubar)
- self.statusbar = QtWidgets.QStatusBar(MainWindow)
- self.statusbar.setObjectName("statusbar")
- MainWindow.setStatusBar(self.statusbar)
- self.actionClose = QtWidgets.QAction(MainWindow)
- self.actionClose.setObjectName("actionClose")
- self.actionFollow = QtWidgets.QAction(MainWindow)
- self.actionFollow.setCheckable(True)
- self.actionFollow.setChecked(True)
- self.actionFollow.setObjectName("actionFollow")
- self.actionReset = QtWidgets.QAction(MainWindow)
- self.actionReset.setObjectName("actionReset")
- self.actionSave = QtWidgets.QAction(MainWindow)
- self.actionSave.setObjectName("actionSave")
- self.actionSettings = QtWidgets.QAction(MainWindow)
- self.actionSettings.setObjectName("actionSettings")
- self.actionMaster = QtWidgets.QAction(MainWindow)
- self.actionMaster.setObjectName("actionMaster")
- self.actionSlave = QtWidgets.QAction(MainWindow)
- self.actionSlave.setObjectName("actionSlave")
- self.actionFusion = QtWidgets.QAction(MainWindow)
- self.actionFusion.setObjectName("actionFusion")
- self.menuFile.addAction(self.actionSave)
- self.menuFile.addAction(self.actionSettings)
- self.menuFile.addAction(self.actionClose)
- self.menuCamera_Settings.addAction(self.actionFollow)
- self.menuBoard_select.addAction(self.actionMaster)
- self.menuBoard_select.addAction(self.actionSlave)
- self.menuBoard_select.addAction(self.actionFusion)
- self.menubar.addAction(self.menuFile.menuAction())
- self.menubar.addAction(self.menuCamera_Settings.menuAction())
- self.menubar.addAction(self.menuBoard_select.menuAction())
- self.retranslateUi(MainWindow)
- self.tabWidget.setCurrentIndex(2)
- QtCore.QMetaObject.connectSlotsByName(MainWindow)
- def retranslateUi(self, MainWindow):
- _translate = QtCore.QCoreApplication.translate
- MainWindow.setWindowTitle(_translate("MainWindow", "BEXUS"))
- self.groupBox.setTitle(_translate("MainWindow", "Stats"))
- self.label_6.setText(_translate("MainWindow", "Latency:"))
- self.labelLink.setText(_translate("MainWindow", "Offline"))
- self.label_2.setText(_translate("MainWindow", "Link:"))
- self.labelLink_Slave.setText(_translate("MainWindow", "0/s"))
- self.label_25.setText(_translate("MainWindow", "MCU Slave:"))
- self.label.setText(_translate("MainWindow", "Address:"))
- self.labelLink_Master.setText(_translate("MainWindow", "0/s"))
- self.labelLatency.setText(_translate("MainWindow", "20ms"))
- self.label_3.setText(_translate("MainWindow", "MCU Master:"))
- self.labelAddress.setText(_translate("MainWindow", "192.168.0.8:1234"))
- self.groupBox_6.setTitle(_translate("MainWindow", "Position"))
- self.label_alt_1.setText(_translate("MainWindow", "-"))
- self.label_21.setText(_translate("MainWindow", "Altitude:"))
- self.label_29.setText(_translate("MainWindow", "Longitude"))
- self.label_lon_1.setText(_translate("MainWindow", "-"))
- self.label_lat_1.setText(_translate("MainWindow", "-"))
- self.label_27.setText(_translate("MainWindow", "Latitude"))
- self.groupBox_5.setTitle(_translate("MainWindow", "Pressure"))
- self.label_9.setText(_translate("MainWindow", "Cis"))
- self.label_20.setText(_translate("MainWindow", "SPI"))
- self.label_pres_cis_1.setText(_translate("MainWindow", "-"))
- self.label_pres_i2c_1.setText(_translate("MainWindow", "-"))
- self.groupBox_4.setTitle(_translate("MainWindow", "IMU-Raw"))
- self.label_GyX.setText(_translate("MainWindow", "0"))
- self.label_AcX.setText(_translate("MainWindow", "0"))
- self.label_16.setText(_translate("MainWindow", "GyY:"))
- self.label_GyY.setText(_translate("MainWindow", "0"))
- self.label_15.setText(_translate("MainWindow", "GyX:"))
- self.label_5.setText(_translate("MainWindow", "AcX:"))
- self.label_AcY.setText(_translate("MainWindow", "0"))
- self.label_11.setText(_translate("MainWindow", "AcY:"))
- self.label_GyZ.setText(_translate("MainWindow", "0"))
- self.label_AcZ.setText(_translate("MainWindow", "0"))
- self.label_17.setText(_translate("MainWindow", "GyZ:"))
- self.label_13.setText(_translate("MainWindow", "AcZ:"))
- self.label_8.setText(_translate("MainWindow", "MaX:"))
- self.label_MaX.setText(_translate("MainWindow", "0"))
- self.label_12.setText(_translate("MainWindow", "MaY:"))
- self.label_MaY.setText(_translate("MainWindow", "0"))
- self.label_18.setText(_translate("MainWindow", "MaZ:"))
- self.label_MaZ.setText(_translate("MainWindow", "0"))
- self.groupBox_8.setTitle(_translate("MainWindow", "IMU-Fusion"))
- self.label_30.setText(_translate("MainWindow", "PosX:"))
- self.label_PosX.setText(_translate("MainWindow", "0"))
- self.label_34.setText(_translate("MainWindow", "PosY:"))
- self.label_GaZ.setText(_translate("MainWindow", "0"))
- self.label_19.setText(_translate("MainWindow", "RotY:"))
- self.label_23.setText(_translate("MainWindow", "RotX:"))
- self.label_RotZ.setText(_translate("MainWindow", "0"))
- self.label_28.setText(_translate("MainWindow", "AcZ:"))
- self.label_GaX.setText(_translate("MainWindow", "0"))
- self.label_26.setText(_translate("MainWindow", "RotZ:"))
- self.label_7.setText(_translate("MainWindow", "AcX:"))
- self.label_RotY.setText(_translate("MainWindow", "0"))
- self.label_GaY.setText(_translate("MainWindow", "0"))
- self.label_RotX.setText(_translate("MainWindow", "0"))
- self.label_14.setText(_translate("MainWindow", "AcY:"))
- self.label_36.setText(_translate("MainWindow", "PosZ:"))
- self.label_PosY.setText(_translate("MainWindow", "0"))
- self.label_PosZ.setText(_translate("MainWindow", "0"))
- self.groupBox_2.setTitle(_translate("MainWindow", "Temperature"))
- self.label_temp_adc_1.setText(_translate("MainWindow", "-"))
- self.label_4.setText(_translate("MainWindow", "Viehmann"))
- self.label_temp_mpu_1.setText(_translate("MainWindow", "-"))
- self.label_temp_cis_1.setText(_translate("MainWindow", "-"))
- self.label_24.setText(_translate("MainWindow", "MPU"))
- self.label_22.setText(_translate("MainWindow", "Cis"))
- self.label_37.setText(_translate("MainWindow", "Mag"))
- self.label_temp_mag_1.setText(_translate("MainWindow", "-"))
- self.label_temp_i2c.setText(_translate("MainWindow", "20.00 °C"))
- self.label_33.setText(_translate("MainWindow", "I2C"))
- self.label_38.setText(_translate("MainWindow", "µC"))
- self.label_temp_mp.setText(_translate("MainWindow", "20.00 °C"))
- self.groupBox_7.setTitle(_translate("MainWindow", "GPS"))
- self.label_35.setText(_translate("MainWindow", "Hdop"))
- self.label_hdop_1.setText(_translate("MainWindow", "0"))
- self.label_31.setText(_translate("MainWindow", "Time"))
- self.label_time_1.setText(_translate("MainWindow", "12:00"))
- self.groupBox_9.setTitle(_translate("MainWindow", "Power"))
- self.label_10.setText(_translate("MainWindow", "Voltage"))
- self.label_current.setText(_translate("MainWindow", "0.00 A"))
- self.label_voltage.setText(_translate("MainWindow", "0.00 V"))
- self.label_32.setText(_translate("MainWindow", "Current"))
- self.pushButton_reset.setText(_translate("MainWindow", "Restart"))
- self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("MainWindow", "3D View"))
- self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_3), _translate("MainWindow", "Orthogonal View"))
- self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), _translate("MainWindow", "Raw data"))
- self.menuFile.setTitle(_translate("MainWindow", "File"))
- self.menuCamera_Settings.setTitle(_translate("MainWindow", "Camera Settings"))
- self.menuBoard_select.setTitle(_translate("MainWindow", "Board select"))
- self.actionClose.setText(_translate("MainWindow", "Close"))
- self.actionFollow.setText(_translate("MainWindow", "Follow"))
- self.actionReset.setText(_translate("MainWindow", "Reset"))
- self.actionSave.setText(_translate("MainWindow", "Save"))
- self.actionSettings.setText(_translate("MainWindow", "Settings"))
- self.actionMaster.setText(_translate("MainWindow", "Master"))
- self.actionSlave.setText(_translate("MainWindow", "Slave"))
- self.actionFusion.setText(_translate("MainWindow", "Fusion"))
|