# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'brickv/plugin_system/plugins/compass/ui/calibration.ui'
#
# Created by: PyQt5 UI code generator 5.15.6
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again.  Do not edit this file unless you know what you are doing.


from PyQt5 import QtCore, QtGui, QtWidgets


class Ui_Calibration(object):
    def setupUi(self, Calibration):
        Calibration.setObjectName("Calibration")
        Calibration.resize(463, 471)
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(Calibration)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.gridLayout = QtWidgets.QGridLayout()
        self.gridLayout.setObjectName("gridLayout")
        self.label_2 = QtWidgets.QLabel(Calibration)
        self.label_2.setObjectName("label_2")
        self.gridLayout.addWidget(self.label_2, 2, 0, 1, 1)
        self.label_x_cur = QtWidgets.QLabel(Calibration)
        self.label_x_cur.setObjectName("label_x_cur")
        self.gridLayout.addWidget(self.label_x_cur, 1, 1, 1, 1)
        self.label_y_cur = QtWidgets.QLabel(Calibration)
        self.label_y_cur.setObjectName("label_y_cur")
        self.gridLayout.addWidget(self.label_y_cur, 2, 1, 1, 1)
        self.label_3 = QtWidgets.QLabel(Calibration)
        self.label_3.setObjectName("label_3")
        self.gridLayout.addWidget(self.label_3, 3, 0, 1, 1)
        self.label_z_cur = QtWidgets.QLabel(Calibration)
        self.label_z_cur.setObjectName("label_z_cur")
        self.gridLayout.addWidget(self.label_z_cur, 3, 1, 1, 1)
        self.label = QtWidgets.QLabel(Calibration)
        self.label.setObjectName("label")
        self.gridLayout.addWidget(self.label, 1, 0, 1, 1)
        self.label_6 = QtWidgets.QLabel(Calibration)
        self.label_6.setObjectName("label_6")
        self.gridLayout.addWidget(self.label_6, 0, 1, 1, 1)
        self.label_7 = QtWidgets.QLabel(Calibration)
        self.label_7.setObjectName("label_7")
        self.gridLayout.addWidget(self.label_7, 0, 2, 1, 1)
        self.label_8 = QtWidgets.QLabel(Calibration)
        self.label_8.setObjectName("label_8")
        self.gridLayout.addWidget(self.label_8, 0, 3, 1, 1)
        self.label_4 = QtWidgets.QLabel(Calibration)
        self.label_4.setTextFormat(QtCore.Qt.RichText)
        self.label_4.setWordWrap(True)
        self.label_4.setObjectName("label_4")
        self.gridLayout.addWidget(self.label_4, 5, 0, 1, 4)
        self.button_calibration_remove = QtWidgets.QPushButton(Calibration)
        self.button_calibration_remove.setObjectName("button_calibration_remove")
        self.gridLayout.addWidget(self.button_calibration_remove, 6, 0, 1, 4)
        self.label_5 = QtWidgets.QLabel(Calibration)
        self.label_5.setTextFormat(QtCore.Qt.RichText)
        self.label_5.setWordWrap(True)
        self.label_5.setObjectName("label_5")
        self.gridLayout.addWidget(self.label_5, 8, 0, 1, 4)
        self.button_calibration_save = QtWidgets.QPushButton(Calibration)
        self.button_calibration_save.setObjectName("button_calibration_save")
        self.gridLayout.addWidget(self.button_calibration_save, 9, 0, 1, 4)
        self.line = QtWidgets.QFrame(Calibration)
        self.line.setFrameShape(QtWidgets.QFrame.HLine)
        self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line.setObjectName("line")
        self.gridLayout.addWidget(self.line, 4, 0, 1, 4)
        self.label_x_min = QtWidgets.QLabel(Calibration)
        self.label_x_min.setObjectName("label_x_min")
        self.gridLayout.addWidget(self.label_x_min, 1, 2, 1, 1)
        self.label_y_min = QtWidgets.QLabel(Calibration)
        self.label_y_min.setObjectName("label_y_min")
        self.gridLayout.addWidget(self.label_y_min, 2, 2, 1, 1)
        self.label_z_min = QtWidgets.QLabel(Calibration)
        self.label_z_min.setObjectName("label_z_min")
        self.gridLayout.addWidget(self.label_z_min, 3, 2, 1, 1)
        self.label_x_max = QtWidgets.QLabel(Calibration)
        self.label_x_max.setObjectName("label_x_max")
        self.gridLayout.addWidget(self.label_x_max, 1, 3, 1, 1)
        self.label_y_max = QtWidgets.QLabel(Calibration)
        self.label_y_max.setObjectName("label_y_max")
        self.gridLayout.addWidget(self.label_y_max, 2, 3, 1, 1)
        self.label_z_max = QtWidgets.QLabel(Calibration)
        self.label_z_max.setObjectName("label_z_max")
        self.gridLayout.addWidget(self.label_z_max, 3, 3, 1, 1)
        self.line_3 = QtWidgets.QFrame(Calibration)
        self.line_3.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_3.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_3.setObjectName("line_3")
        self.gridLayout.addWidget(self.line_3, 7, 0, 1, 4)
        self.line_4 = QtWidgets.QFrame(Calibration)
        self.line_4.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_4.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_4.setObjectName("line_4")
        self.gridLayout.addWidget(self.line_4, 10, 0, 1, 4)
        self.button_close = QtWidgets.QPushButton(Calibration)
        self.button_close.setObjectName("button_close")
        self.gridLayout.addWidget(self.button_close, 12, 0, 1, 4)
        spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 11, 0, 1, 1)
        self.verticalLayout_2.addLayout(self.gridLayout)

        self.retranslateUi(Calibration)
        QtCore.QMetaObject.connectSlotsByName(Calibration)

    def retranslateUi(self, Calibration):
        _translate = QtCore.QCoreApplication.translate
        Calibration.setWindowTitle(_translate("Calibration", "Compass Calibration"))
        self.label_2.setText(_translate("Calibration", "Magnetic Flux Density Y:"))
        self.label_x_cur.setText(_translate("Calibration", "TBD"))
        self.label_y_cur.setText(_translate("Calibration", "TBD"))
        self.label_3.setText(_translate("Calibration", "Magnetic Flux Density Z:"))
        self.label_z_cur.setText(_translate("Calibration", "TBD"))
        self.label.setText(_translate("Calibration", "Magnetic Flux Density X"))
        self.label_6.setText(_translate("Calibration", "Current"))
        self.label_7.setText(_translate("Calibration", "Min"))
        self.label_8.setText(_translate("Calibration", "Max"))
        self.label_4.setText(_translate("Calibration", "<html><head/><body><p><span style=\" font-weight:600;\">Step 1:</span> Remove Old Calibration<br/><br/>To recalibrate the Bricklet you first have to remove the old calibration.</p></body></html>"))
        self.button_calibration_remove.setText(_translate("Calibration", "Remove Old Calibration"))
        self.label_5.setText(_translate("Calibration", "<html><head/><body><p><span style=\" font-weight:600;\">Step 2:</span> Calibration<br/><br/>Move Compass Bricklet into every possible position, until the min/max values don\'t change anymore. Make sure that there are no magnetic sources in the vicinity of the Bricklet during the calibration.</p></body></html>"))
        self.button_calibration_save.setText(_translate("Calibration", "Save Calibration"))
        self.label_x_min.setText(_translate("Calibration", "TBD"))
        self.label_y_min.setText(_translate("Calibration", "TBD"))
        self.label_z_min.setText(_translate("Calibration", "TBD"))
        self.label_x_max.setText(_translate("Calibration", "TBD"))
        self.label_y_max.setText(_translate("Calibration", "TBD"))
        self.label_z_max.setText(_translate("Calibration", "TBD"))
        self.button_close.setText(_translate("Calibration", "Close"))
