# Form implementation generated from reading ui file 'odmr_peaks.ui'
#
# Created by: PyQt6 UI code generator 6.4.2
#
# WARNING: Any manual changes made to this file will be lost when pyuic6 is
# run again.  Do not edit this file unless you know what you are doing.


from PyQt6 import QtCore, QtGui, QtWidgets


class Ui_ODMRPeaks(object):
    def setupUi(self, ODMRPeaks):
        ODMRPeaks.setObjectName("ODMRPeaks")
        ODMRPeaks.resize(1503, 277)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(ODMRPeaks.sizePolicy().hasHeightForWidth())
        ODMRPeaks.setSizePolicy(sizePolicy)
        ODMRPeaks.setMinimumSize(QtCore.QSize(0, 0))
        self.verticalLayout = QtWidgets.QVBoxLayout(ODMRPeaks)
        self.verticalLayout.setObjectName("verticalLayout")
        self.gridLayout_4 = QtWidgets.QGridLayout()
        self.gridLayout_4.setObjectName("gridLayout_4")
        self.label_14 = QtWidgets.QLabel(parent=ODMRPeaks)
        self.label_14.setObjectName("label_14")
        self.gridLayout_4.addWidget(self.label_14, 0, 0, 1, 1)
        self.E110Button = QtWidgets.QPushButton(parent=ODMRPeaks)
        self.E110Button.setObjectName("E110Button")
        self.gridLayout_4.addWidget(self.E110Button, 3, 8, 1, 1)
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
        self.gridLayout_4.addItem(spacerItem, 1, 5, 1, 1)
        self.BphiBox = QtWidgets.QDoubleSpinBox(parent=ODMRPeaks)
        self.BphiBox.setDecimals(3)
        self.BphiBox.setMinimum(-999999999.0)
        self.BphiBox.setMaximum(999999999.0)
        self.BphiBox.setSingleStep(1.0)
        self.BphiBox.setProperty("value", 45.0)
        self.BphiBox.setObjectName("BphiBox")
        self.gridLayout_4.addWidget(self.BphiBox, 1, 3, 1, 1)
        self.B110Button = QtWidgets.QPushButton(parent=ODMRPeaks)
        self.B110Button.setObjectName("B110Button")
        self.gridLayout_4.addWidget(self.B110Button, 1, 8, 1, 1)
        self.label_10 = QtWidgets.QLabel(parent=ODMRPeaks)
        self.label_10.setObjectName("label_10")
        self.gridLayout_4.addWidget(self.label_10, 1, 0, 1, 1)
        self.label_16 = QtWidgets.QLabel(parent=ODMRPeaks)
        self.label_16.setObjectName("label_16")
        self.gridLayout_4.addWidget(self.label_16, 3, 0, 1, 1)
        self.EthetaBox = QtWidgets.QDoubleSpinBox(parent=ODMRPeaks)
        self.EthetaBox.setDecimals(3)
        self.EthetaBox.setMinimum(-999999999.0)
        self.EthetaBox.setMaximum(999999999.0)
        self.EthetaBox.setSingleStep(1.0)
        self.EthetaBox.setProperty("value", 54.7)
        self.EthetaBox.setObjectName("EthetaBox")
        self.gridLayout_4.addWidget(self.EthetaBox, 3, 2, 1, 1)
        self.E100Button = QtWidgets.QPushButton(parent=ODMRPeaks)
        self.E100Button.setObjectName("E100Button")
        self.gridLayout_4.addWidget(self.E100Button, 3, 6, 1, 1)
        self.EangleLabel = QtWidgets.QLabel(parent=ODMRPeaks)
        self.EangleLabel.setObjectName("EangleLabel")
        self.gridLayout_4.addWidget(self.EangleLabel, 3, 4, 1, 1)
        self.BthetaBox = QtWidgets.QDoubleSpinBox(parent=ODMRPeaks)
        self.BthetaBox.setDecimals(3)
        self.BthetaBox.setMinimum(-999999999.0)
        self.BthetaBox.setMaximum(999999999.0)
        self.BthetaBox.setSingleStep(1.0)
        self.BthetaBox.setProperty("value", 54.7)
        self.BthetaBox.setObjectName("BthetaBox")
        self.gridLayout_4.addWidget(self.BthetaBox, 1, 2, 1, 1)
        self.sub100Button = QtWidgets.QRadioButton(parent=ODMRPeaks)
        self.sub100Button.setObjectName("sub100Button")
        self.gridLayout_4.addWidget(self.sub100Button, 0, 1, 1, 1)
        self.B111Button = QtWidgets.QPushButton(parent=ODMRPeaks)
        self.B111Button.setObjectName("B111Button")
        self.gridLayout_4.addWidget(self.B111Button, 1, 7, 1, 1)
        self.E111Button = QtWidgets.QPushButton(parent=ODMRPeaks)
        self.E111Button.setObjectName("E111Button")
        self.gridLayout_4.addWidget(self.E111Button, 3, 7, 1, 1)
        self.EfieldBox = QtWidgets.QDoubleSpinBox(parent=ODMRPeaks)
        self.EfieldBox.setDecimals(3)
        self.EfieldBox.setMinimum(-999999999.0)
        self.EfieldBox.setMaximum(999999999.0)
        self.EfieldBox.setSingleStep(1.0)
        self.EfieldBox.setObjectName("EfieldBox")
        self.gridLayout_4.addWidget(self.EfieldBox, 3, 1, 1, 1)
        self.sub111Button = QtWidgets.QRadioButton(parent=ODMRPeaks)
        self.sub111Button.setObjectName("sub111Button")
        self.gridLayout_4.addWidget(self.sub111Button, 0, 2, 1, 1)
        self.BfieldBox = QtWidgets.QDoubleSpinBox(parent=ODMRPeaks)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.BfieldBox.sizePolicy().hasHeightForWidth())
        self.BfieldBox.setSizePolicy(sizePolicy)
        self.BfieldBox.setDecimals(3)
        self.BfieldBox.setMinimum(-999999999.0)
        self.BfieldBox.setMaximum(999999999.0)
        self.BfieldBox.setSingleStep(1.0)
        self.BfieldBox.setProperty("value", 3.0)
        self.BfieldBox.setObjectName("BfieldBox")
        self.gridLayout_4.addWidget(self.BfieldBox, 1, 1, 1, 1)
        self.BangleLabel = QtWidgets.QLabel(parent=ODMRPeaks)
        self.BangleLabel.setObjectName("BangleLabel")
        self.gridLayout_4.addWidget(self.BangleLabel, 1, 4, 1, 1)
        self.EphiBox = QtWidgets.QDoubleSpinBox(parent=ODMRPeaks)
        self.EphiBox.setDecimals(3)
        self.EphiBox.setMinimum(-999999999.0)
        self.EphiBox.setMaximum(999999999.0)
        self.EphiBox.setSingleStep(1.0)
        self.EphiBox.setProperty("value", 45.0)
        self.EphiBox.setObjectName("EphiBox")
        self.gridLayout_4.addWidget(self.EphiBox, 3, 3, 1, 1)
        self.BfieldLabel = QtWidgets.QLabel(parent=ODMRPeaks)
        self.BfieldLabel.setObjectName("BfieldLabel")
        self.gridLayout_4.addWidget(self.BfieldLabel, 2, 1, 1, 3)
        self.B100Button = QtWidgets.QPushButton(parent=ODMRPeaks)
        self.B100Button.setObjectName("B100Button")
        self.gridLayout_4.addWidget(self.B100Button, 1, 6, 1, 1)
        self.verticalLayout.addLayout(self.gridLayout_4)
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.label_15 = QtWidgets.QLabel(parent=ODMRPeaks)
        self.label_15.setAlignment(QtCore.Qt.AlignmentFlag.AlignRight|QtCore.Qt.AlignmentFlag.AlignTrailing|QtCore.Qt.AlignmentFlag.AlignVCenter)
        self.label_15.setObjectName("label_15")
        self.horizontalLayout_4.addWidget(self.label_15)
        self.stepBox = QtWidgets.QDoubleSpinBox(parent=ODMRPeaks)
        self.stepBox.setMaximum(999999999.0)
        self.stepBox.setSingleStep(0.1)
        self.stepBox.setProperty("value", 1.0)
        self.stepBox.setObjectName("stepBox")
        self.horizontalLayout_4.addWidget(self.stepBox)
        self.line_2 = QtWidgets.QFrame(parent=ODMRPeaks)
        self.line_2.setFrameShape(QtWidgets.QFrame.Shape.VLine)
        self.line_2.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken)
        self.line_2.setObjectName("line_2")
        self.horizontalLayout_4.addWidget(self.line_2)
        self.DgsBox = QtWidgets.QDoubleSpinBox(parent=ODMRPeaks)
        self.DgsBox.setDecimals(2)
        self.DgsBox.setMinimum(-999999999.0)
        self.DgsBox.setMaximum(999999999.0)
        self.DgsBox.setProperty("value", 2870.0)
        self.DgsBox.setObjectName("DgsBox")
        self.horizontalLayout_4.addWidget(self.DgsBox)
        self.DesBox = QtWidgets.QDoubleSpinBox(parent=ODMRPeaks)
        self.DesBox.setMinimum(-999999999.0)
        self.DesBox.setMaximum(999999999.0)
        self.DesBox.setProperty("value", 1420.0)
        self.DesBox.setObjectName("DesBox")
        self.horizontalLayout_4.addWidget(self.DesBox)
        self.gammaBox = QtWidgets.QDoubleSpinBox(parent=ODMRPeaks)
        self.gammaBox.setDecimals(6)
        self.gammaBox.setMinimum(-999999999.0)
        self.gammaBox.setMaximum(999999999.0)
        self.gammaBox.setProperty("value", 28.024953)
        self.gammaBox.setObjectName("gammaBox")
        self.horizontalLayout_4.addWidget(self.gammaBox)
        self.kperpBox = QtWidgets.QDoubleSpinBox(parent=ODMRPeaks)
        self.kperpBox.setDecimals(3)
        self.kperpBox.setMinimum(-999999999.0)
        self.kperpBox.setMaximum(999999999.0)
        self.kperpBox.setProperty("value", 170.0)
        self.kperpBox.setObjectName("kperpBox")
        self.horizontalLayout_4.addWidget(self.kperpBox)
        self.verticalLayout.addLayout(self.horizontalLayout_4)
        self.gridLayout_2 = QtWidgets.QGridLayout()
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.label_13 = QtWidgets.QLabel(parent=ODMRPeaks)
        self.label_13.setObjectName("label_13")
        self.gridLayout_2.addWidget(self.label_13, 2, 0, 1, 1)
        self.showgsBox = QtWidgets.QCheckBox(parent=ODMRPeaks)
        self.showgsBox.setObjectName("showgsBox")
        self.gridLayout_2.addWidget(self.showgsBox, 1, 1, 1, 1)
        self.esEdit = QtWidgets.QLineEdit(parent=ODMRPeaks)
        self.esEdit.setReadOnly(True)
        self.esEdit.setObjectName("esEdit")
        self.gridLayout_2.addWidget(self.esEdit, 2, 2, 1, 1)
        self.label_12 = QtWidgets.QLabel(parent=ODMRPeaks)
        self.label_12.setObjectName("label_12")
        self.gridLayout_2.addWidget(self.label_12, 1, 0, 1, 1)
        self.gsEdit = QtWidgets.QLineEdit(parent=ODMRPeaks)
        self.gsEdit.setReadOnly(True)
        self.gsEdit.setObjectName("gsEdit")
        self.gridLayout_2.addWidget(self.gsEdit, 1, 2, 1, 1)
        self.showesBox = QtWidgets.QCheckBox(parent=ODMRPeaks)
        self.showesBox.setObjectName("showesBox")
        self.gridLayout_2.addWidget(self.showesBox, 2, 1, 1, 1)
        self.verticalLayout.addLayout(self.gridLayout_2)
        spacerItem1 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding)
        self.verticalLayout.addItem(spacerItem1)

        self.retranslateUi(ODMRPeaks)
        QtCore.QMetaObject.connectSlotsByName(ODMRPeaks)
        ODMRPeaks.setTabOrder(self.sub100Button, self.sub111Button)
        ODMRPeaks.setTabOrder(self.sub111Button, self.BfieldBox)
        ODMRPeaks.setTabOrder(self.BfieldBox, self.BthetaBox)
        ODMRPeaks.setTabOrder(self.BthetaBox, self.BphiBox)
        ODMRPeaks.setTabOrder(self.BphiBox, self.B100Button)
        ODMRPeaks.setTabOrder(self.B100Button, self.B111Button)
        ODMRPeaks.setTabOrder(self.B111Button, self.B110Button)
        ODMRPeaks.setTabOrder(self.B110Button, self.EfieldBox)
        ODMRPeaks.setTabOrder(self.EfieldBox, self.EthetaBox)
        ODMRPeaks.setTabOrder(self.EthetaBox, self.EphiBox)
        ODMRPeaks.setTabOrder(self.EphiBox, self.E100Button)
        ODMRPeaks.setTabOrder(self.E100Button, self.E111Button)
        ODMRPeaks.setTabOrder(self.E111Button, self.E110Button)
        ODMRPeaks.setTabOrder(self.E110Button, self.stepBox)
        ODMRPeaks.setTabOrder(self.stepBox, self.DgsBox)
        ODMRPeaks.setTabOrder(self.DgsBox, self.DesBox)
        ODMRPeaks.setTabOrder(self.DesBox, self.gammaBox)
        ODMRPeaks.setTabOrder(self.gammaBox, self.kperpBox)
        ODMRPeaks.setTabOrder(self.kperpBox, self.showgsBox)
        ODMRPeaks.setTabOrder(self.showgsBox, self.gsEdit)
        ODMRPeaks.setTabOrder(self.gsEdit, self.showesBox)
        ODMRPeaks.setTabOrder(self.showesBox, self.esEdit)

    def retranslateUi(self, ODMRPeaks):
        _translate = QtCore.QCoreApplication.translate
        ODMRPeaks.setWindowTitle(_translate("ODMRPeaks", "Form"))
        self.label_14.setText(_translate("ODMRPeaks", "Substrate"))
        self.E110Button.setText(_translate("ODMRPeaks", "(110)"))
        self.BphiBox.setPrefix(_translate("ODMRPeaks", "phi: "))
        self.BphiBox.setSuffix(_translate("ODMRPeaks", "°"))
        self.B110Button.setText(_translate("ODMRPeaks", "(110)"))
        self.label_10.setText(_translate("ODMRPeaks", "Magnetic field:"))
        self.label_16.setText(_translate("ODMRPeaks", "Electric field:"))
        self.EthetaBox.setPrefix(_translate("ODMRPeaks", "theta: "))
        self.EthetaBox.setSuffix(_translate("ODMRPeaks", "°"))
        self.E100Button.setText(_translate("ODMRPeaks", "(100)"))
        self.EangleLabel.setText(_translate("ODMRPeaks", "angle to <111>: deg"))
        self.BthetaBox.setPrefix(_translate("ODMRPeaks", "theta: "))
        self.BthetaBox.setSuffix(_translate("ODMRPeaks", "°"))
        self.sub100Button.setText(_translate("ODMRPeaks", "(100)"))
        self.B111Button.setText(_translate("ODMRPeaks", "(111)"))
        self.E111Button.setText(_translate("ODMRPeaks", "(111)"))
        self.EfieldBox.setPrefix(_translate("ODMRPeaks", "E: "))
        self.EfieldBox.setSuffix(_translate("ODMRPeaks", " V/um"))
        self.sub111Button.setText(_translate("ODMRPeaks", "(111)"))
        self.BfieldBox.setPrefix(_translate("ODMRPeaks", "B: "))
        self.BfieldBox.setSuffix(_translate("ODMRPeaks", " mT"))
        self.BangleLabel.setText(_translate("ODMRPeaks", "angle to <111>: deg"))
        self.EphiBox.setPrefix(_translate("ODMRPeaks", "phi: "))
        self.EphiBox.setSuffix(_translate("ODMRPeaks", "°"))
        self.BfieldLabel.setText(_translate("ODMRPeaks", "B//: mT, B⊥: mT"))
        self.B100Button.setText(_translate("ODMRPeaks", "(100)"))
        self.label_15.setText(_translate("ODMRPeaks", "parameters"))
        self.stepBox.setPrefix(_translate("ODMRPeaks", "var. step: "))
        self.DgsBox.setPrefix(_translate("ODMRPeaks", "D_gs: "))
        self.DgsBox.setSuffix(_translate("ODMRPeaks", "MHz"))
        self.DesBox.setPrefix(_translate("ODMRPeaks", "D_es: "))
        self.DesBox.setSuffix(_translate("ODMRPeaks", " MHz"))
        self.gammaBox.setPrefix(_translate("ODMRPeaks", "gamma: "))
        self.gammaBox.setSuffix(_translate("ODMRPeaks", " MHz/mT"))
        self.kperpBox.setPrefix(_translate("ODMRPeaks", "k_⊥: "))
        self.kperpBox.setSuffix(_translate("ODMRPeaks", " kHz um/V"))
        self.label_13.setText(_translate("ODMRPeaks", "Peaks (ES): "))
        self.showgsBox.setText(_translate("ODMRPeaks", "show"))
        self.label_12.setText(_translate("ODMRPeaks", "Peaks (GS): "))
        self.showesBox.setText(_translate("ODMRPeaks", "show"))
