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

# Form implementation generated from reading ui file 'gui.ui'
#
# Created by: PyQt5 UI code generator 5.15.4
#
# 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_UXDConverter(object):
    def setupUi(self, UXDConverter):
        UXDConverter.setObjectName("UXDConverter")
        UXDConverter.resize(700, 600)
        UXDConverter.setMinimumSize(QtCore.QSize(700, 600))
        self.centralwidget = QtWidgets.QWidget(UXDConverter)
        self.centralwidget.setMinimumSize(QtCore.QSize(640, 500))
        self.centralwidget.setObjectName("centralwidget")
        self.gridLayout_2 = QtWidgets.QGridLayout(self.centralwidget)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout()
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.gridLayout = QtWidgets.QGridLayout()
        self.gridLayout.setObjectName("gridLayout")
        self.verticalLayout_2.addLayout(self.gridLayout)
        self.tabWidget = QtWidgets.QTabWidget(self.centralwidget)
        self.tabWidget.setEnabled(True)
        self.tabWidget.setTabPosition(QtWidgets.QTabWidget.North)
        self.tabWidget.setTabShape(QtWidgets.QTabWidget.Rounded)
        self.tabWidget.setObjectName("tabWidget")
        self.tab_file = QtWidgets.QWidget()
        self.tab_file.setObjectName("tab_file")
        self.gridLayout_9 = QtWidgets.QGridLayout(self.tab_file)
        self.gridLayout_9.setObjectName("gridLayout_9")
        self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.label_2 = QtWidgets.QLabel(self.tab_file)
        self.label_2.setObjectName("label_2")
        self.horizontalLayout_5.addWidget(self.label_2)
        self.lineEdit_output = QtWidgets.QLineEdit(self.tab_file)
        self.lineEdit_output.setObjectName("lineEdit_output")
        self.horizontalLayout_5.addWidget(self.lineEdit_output)
        self.pushButton_output = QtWidgets.QPushButton(self.tab_file)
        self.pushButton_output.setObjectName("pushButton_output")
        self.horizontalLayout_5.addWidget(self.pushButton_output)
        self.gridLayout_9.addLayout(self.horizontalLayout_5, 7, 0, 1, 1)
        self.horizontalLayout_6 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_6.setObjectName("horizontalLayout_6")
        self.label = QtWidgets.QLabel(self.tab_file)
        self.label.setObjectName("label")
        self.horizontalLayout_6.addWidget(self.label)
        self.lineEdit_input = QtWidgets.QLineEdit(self.tab_file)
        self.lineEdit_input.setDragEnabled(False)
        self.lineEdit_input.setObjectName("lineEdit_input")
        self.horizontalLayout_6.addWidget(self.lineEdit_input)
        self.pushButton_input = QtWidgets.QPushButton(self.tab_file)
        self.pushButton_input.setCheckable(False)
        self.pushButton_input.setFlat(False)
        self.pushButton_input.setObjectName("pushButton_input")
        self.horizontalLayout_6.addWidget(self.pushButton_input)
        self.pushButton_addfile = QtWidgets.QPushButton(self.tab_file)
        self.pushButton_addfile.setObjectName("pushButton_addfile")
        self.horizontalLayout_6.addWidget(self.pushButton_addfile)
        self.gridLayout_9.addLayout(self.horizontalLayout_6, 0, 0, 1, 1)
        self.gridLayout_8 = QtWidgets.QGridLayout()
        self.gridLayout_8.setObjectName("gridLayout_8")
        self.treeWidget_file = QtWidgets.QTreeWidget(self.tab_file)
        self.treeWidget_file.setSelectionMode(QtWidgets.QAbstractItemView.ExtendedSelection)
        self.treeWidget_file.setObjectName("treeWidget_file")
        self.treeWidget_file.headerItem().setText(0, "1")
        self.treeWidget_file.header().setVisible(False)
        self.gridLayout_8.addWidget(self.treeWidget_file, 0, 0, 1, 1)
        self.horizontalLayout_7 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_7.setObjectName("horizontalLayout_7")
        self.pushButton_deletefile = QtWidgets.QPushButton(self.tab_file)
        self.pushButton_deletefile.setObjectName("pushButton_deletefile")
        self.horizontalLayout_7.addWidget(self.pushButton_deletefile)
        self.pushButton_resetfile = QtWidgets.QPushButton(self.tab_file)
        self.pushButton_resetfile.setObjectName("pushButton_resetfile")
        self.horizontalLayout_7.addWidget(self.pushButton_resetfile)
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_7.addItem(spacerItem)
        self.gridLayout_8.addLayout(self.horizontalLayout_7, 2, 0, 1, 1)
        self.gridLayout_9.addLayout(self.gridLayout_8, 6, 0, 1, 1)
        self.tabWidget.addTab(self.tab_file, "")
        self.tab_measurement = QtWidgets.QWidget()
        self.tab_measurement.setObjectName("tab_measurement")
        self.gridLayout_4 = QtWidgets.QGridLayout(self.tab_measurement)
        self.gridLayout_4.setObjectName("gridLayout_4")
        self.gridLayout_3 = QtWidgets.QGridLayout()
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.measurements = QtWidgets.QTreeWidget(self.tab_measurement)
        self.measurements.setSelectionMode(QtWidgets.QAbstractItemView.ExtendedSelection)
        self.measurements.setRootIsDecorated(True)
        self.measurements.setColumnCount(2)
        self.measurements.setObjectName("measurements")
        self.measurements.header().setVisible(False)
        self.measurements.header().setCascadingSectionResizes(True)
        self.measurements.header().setHighlightSections(False)
        self.measurements.header().setMinimumSectionSize(100)
        self.measurements.header().setSortIndicatorShown(True)
        self.measurements.header().setStretchLastSection(False)
        self.gridLayout_3.addWidget(self.measurements, 0, 0, 1, 1)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem1)
        self.pushButton_plot = QtWidgets.QPushButton(self.tab_measurement)
        self.pushButton_plot.setObjectName("pushButton_plot")
        self.horizontalLayout.addWidget(self.pushButton_plot)
        self.gridLayout_3.addLayout(self.horizontalLayout, 1, 0, 1, 1)
        self.gridLayout_4.addLayout(self.gridLayout_3, 0, 0, 1, 1)
        self.tabWidget.addTab(self.tab_measurement, "")
        self.tab_conversion = QtWidgets.QWidget()
        self.tab_conversion.setObjectName("tab_conversion")
        self.gridLayout_13 = QtWidgets.QGridLayout(self.tab_conversion)
        self.gridLayout_13.setObjectName("gridLayout_13")
        self.groupBox_3 = QtWidgets.QGroupBox(self.tab_conversion)
        self.groupBox_3.setObjectName("groupBox_3")
        self.gridLayout_11 = QtWidgets.QGridLayout(self.groupBox_3)
        self.gridLayout_11.setObjectName("gridLayout_11")
        self.gridLayout_10 = QtWidgets.QGridLayout()
        self.gridLayout_10.setObjectName("gridLayout_10")
        self.conversion_to_qz = QtWidgets.QRadioButton(self.groupBox_3)
        self.conversion_to_qz.setObjectName("conversion_to_qz")
        self.gridLayout_10.addWidget(self.conversion_to_qz, 0, 0, 1, 1)
        self.conversion_input_qz = QtWidgets.QLineEdit(self.groupBox_3)
        self.conversion_input_qz.setMaximumSize(QtCore.QSize(150, 16777215))
        self.conversion_input_qz.setMaxLength(10)
        self.conversion_input_qz.setObjectName("conversion_input_qz")
        self.gridLayout_10.addWidget(self.conversion_input_qz, 0, 2, 1, 1)
        self.conversion_to_theta = QtWidgets.QRadioButton(self.groupBox_3)
        self.conversion_to_theta.setObjectName("conversion_to_theta")
        self.gridLayout_10.addWidget(self.conversion_to_theta, 1, 0, 1, 1)
        self.conversion_input_theta = QtWidgets.QLineEdit(self.groupBox_3)
        self.conversion_input_theta.setMaximumSize(QtCore.QSize(150, 16777215))
        self.conversion_input_theta.setMaxLength(10)
        self.conversion_input_theta.setObjectName("conversion_input_theta")
        self.gridLayout_10.addWidget(self.conversion_input_theta, 1, 2, 1, 1)
        spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.gridLayout_10.addItem(spacerItem2, 1, 3, 1, 1)
        spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.gridLayout_10.addItem(spacerItem3, 0, 3, 1, 1)
        spacerItem4 = QtWidgets.QSpacerItem(30, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
        self.gridLayout_10.addItem(spacerItem4, 1, 1, 1, 1)
        self.gridLayout_11.addLayout(self.gridLayout_10, 0, 0, 1, 1)
        self.gridLayout_13.addWidget(self.groupBox_3, 0, 0, 1, 1)
        self.tabWidget_2 = QtWidgets.QTabWidget(self.tab_conversion)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.tabWidget_2.sizePolicy().hasHeightForWidth())
        self.tabWidget_2.setSizePolicy(sizePolicy)
        self.tabWidget_2.setTabPosition(QtWidgets.QTabWidget.North)
        self.tabWidget_2.setTabShape(QtWidgets.QTabWidget.Rounded)
        self.tabWidget_2.setObjectName("tabWidget_2")
        self.tab_5 = QtWidgets.QWidget()
        self.tab_5.setObjectName("tab_5")
        self.gridLayout_29 = QtWidgets.QGridLayout(self.tab_5)
        self.gridLayout_29.setObjectName("gridLayout_29")
        self.gridLayout_21 = QtWidgets.QGridLayout()
        self.gridLayout_21.setObjectName("gridLayout_21")
        self.conversion_wavelength = QtWidgets.QRadioButton(self.tab_5)
        self.conversion_wavelength.setObjectName("conversion_wavelength")
        self.gridLayout_21.addWidget(self.conversion_wavelength, 0, 0, 1, 1)
        self.conversion_input_wavelength = QtWidgets.QLineEdit(self.tab_5)
        self.conversion_input_wavelength.setMaximumSize(QtCore.QSize(150, 16777215))
        self.conversion_input_wavelength.setMaxLength(10)
        self.conversion_input_wavelength.setObjectName("conversion_input_wavelength")
        self.gridLayout_21.addWidget(self.conversion_input_wavelength, 0, 2, 1, 1)
        self.conversion_energy = QtWidgets.QRadioButton(self.tab_5)
        self.conversion_energy.setObjectName("conversion_energy")
        self.gridLayout_21.addWidget(self.conversion_energy, 1, 0, 1, 1)
        self.pushButton_toSettings = QtWidgets.QPushButton(self.tab_5)
        self.pushButton_toSettings.setObjectName("pushButton_toSettings")
        self.gridLayout_21.addWidget(self.pushButton_toSettings, 0, 4, 1, 1)
        self.conversion_input_energy = QtWidgets.QLineEdit(self.tab_5)
        self.conversion_input_energy.setMaximumSize(QtCore.QSize(150, 16777215))
        self.conversion_input_energy.setMaxLength(10)
        self.conversion_input_energy.setObjectName("conversion_input_energy")
        self.gridLayout_21.addWidget(self.conversion_input_energy, 1, 2, 1, 1)
        spacerItem5 = QtWidgets.QSpacerItem(30, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
        self.gridLayout_21.addItem(spacerItem5, 0, 1, 1, 1)
        spacerItem6 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.gridLayout_21.addItem(spacerItem6, 0, 3, 1, 1)
        self.gridLayout_29.addLayout(self.gridLayout_21, 0, 0, 1, 1)
        self.tabWidget_2.addTab(self.tab_5, "")
        self.tab_6 = QtWidgets.QWidget()
        self.tab_6.setObjectName("tab_6")
        self.gridLayout_27 = QtWidgets.QGridLayout(self.tab_6)
        self.gridLayout_27.setObjectName("gridLayout_27")
        self.gridLayout_12 = QtWidgets.QGridLayout()
        self.gridLayout_12.setObjectName("gridLayout_12")
        self.conversion_input_wavelength_neutron = QtWidgets.QLineEdit(self.tab_6)
        self.conversion_input_wavelength_neutron.setMaximumSize(QtCore.QSize(150, 16777215))
        self.conversion_input_wavelength_neutron.setMaxLength(10)
        self.conversion_input_wavelength_neutron.setObjectName("conversion_input_wavelength_neutron")
        self.gridLayout_12.addWidget(self.conversion_input_wavelength_neutron, 0, 2, 1, 1)
        spacerItem7 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.gridLayout_12.addItem(spacerItem7, 0, 5, 1, 1)
        spacerItem8 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.gridLayout_12.addItem(spacerItem8, 1, 3, 1, 1)
        self.conversion_neutron_unit = QtWidgets.QComboBox(self.tab_6)
        self.conversion_neutron_unit.setObjectName("conversion_neutron_unit")
        self.conversion_neutron_unit.addItem("")
        self.conversion_neutron_unit.addItem("")
        self.conversion_neutron_unit.addItem("")
        self.conversion_neutron_unit.addItem("")
        self.conversion_neutron_unit.addItem("")
        self.conversion_neutron_unit.addItem("")
        self.gridLayout_12.addWidget(self.conversion_neutron_unit, 1, 5, 1, 1)
        self.conversion_wavelength_neutron = QtWidgets.QRadioButton(self.tab_6)
        self.conversion_wavelength_neutron.setObjectName("conversion_wavelength_neutron")
        self.gridLayout_12.addWidget(self.conversion_wavelength_neutron, 0, 0, 1, 1)
        self.conversion_input_energy_neutron = QtWidgets.QLineEdit(self.tab_6)
        self.conversion_input_energy_neutron.setMaximumSize(QtCore.QSize(150, 16777215))
        self.conversion_input_energy_neutron.setMaxLength(10)
        self.conversion_input_energy_neutron.setObjectName("conversion_input_energy_neutron")
        self.gridLayout_12.addWidget(self.conversion_input_energy_neutron, 1, 2, 1, 1)
        self.label_17 = QtWidgets.QLabel(self.tab_6)
        self.label_17.setObjectName("label_17")
        self.gridLayout_12.addWidget(self.label_17, 1, 4, 1, 1)
        spacerItem9 = QtWidgets.QSpacerItem(30, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
        self.gridLayout_12.addItem(spacerItem9, 0, 1, 1, 1)
        self.conversion_energy_neutron = QtWidgets.QRadioButton(self.tab_6)
        self.conversion_energy_neutron.setObjectName("conversion_energy_neutron")
        self.gridLayout_12.addWidget(self.conversion_energy_neutron, 1, 0, 1, 1)
        self.gridLayout_27.addLayout(self.gridLayout_12, 0, 0, 1, 1)
        self.tabWidget_2.addTab(self.tab_6, "")
        self.gridLayout_13.addWidget(self.tabWidget_2, 1, 0, 1, 1)
        self.groupBox_10 = QtWidgets.QGroupBox(self.tab_conversion)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox_10.sizePolicy().hasHeightForWidth())
        self.groupBox_10.setSizePolicy(sizePolicy)
        self.groupBox_10.setObjectName("groupBox_10")
        self.gridLayout_26 = QtWidgets.QGridLayout(self.groupBox_10)
        self.gridLayout_26.setObjectName("gridLayout_26")
        self.gridLayout_25 = QtWidgets.QGridLayout()
        self.gridLayout_25.setObjectName("gridLayout_25")
        self.trans_energy_element = QtWidgets.QLineEdit(self.groupBox_10)
        self.trans_energy_element.setMaximumSize(QtCore.QSize(60, 16777215))
        self.trans_energy_element.setMaxLength(10)
        self.trans_energy_element.setObjectName("trans_energy_element")
        self.gridLayout_25.addWidget(self.trans_energy_element, 0, 1, 1, 1)
        spacerItem10 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.gridLayout_25.addItem(spacerItem10, 0, 2, 1, 1)
        self.label_14 = QtWidgets.QLabel(self.groupBox_10)
        self.label_14.setObjectName("label_14")
        self.gridLayout_25.addWidget(self.label_14, 0, 0, 1, 1)
        self.label_15 = QtWidgets.QLabel(self.groupBox_10)
        self.label_15.setObjectName("label_15")
        self.gridLayout_25.addWidget(self.label_15, 0, 3, 1, 1)
        spacerItem11 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.gridLayout_25.addItem(spacerItem11, 0, 5, 1, 1)
        self.trans_energy_transition = QtWidgets.QLineEdit(self.groupBox_10)
        self.trans_energy_transition.setMinimumSize(QtCore.QSize(10, 0))
        self.trans_energy_transition.setMaximumSize(QtCore.QSize(100, 16777215))
        self.trans_energy_transition.setMaxLength(10)
        self.trans_energy_transition.setObjectName("trans_energy_transition")
        self.gridLayout_25.addWidget(self.trans_energy_transition, 0, 4, 1, 1)
        self.trans_energy_use_selected = QtWidgets.QPushButton(self.groupBox_10)
        self.trans_energy_use_selected.setObjectName("trans_energy_use_selected")
        self.gridLayout_25.addWidget(self.trans_energy_use_selected, 0, 7, 1, 1)
        self.gridLayout_26.addLayout(self.gridLayout_25, 0, 0, 1, 1)
        self.trans_energy_table = QtWidgets.QTableWidget(self.groupBox_10)
        self.trans_energy_table.setAlternatingRowColors(True)
        self.trans_energy_table.setSelectionMode(QtWidgets.QAbstractItemView.SingleSelection)
        self.trans_energy_table.setShowGrid(True)
        self.trans_energy_table.setColumnCount(4)
        self.trans_energy_table.setObjectName("trans_energy_table")
        self.trans_energy_table.setRowCount(0)
        item = QtWidgets.QTableWidgetItem()
        self.trans_energy_table.setHorizontalHeaderItem(0, item)
        item = QtWidgets.QTableWidgetItem()
        self.trans_energy_table.setHorizontalHeaderItem(1, item)
        item = QtWidgets.QTableWidgetItem()
        self.trans_energy_table.setHorizontalHeaderItem(2, item)
        item = QtWidgets.QTableWidgetItem()
        self.trans_energy_table.setHorizontalHeaderItem(3, item)
        self.trans_energy_table.horizontalHeader().setCascadingSectionResizes(False)
        self.trans_energy_table.horizontalHeader().setDefaultSectionSize(160)
        self.trans_energy_table.horizontalHeader().setHighlightSections(False)
        self.trans_energy_table.horizontalHeader().setMinimumSectionSize(30)
        self.trans_energy_table.horizontalHeader().setStretchLastSection(True)
        self.trans_energy_table.verticalHeader().setVisible(False)
        self.trans_energy_table.verticalHeader().setCascadingSectionResizes(False)
        self.gridLayout_26.addWidget(self.trans_energy_table, 1, 0, 1, 1)
        self.gridLayout_13.addWidget(self.groupBox_10, 5, 0, 1, 1)
        self.tabWidget.addTab(self.tab_conversion, "")
        self.tab_sld = QtWidgets.QWidget()
        self.tab_sld.setObjectName("tab_sld")
        self.gridLayout_28 = QtWidgets.QGridLayout(self.tab_sld)
        self.gridLayout_28.setObjectName("gridLayout_28")
        self.gridLayout_24 = QtWidgets.QGridLayout()
        self.gridLayout_24.setObjectName("gridLayout_24")
        self.groupBox_14 = QtWidgets.QGroupBox(self.tab_sld)
        self.groupBox_14.setObjectName("groupBox_14")
        self.verticalLayout_6 = QtWidgets.QVBoxLayout(self.groupBox_14)
        self.verticalLayout_6.setObjectName("verticalLayout_6")
        self.gridLayout_33 = QtWidgets.QGridLayout()
        self.gridLayout_33.setObjectName("gridLayout_33")
        self.label_SLD_sample_material = QtWidgets.QLabel(self.groupBox_14)
        self.label_SLD_sample_material.setObjectName("label_SLD_sample_material")
        self.gridLayout_33.addWidget(self.label_SLD_sample_material, 0, 0, 1, 1)
        self.lE_SLD_sample_material = QtWidgets.QLineEdit(self.groupBox_14)
        self.lE_SLD_sample_material.setObjectName("lE_SLD_sample_material")
        self.gridLayout_33.addWidget(self.lE_SLD_sample_material, 0, 1, 1, 1)
        self.horizontalLayout_18 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_18.setObjectName("horizontalLayout_18")
        self.lE_SLD_sample_density = QtWidgets.QLineEdit(self.groupBox_14)
        self.lE_SLD_sample_density.setAutoFillBackground(False)
        self.lE_SLD_sample_density.setStyleSheet("")
        self.lE_SLD_sample_density.setObjectName("lE_SLD_sample_density")
        self.horizontalLayout_18.addWidget(self.lE_SLD_sample_density)
        self.label_SLD_sample_thickness = QtWidgets.QLabel(self.groupBox_14)
        self.label_SLD_sample_thickness.setObjectName("label_SLD_sample_thickness")
        self.horizontalLayout_18.addWidget(self.label_SLD_sample_thickness)
        self.lE_SLD_sample_thickness = QtWidgets.QLineEdit(self.groupBox_14)
        self.lE_SLD_sample_thickness.setObjectName("lE_SLD_sample_thickness")
        self.horizontalLayout_18.addWidget(self.lE_SLD_sample_thickness)
        self.gridLayout_33.addLayout(self.horizontalLayout_18, 3, 1, 1, 1)
        self.label_SLD_sample_density = QtWidgets.QLabel(self.groupBox_14)
        self.label_SLD_sample_density.setObjectName("label_SLD_sample_density")
        self.gridLayout_33.addWidget(self.label_SLD_sample_density, 3, 0, 1, 1)
        self.verticalLayout_6.addLayout(self.gridLayout_33)
        self.gridLayout_24.addWidget(self.groupBox_14, 0, 0, 1, 1)
        self.tabWidget_3 = QtWidgets.QTabWidget(self.tab_sld)
        self.tabWidget_3.setObjectName("tabWidget_3")
        self.tab_8 = QtWidgets.QWidget()
        self.tab_8.setObjectName("tab_8")
        self.gridLayout_31 = QtWidgets.QGridLayout(self.tab_8)
        self.gridLayout_31.setObjectName("gridLayout_31")
        self.gridLayout_5 = QtWidgets.QGridLayout()
        self.gridLayout_5.setObjectName("gridLayout_5")
        self.label_critical_angle = QtWidgets.QLabel(self.tab_8)
        self.label_critical_angle.setObjectName("label_critical_angle")
        self.gridLayout_5.addWidget(self.label_critical_angle, 0, 0, 1, 1)
        self.lE_critical_angle_xray = QtWidgets.QLineEdit(self.tab_8)
        self.lE_critical_angle_xray.setObjectName("lE_critical_angle_xray")
        self.gridLayout_5.addWidget(self.lE_critical_angle_xray, 0, 1, 1, 1)
        self.label_critical_wavevector = QtWidgets.QLabel(self.tab_8)
        self.label_critical_wavevector.setObjectName("label_critical_wavevector")
        self.gridLayout_5.addWidget(self.label_critical_wavevector, 1, 0, 1, 1)
        self.lE_critical_angle_neutron = QtWidgets.QLineEdit(self.tab_8)
        self.lE_critical_angle_neutron.setObjectName("lE_critical_angle_neutron")
        self.gridLayout_5.addWidget(self.lE_critical_angle_neutron, 0, 2, 1, 1)
        self.lE_critical_wavevector_xray = QtWidgets.QLineEdit(self.tab_8)
        self.lE_critical_wavevector_xray.setObjectName("lE_critical_wavevector_xray")
        self.gridLayout_5.addWidget(self.lE_critical_wavevector_xray, 1, 1, 1, 1)
        self.lE_critical_wavevector_neutron = QtWidgets.QLineEdit(self.tab_8)
        self.lE_critical_wavevector_neutron.setObjectName("lE_critical_wavevector_neutron")
        self.gridLayout_5.addWidget(self.lE_critical_wavevector_neutron, 1, 2, 1, 1)
        self.gridLayout_31.addLayout(self.gridLayout_5, 3, 0, 1, 1)
        self.gridLayout_36 = QtWidgets.QGridLayout()
        self.gridLayout_36.setObjectName("gridLayout_36")
        self.label_SLD_pendepth_abs_2 = QtWidgets.QLabel(self.tab_8)
        self.label_SLD_pendepth_abs_2.setObjectName("label_SLD_pendepth_abs_2")
        self.gridLayout_36.addWidget(self.label_SLD_pendepth_abs_2, 1, 0, 1, 1)
        self.label_SLD_pendepth_neutrons_2 = QtWidgets.QLabel(self.tab_8)
        self.label_SLD_pendepth_neutrons_2.setObjectName("label_SLD_pendepth_neutrons_2")
        self.gridLayout_36.addWidget(self.label_SLD_pendepth_neutrons_2, 0, 2, 1, 1, QtCore.Qt.AlignHCenter)
        self.lE_SLD_neutron_incoh = QtWidgets.QLineEdit(self.tab_8)
        self.lE_SLD_neutron_incoh.setReadOnly(True)
        self.lE_SLD_neutron_incoh.setObjectName("lE_SLD_neutron_incoh")
        self.gridLayout_36.addWidget(self.lE_SLD_neutron_incoh, 3, 2, 1, 1)
        self.lE_SLD_neutron_real = QtWidgets.QLineEdit(self.tab_8)
        self.lE_SLD_neutron_real.setReadOnly(True)
        self.lE_SLD_neutron_real.setObjectName("lE_SLD_neutron_real")
        self.gridLayout_36.addWidget(self.lE_SLD_neutron_real, 1, 2, 1, 1)
        self.lE_SLD_xray_real = QtWidgets.QLineEdit(self.tab_8)
        self.lE_SLD_xray_real.setReadOnly(True)
        self.lE_SLD_xray_real.setObjectName("lE_SLD_xray_real")
        self.gridLayout_36.addWidget(self.lE_SLD_xray_real, 1, 1, 1, 1)
        self.label_SLD_pendepth_abs_incoh_2 = QtWidgets.QLabel(self.tab_8)
        self.label_SLD_pendepth_abs_incoh_2.setObjectName("label_SLD_pendepth_abs_incoh_2")
        self.gridLayout_36.addWidget(self.label_SLD_pendepth_abs_incoh_2, 2, 0, 1, 1)
        self.label_SLD_pendepth_xrays_2 = QtWidgets.QLabel(self.tab_8)
        self.label_SLD_pendepth_xrays_2.setObjectName("label_SLD_pendepth_xrays_2")
        self.gridLayout_36.addWidget(self.label_SLD_pendepth_xrays_2, 0, 1, 1, 1, QtCore.Qt.AlignHCenter)
        self.label_SLD_pendepth_abs_incoh_coh_2 = QtWidgets.QLabel(self.tab_8)
        self.label_SLD_pendepth_abs_incoh_coh_2.setObjectName("label_SLD_pendepth_abs_incoh_coh_2")
        self.gridLayout_36.addWidget(self.label_SLD_pendepth_abs_incoh_coh_2, 3, 0, 1, 1)
        self.lE_SLD_xray_imag = QtWidgets.QLineEdit(self.tab_8)
        self.lE_SLD_xray_imag.setReadOnly(True)
        self.lE_SLD_xray_imag.setObjectName("lE_SLD_xray_imag")
        self.gridLayout_36.addWidget(self.lE_SLD_xray_imag, 2, 1, 1, 1)
        self.lE_SLD_neutron_imag = QtWidgets.QLineEdit(self.tab_8)
        self.lE_SLD_neutron_imag.setReadOnly(True)
        self.lE_SLD_neutron_imag.setObjectName("lE_SLD_neutron_imag")
        self.gridLayout_36.addWidget(self.lE_SLD_neutron_imag, 2, 2, 1, 1)
        self.gridLayout_31.addLayout(self.gridLayout_36, 1, 0, 1, 1)
        self.line_2 = QtWidgets.QFrame(self.tab_8)
        self.line_2.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_2.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_2.setObjectName("line_2")
        self.gridLayout_31.addWidget(self.line_2, 2, 0, 1, 1)
        self.tabWidget_3.addTab(self.tab_8, "")
        self.tab_9 = QtWidgets.QWidget()
        self.tab_9.setObjectName("tab_9")
        self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.tab_9)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.gridLayout_37 = QtWidgets.QGridLayout()
        self.gridLayout_37.setObjectName("gridLayout_37")
        self.lE_xs_neutron_abs = QtWidgets.QLineEdit(self.tab_9)
        self.lE_xs_neutron_abs.setReadOnly(True)
        self.lE_xs_neutron_abs.setObjectName("lE_xs_neutron_abs")
        self.gridLayout_37.addWidget(self.lE_xs_neutron_abs, 3, 2, 1, 1)
        self.lE_xs_neutron_total = QtWidgets.QLineEdit(self.tab_9)
        self.lE_xs_neutron_total.setObjectName("lE_xs_neutron_total")
        self.gridLayout_37.addWidget(self.lE_xs_neutron_total, 3, 4, 1, 1)
        self.lael_xs_neutron_abs = QtWidgets.QLabel(self.tab_9)
        self.lael_xs_neutron_abs.setObjectName("lael_xs_neutron_abs")
        self.gridLayout_37.addWidget(self.lael_xs_neutron_abs, 3, 0, 1, 1)
        self.label_xs_neutron_scatt = QtWidgets.QLabel(self.tab_9)
        self.label_xs_neutron_scatt.setStatusTip("")
        self.label_xs_neutron_scatt.setWhatsThis("")
        self.label_xs_neutron_scatt.setObjectName("label_xs_neutron_scatt")
        self.gridLayout_37.addWidget(self.label_xs_neutron_scatt, 2, 3, 1, 1)
        self.lE_xs_neutron_incoh = QtWidgets.QLineEdit(self.tab_9)
        self.lE_xs_neutron_incoh.setReadOnly(True)
        self.lE_xs_neutron_incoh.setObjectName("lE_xs_neutron_incoh")
        self.gridLayout_37.addWidget(self.lE_xs_neutron_incoh, 2, 2, 1, 1)
        self.label_xs_neutron_incoherent = QtWidgets.QLabel(self.tab_9)
        self.label_xs_neutron_incoherent.setObjectName("label_xs_neutron_incoherent")
        self.gridLayout_37.addWidget(self.label_xs_neutron_incoherent, 2, 0, 1, 1)
        self.lE_xs_neutron_scatt = QtWidgets.QLineEdit(self.tab_9)
        self.lE_xs_neutron_scatt.setStatusTip("")
        self.lE_xs_neutron_scatt.setWhatsThis("")
        self.lE_xs_neutron_scatt.setObjectName("lE_xs_neutron_scatt")
        self.gridLayout_37.addWidget(self.lE_xs_neutron_scatt, 2, 4, 1, 1)
        self.label_SLD_pendepth_neutrons_3 = QtWidgets.QLabel(self.tab_9)
        self.label_SLD_pendepth_neutrons_3.setObjectName("label_SLD_pendepth_neutrons_3")
        self.gridLayout_37.addWidget(self.label_SLD_pendepth_neutrons_3, 0, 2, 1, 1, QtCore.Qt.AlignHCenter)
        self.label_xs_neutron_coh = QtWidgets.QLabel(self.tab_9)
        self.label_xs_neutron_coh.setObjectName("label_xs_neutron_coh")
        self.gridLayout_37.addWidget(self.label_xs_neutron_coh, 1, 0, 1, 1)
        self.lE_xs_neutron_coh = QtWidgets.QLineEdit(self.tab_9)
        self.lE_xs_neutron_coh.setReadOnly(True)
        self.lE_xs_neutron_coh.setObjectName("lE_xs_neutron_coh")
        self.gridLayout_37.addWidget(self.lE_xs_neutron_coh, 1, 2, 1, 1)
        self.label_SLD_pendepth_xrays_3 = QtWidgets.QLabel(self.tab_9)
        self.label_SLD_pendepth_xrays_3.setObjectName("label_SLD_pendepth_xrays_3")
        self.gridLayout_37.addWidget(self.label_SLD_pendepth_xrays_3, 0, 1, 1, 1, QtCore.Qt.AlignHCenter)
        self.label_3 = QtWidgets.QLabel(self.tab_9)
        self.label_3.setObjectName("label_3")
        self.gridLayout_37.addWidget(self.label_3, 3, 3, 1, 1)
        self.verticalLayout_3.addLayout(self.gridLayout_37)
        self.tabWidget_3.addTab(self.tab_9, "")
        self.tab_7 = QtWidgets.QWidget()
        self.tab_7.setObjectName("tab_7")
        self.gridLayout_35 = QtWidgets.QGridLayout(self.tab_7)
        self.gridLayout_35.setObjectName("gridLayout_35")
        self.gridLayout_34 = QtWidgets.QGridLayout()
        self.gridLayout_34.setObjectName("gridLayout_34")
        self.lE_SLD_pendepth_xray_abs = QtWidgets.QLineEdit(self.tab_7)
        self.lE_SLD_pendepth_xray_abs.setReadOnly(True)
        self.lE_SLD_pendepth_xray_abs.setObjectName("lE_SLD_pendepth_xray_abs")
        self.gridLayout_34.addWidget(self.lE_SLD_pendepth_xray_abs, 1, 1, 1, 1)
        self.label_SLD_pendepth_xrays = QtWidgets.QLabel(self.tab_7)
        self.label_SLD_pendepth_xrays.setObjectName("label_SLD_pendepth_xrays")
        self.gridLayout_34.addWidget(self.label_SLD_pendepth_xrays, 0, 1, 1, 1, QtCore.Qt.AlignHCenter)
        self.lE_SLD_pendepth_neutron_abs_incoh_coh = QtWidgets.QLineEdit(self.tab_7)
        self.lE_SLD_pendepth_neutron_abs_incoh_coh.setReadOnly(True)
        self.lE_SLD_pendepth_neutron_abs_incoh_coh.setObjectName("lE_SLD_pendepth_neutron_abs_incoh_coh")
        self.gridLayout_34.addWidget(self.lE_SLD_pendepth_neutron_abs_incoh_coh, 3, 2, 1, 1)
        self.lE_SLD_pendepth_xray_transmission = QtWidgets.QLineEdit(self.tab_7)
        self.lE_SLD_pendepth_xray_transmission.setReadOnly(True)
        self.lE_SLD_pendepth_xray_transmission.setObjectName("lE_SLD_pendepth_xray_transmission")
        self.gridLayout_34.addWidget(self.lE_SLD_pendepth_xray_transmission, 5, 1, 1, 1)
        self.lE_SLD_pendepth_neutron_transmission = QtWidgets.QLineEdit(self.tab_7)
        self.lE_SLD_pendepth_neutron_transmission.setReadOnly(True)
        self.lE_SLD_pendepth_neutron_transmission.setObjectName("lE_SLD_pendepth_neutron_transmission")
        self.gridLayout_34.addWidget(self.lE_SLD_pendepth_neutron_transmission, 5, 2, 1, 1)
        self.label_SLD_pendepth_abs_incoh_coh = QtWidgets.QLabel(self.tab_7)
        self.label_SLD_pendepth_abs_incoh_coh.setObjectName("label_SLD_pendepth_abs_incoh_coh")
        self.gridLayout_34.addWidget(self.label_SLD_pendepth_abs_incoh_coh, 3, 0, 1, 1)
        self.label_20 = QtWidgets.QLabel(self.tab_7)
        self.label_20.setObjectName("label_20")
        self.gridLayout_34.addWidget(self.label_20, 5, 0, 1, 1)
        self.line = QtWidgets.QFrame(self.tab_7)
        self.line.setFrameShape(QtWidgets.QFrame.HLine)
        self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line.setObjectName("line")
        self.gridLayout_34.addWidget(self.line, 4, 0, 1, 1)
        self.label_SLD_pendepth_abs = QtWidgets.QLabel(self.tab_7)
        self.label_SLD_pendepth_abs.setObjectName("label_SLD_pendepth_abs")
        self.gridLayout_34.addWidget(self.label_SLD_pendepth_abs, 1, 0, 1, 1)
        self.label_SLD_pendepth_neutrons = QtWidgets.QLabel(self.tab_7)
        self.label_SLD_pendepth_neutrons.setObjectName("label_SLD_pendepth_neutrons")
        self.gridLayout_34.addWidget(self.label_SLD_pendepth_neutrons, 0, 2, 1, 1, QtCore.Qt.AlignHCenter)
        self.label_SLD_pendepth_abs_incoh = QtWidgets.QLabel(self.tab_7)
        self.label_SLD_pendepth_abs_incoh.setObjectName("label_SLD_pendepth_abs_incoh")
        self.gridLayout_34.addWidget(self.label_SLD_pendepth_abs_incoh, 2, 0, 1, 1)
        self.lE_SLD_pendepth_neutron_abs_incoh = QtWidgets.QLineEdit(self.tab_7)
        self.lE_SLD_pendepth_neutron_abs_incoh.setReadOnly(True)
        self.lE_SLD_pendepth_neutron_abs_incoh.setObjectName("lE_SLD_pendepth_neutron_abs_incoh")
        self.gridLayout_34.addWidget(self.lE_SLD_pendepth_neutron_abs_incoh, 2, 2, 1, 1)
        self.lE_SLD_pendepth_neutron_abs = QtWidgets.QLineEdit(self.tab_7)
        self.lE_SLD_pendepth_neutron_abs.setReadOnly(True)
        self.lE_SLD_pendepth_neutron_abs.setObjectName("lE_SLD_pendepth_neutron_abs")
        self.gridLayout_34.addWidget(self.lE_SLD_pendepth_neutron_abs, 1, 2, 1, 1)
        self.label_21 = QtWidgets.QLabel(self.tab_7)
        self.label_21.setObjectName("label_21")
        self.gridLayout_34.addWidget(self.label_21, 6, 0, 1, 1)
        self.lE_SLD_pendepth_xray_attenuation = QtWidgets.QLineEdit(self.tab_7)
        self.lE_SLD_pendepth_xray_attenuation.setReadOnly(True)
        self.lE_SLD_pendepth_xray_attenuation.setObjectName("lE_SLD_pendepth_xray_attenuation")
        self.gridLayout_34.addWidget(self.lE_SLD_pendepth_xray_attenuation, 6, 1, 1, 1)
        self.lE_SLD_pendepth_neutron_attenuation = QtWidgets.QLineEdit(self.tab_7)
        self.lE_SLD_pendepth_neutron_attenuation.setReadOnly(True)
        self.lE_SLD_pendepth_neutron_attenuation.setObjectName("lE_SLD_pendepth_neutron_attenuation")
        self.gridLayout_34.addWidget(self.lE_SLD_pendepth_neutron_attenuation, 6, 2, 1, 1)
        self.gridLayout_35.addLayout(self.gridLayout_34, 0, 0, 1, 1)
        self.tabWidget_3.addTab(self.tab_7, "")
        self.gridLayout_24.addWidget(self.tabWidget_3, 2, 0, 1, 1)
        self.groupBox_9 = QtWidgets.QGroupBox(self.tab_sld)
        self.groupBox_9.setObjectName("groupBox_9")
        self.gridLayout_30 = QtWidgets.QGridLayout(self.groupBox_9)
        self.gridLayout_30.setObjectName("gridLayout_30")
        self.horizontalLayout_14 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_14.setObjectName("horizontalLayout_14")
        self.label_18 = QtWidgets.QLabel(self.groupBox_9)
        self.label_18.setObjectName("label_18")
        self.horizontalLayout_14.addWidget(self.label_18)
        self.lE_source_neutron = QtWidgets.QLineEdit(self.groupBox_9)
        self.lE_source_neutron.setObjectName("lE_source_neutron")
        self.horizontalLayout_14.addWidget(self.lE_source_neutron)
        self.label_19 = QtWidgets.QLabel(self.groupBox_9)
        self.label_19.setObjectName("label_19")
        self.horizontalLayout_14.addWidget(self.label_19)
        self.lE_source_xray = QtWidgets.QLineEdit(self.groupBox_9)
        self.lE_source_xray.setObjectName("lE_source_xray")
        self.horizontalLayout_14.addWidget(self.lE_source_xray)
        self.gridLayout_30.addLayout(self.horizontalLayout_14, 0, 0, 1, 1)
        self.gridLayout_24.addWidget(self.groupBox_9, 1, 0, 1, 1)
        self.gridLayout_28.addLayout(self.gridLayout_24, 1, 0, 1, 1)
        spacerItem12 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.gridLayout_28.addItem(spacerItem12, 4, 0, 1, 1)
        self.horizontalLayout_16 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_16.setObjectName("horizontalLayout_16")
        spacerItem13 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_16.addItem(spacerItem13)
        self.btn_SLD_calculate = QtWidgets.QPushButton(self.tab_sld)
        self.btn_SLD_calculate.setObjectName("btn_SLD_calculate")
        self.horizontalLayout_16.addWidget(self.btn_SLD_calculate)
        self.gridLayout_28.addLayout(self.horizontalLayout_16, 2, 0, 1, 1)
        self.tabWidget.addTab(self.tab_sld, "")
        self.tab_xrd = QtWidgets.QWidget()
        self.tab_xrd.setObjectName("tab_xrd")
        self.gridLayout_15 = QtWidgets.QGridLayout(self.tab_xrd)
        self.gridLayout_15.setObjectName("gridLayout_15")
        self.groupBox_5 = QtWidgets.QGroupBox(self.tab_xrd)
        self.groupBox_5.setObjectName("groupBox_5")
        self.horizontalLayout_11 = QtWidgets.QHBoxLayout(self.groupBox_5)
        self.horizontalLayout_11.setObjectName("horizontalLayout_11")
        self.horizontalLayout_10 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_10.setObjectName("horizontalLayout_10")
        self.label_10 = QtWidgets.QLabel(self.groupBox_5)
        self.label_10.setObjectName("label_10")
        self.horizontalLayout_10.addWidget(self.label_10)
        self.cif_file = QtWidgets.QLineEdit(self.groupBox_5)
        self.cif_file.setObjectName("cif_file")
        self.horizontalLayout_10.addWidget(self.cif_file)
        self.cif_browse = QtWidgets.QPushButton(self.groupBox_5)
        self.cif_browse.setObjectName("cif_browse")
        self.horizontalLayout_10.addWidget(self.cif_browse)
        self.cif_import = QtWidgets.QPushButton(self.groupBox_5)
        self.cif_import.setObjectName("cif_import")
        self.horizontalLayout_10.addWidget(self.cif_import)
        self.horizontalLayout_11.addLayout(self.horizontalLayout_10)
        self.gridLayout_15.addWidget(self.groupBox_5, 0, 0, 1, 1)
        self.gridLayout_14 = QtWidgets.QGridLayout()
        self.gridLayout_14.setObjectName("gridLayout_14")
        self.horizontalLayout_8 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_8.setObjectName("horizontalLayout_8")
        self.label_8 = QtWidgets.QLabel(self.tab_xrd)
        self.label_8.setObjectName("label_8")
        self.horizontalLayout_8.addWidget(self.label_8)
        spacerItem14 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_8.addItem(spacerItem14)
        self.combobox_crystalfamily = QtWidgets.QComboBox(self.tab_xrd)
        self.combobox_crystalfamily.setEditable(False)
        self.combobox_crystalfamily.setObjectName("combobox_crystalfamily")
        self.combobox_crystalfamily.addItem("")
        self.combobox_crystalfamily.addItem("")
        self.combobox_crystalfamily.addItem("")
        self.combobox_crystalfamily.addItem("")
        self.combobox_crystalfamily.addItem("")
        self.combobox_crystalfamily.addItem("")
        self.combobox_crystalfamily.addItem("")
        self.horizontalLayout_8.addWidget(self.combobox_crystalfamily)
        self.button_calculate_bragg = QtWidgets.QPushButton(self.tab_xrd)
        self.button_calculate_bragg.setObjectName("button_calculate_bragg")
        self.horizontalLayout_8.addWidget(self.button_calculate_bragg)
        self.gridLayout_14.addLayout(self.horizontalLayout_8, 7, 0, 1, 1)
        self.gridLayout_15.addLayout(self.gridLayout_14, 1, 0, 1, 1)
        self.groupBox_4 = QtWidgets.QGroupBox(self.tab_xrd)
        self.groupBox_4.setObjectName("groupBox_4")
        self.gridLayout_17 = QtWidgets.QGridLayout(self.groupBox_4)
        self.gridLayout_17.setObjectName("gridLayout_17")
        self.gridLayout_16 = QtWidgets.QGridLayout()
        self.gridLayout_16.setObjectName("gridLayout_16")
        self.lattice_b = QtWidgets.QLineEdit(self.groupBox_4)
        self.lattice_b.setMaximumSize(QtCore.QSize(100, 16777215))
        self.lattice_b.setMaxLength(8)
        self.lattice_b.setReadOnly(True)
        self.lattice_b.setObjectName("lattice_b")
        self.gridLayout_16.addWidget(self.lattice_b, 0, 3, 1, 1)
        self.lattice_param_a = QtWidgets.QLabel(self.groupBox_4)
        self.lattice_param_a.setAlignment(QtCore.Qt.AlignCenter)
        self.lattice_param_a.setObjectName("lattice_param_a")
        self.gridLayout_16.addWidget(self.lattice_param_a, 0, 0, 1, 1)
        self.lattice_param_b = QtWidgets.QLabel(self.groupBox_4)
        self.lattice_param_b.setAlignment(QtCore.Qt.AlignCenter)
        self.lattice_param_b.setObjectName("lattice_param_b")
        self.gridLayout_16.addWidget(self.lattice_param_b, 0, 2, 1, 1)
        self.lattice_c = QtWidgets.QLineEdit(self.groupBox_4)
        self.lattice_c.setMaximumSize(QtCore.QSize(100, 16777215))
        self.lattice_c.setMaxLength(8)
        self.lattice_c.setReadOnly(True)
        self.lattice_c.setObjectName("lattice_c")
        self.gridLayout_16.addWidget(self.lattice_c, 0, 5, 1, 1)
        self.lattice_param_c = QtWidgets.QLabel(self.groupBox_4)
        self.lattice_param_c.setAlignment(QtCore.Qt.AlignCenter)
        self.lattice_param_c.setObjectName("lattice_param_c")
        self.gridLayout_16.addWidget(self.lattice_param_c, 0, 4, 1, 1)
        self.lattice_a = QtWidgets.QLineEdit(self.groupBox_4)
        self.lattice_a.setMaximumSize(QtCore.QSize(100, 16777215))
        self.lattice_a.setMaxLength(8)
        self.lattice_a.setObjectName("lattice_a")
        self.gridLayout_16.addWidget(self.lattice_a, 0, 1, 1, 1)
        self.lattice_param_alpha = QtWidgets.QLabel(self.groupBox_4)
        self.lattice_param_alpha.setAlignment(QtCore.Qt.AlignCenter)
        self.lattice_param_alpha.setObjectName("lattice_param_alpha")
        self.gridLayout_16.addWidget(self.lattice_param_alpha, 1, 0, 1, 1)
        self.lattice_alpha = QtWidgets.QLineEdit(self.groupBox_4)
        self.lattice_alpha.setMaximumSize(QtCore.QSize(100, 16777215))
        self.lattice_alpha.setMaxLength(8)
        self.lattice_alpha.setReadOnly(True)
        self.lattice_alpha.setObjectName("lattice_alpha")
        self.gridLayout_16.addWidget(self.lattice_alpha, 1, 1, 1, 1)
        self.lattice_beta = QtWidgets.QLineEdit(self.groupBox_4)
        self.lattice_beta.setMaximumSize(QtCore.QSize(100, 16777215))
        self.lattice_beta.setMaxLength(8)
        self.lattice_beta.setReadOnly(True)
        self.lattice_beta.setObjectName("lattice_beta")
        self.gridLayout_16.addWidget(self.lattice_beta, 1, 3, 1, 1)
        self.lattice_gamma = QtWidgets.QLineEdit(self.groupBox_4)
        self.lattice_gamma.setMaximumSize(QtCore.QSize(100, 16777215))
        self.lattice_gamma.setMaxLength(8)
        self.lattice_gamma.setReadOnly(True)
        self.lattice_gamma.setObjectName("lattice_gamma")
        self.gridLayout_16.addWidget(self.lattice_gamma, 1, 5, 1, 1)
        self.lattice_param_beta = QtWidgets.QLabel(self.groupBox_4)
        self.lattice_param_beta.setAlignment(QtCore.Qt.AlignCenter)
        self.lattice_param_beta.setObjectName("lattice_param_beta")
        self.gridLayout_16.addWidget(self.lattice_param_beta, 1, 2, 1, 1)
        self.lattice_param_gamma = QtWidgets.QLabel(self.groupBox_4)
        self.lattice_param_gamma.setAlignment(QtCore.Qt.AlignCenter)
        self.lattice_param_gamma.setObjectName("lattice_param_gamma")
        self.gridLayout_16.addWidget(self.lattice_param_gamma, 1, 4, 1, 1)
        self.gridLayout_17.addLayout(self.gridLayout_16, 0, 0, 1, 1)
        self.gridLayout_15.addWidget(self.groupBox_4, 3, 0, 1, 1)
        self.groupBox_6 = QtWidgets.QGroupBox(self.tab_xrd)
        self.groupBox_6.setObjectName("groupBox_6")
        self.gridLayout_19 = QtWidgets.QGridLayout(self.groupBox_6)
        self.gridLayout_19.setObjectName("gridLayout_19")
        self.horizontalLayout_9 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_9.setObjectName("horizontalLayout_9")
        self.label_16 = QtWidgets.QLabel(self.groupBox_6)
        self.label_16.setObjectName("label_16")
        self.horizontalLayout_9.addWidget(self.label_16)
        self.input_bragg_order = QtWidgets.QLineEdit(self.groupBox_6)
        self.input_bragg_order.setMaximumSize(QtCore.QSize(50, 16777215))
        self.input_bragg_order.setMaxLength(5)
        self.input_bragg_order.setObjectName("input_bragg_order")
        self.horizontalLayout_9.addWidget(self.input_bragg_order)
        spacerItem15 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_9.addItem(spacerItem15)
        self.gridLayout_19.addLayout(self.horizontalLayout_9, 0, 0, 1, 1)
        self.bragg_table = QtWidgets.QTableWidget(self.groupBox_6)
        self.bragg_table.setCornerButtonEnabled(True)
        self.bragg_table.setObjectName("bragg_table")
        self.bragg_table.setColumnCount(3)
        self.bragg_table.setRowCount(0)
        item = QtWidgets.QTableWidgetItem()
        self.bragg_table.setHorizontalHeaderItem(0, item)
        item = QtWidgets.QTableWidgetItem()
        self.bragg_table.setHorizontalHeaderItem(1, item)
        item = QtWidgets.QTableWidgetItem()
        self.bragg_table.setHorizontalHeaderItem(2, item)
        self.bragg_table.horizontalHeader().setVisible(False)
        self.bragg_table.horizontalHeader().setDefaultSectionSize(85)
        self.bragg_table.verticalHeader().setVisible(False)
        self.gridLayout_19.addWidget(self.bragg_table, 3, 0, 1, 1)
        self.bragg_table_2 = QtWidgets.QTableWidget(self.groupBox_6)
        self.bragg_table_2.setCornerButtonEnabled(True)
        self.bragg_table_2.setObjectName("bragg_table_2")
        self.bragg_table_2.setColumnCount(3)
        self.bragg_table_2.setRowCount(0)
        item = QtWidgets.QTableWidgetItem()
        self.bragg_table_2.setHorizontalHeaderItem(0, item)
        item = QtWidgets.QTableWidgetItem()
        self.bragg_table_2.setHorizontalHeaderItem(1, item)
        item = QtWidgets.QTableWidgetItem()
        self.bragg_table_2.setHorizontalHeaderItem(2, item)
        self.bragg_table_2.horizontalHeader().setVisible(False)
        self.bragg_table_2.horizontalHeader().setDefaultSectionSize(85)
        self.bragg_table_2.verticalHeader().setVisible(False)
        self.gridLayout_19.addWidget(self.bragg_table_2, 3, 1, 1, 1)
        self.gridLayout_15.addWidget(self.groupBox_6, 10, 0, 1, 1)
        self.tabWidget.addTab(self.tab_xrd, "")
        self.tab_settings = QtWidgets.QWidget()
        self.tab_settings.setObjectName("tab_settings")
        self.settings = SettingsWidget(self.tab_settings)
        self.settings.setGeometry(QtCore.QRect(0, 0, 640, 480))
        self.settings.setObjectName("settings")
        self.tabWidget.addTab(self.tab_settings, "")
        self.verticalLayout_2.addWidget(self.tabWidget)
        self.verticalLayout.addLayout(self.verticalLayout_2)
        self.gridLayout_2.addLayout(self.verticalLayout, 0, 0, 1, 1)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.pushButton_convert = QtWidgets.QPushButton(self.centralwidget)
        self.pushButton_convert.setObjectName("pushButton_convert")
        self.horizontalLayout_2.addWidget(self.pushButton_convert)
        self.checkBox_view_plot = QtWidgets.QCheckBox(self.centralwidget)
        self.checkBox_view_plot.setChecked(True)
        self.checkBox_view_plot.setObjectName("checkBox_view_plot")
        self.horizontalLayout_2.addWidget(self.checkBox_view_plot)
        spacerItem16 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem16)
        self.pushButton_preview = QtWidgets.QPushButton(self.centralwidget)
        self.pushButton_preview.setObjectName("pushButton_preview")
        self.horizontalLayout_2.addWidget(self.pushButton_preview)
        self.gridLayout_2.addLayout(self.horizontalLayout_2, 1, 0, 1, 1)
        UXDConverter.setCentralWidget(self.centralwidget)
        self.menuBar = QtWidgets.QMenuBar(UXDConverter)
        self.menuBar.setGeometry(QtCore.QRect(0, 0, 700, 24))
        self.menuBar.setObjectName("menuBar")
        self.menuPlugin = QtWidgets.QMenu(self.menuBar)
        self.menuPlugin.setObjectName("menuPlugin")
        self.menuLoad = QtWidgets.QMenu(self.menuPlugin)
        self.menuLoad.setObjectName("menuLoad")
        self.menuReference_Sample = QtWidgets.QMenu(self.menuBar)
        self.menuReference_Sample.setObjectName("menuReference_Sample")
        UXDConverter.setMenuBar(self.menuBar)
        self.actionStress = QtWidgets.QAction(UXDConverter)
        self.actionStress.setObjectName("actionStress")
        self.action_references_LaB6 = QtWidgets.QAction(UXDConverter)
        self.action_references_LaB6.setObjectName("action_references_LaB6")
        self.action_references_Si = QtWidgets.QAction(UXDConverter)
        self.action_references_Si.setObjectName("action_references_Si")
        self.menuLoad.addAction(self.actionStress)
        self.menuPlugin.addAction(self.menuLoad.menuAction())
        self.menuReference_Sample.addAction(self.action_references_LaB6)
        self.menuReference_Sample.addAction(self.action_references_Si)
        self.menuBar.addAction(self.menuPlugin.menuAction())
        self.menuBar.addAction(self.menuReference_Sample.menuAction())

        self.retranslateUi(UXDConverter)
        self.tabWidget.setCurrentIndex(0)
        self.tabWidget_2.setCurrentIndex(0)
        self.tabWidget_3.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(UXDConverter)
        UXDConverter.setTabOrder(self.tabWidget, self.lineEdit_output)
        UXDConverter.setTabOrder(self.lineEdit_output, self.pushButton_output)
        UXDConverter.setTabOrder(self.pushButton_output, self.lineEdit_input)
        UXDConverter.setTabOrder(self.lineEdit_input, self.pushButton_input)
        UXDConverter.setTabOrder(self.pushButton_input, self.pushButton_addfile)
        UXDConverter.setTabOrder(self.pushButton_addfile, self.treeWidget_file)
        UXDConverter.setTabOrder(self.treeWidget_file, self.pushButton_deletefile)
        UXDConverter.setTabOrder(self.pushButton_deletefile, self.pushButton_resetfile)
        UXDConverter.setTabOrder(self.pushButton_resetfile, self.measurements)
        UXDConverter.setTabOrder(self.measurements, self.pushButton_plot)
        UXDConverter.setTabOrder(self.pushButton_plot, self.conversion_to_qz)
        UXDConverter.setTabOrder(self.conversion_to_qz, self.conversion_input_qz)
        UXDConverter.setTabOrder(self.conversion_input_qz, self.conversion_to_theta)
        UXDConverter.setTabOrder(self.conversion_to_theta, self.conversion_input_theta)
        UXDConverter.setTabOrder(self.conversion_input_theta, self.tabWidget_2)
        UXDConverter.setTabOrder(self.tabWidget_2, self.conversion_wavelength)
        UXDConverter.setTabOrder(self.conversion_wavelength, self.conversion_input_wavelength)
        UXDConverter.setTabOrder(self.conversion_input_wavelength, self.conversion_energy)
        UXDConverter.setTabOrder(self.conversion_energy, self.pushButton_toSettings)
        UXDConverter.setTabOrder(self.pushButton_toSettings, self.conversion_input_energy)
        UXDConverter.setTabOrder(self.conversion_input_energy, self.conversion_input_wavelength_neutron)
        UXDConverter.setTabOrder(self.conversion_input_wavelength_neutron, self.conversion_neutron_unit)
        UXDConverter.setTabOrder(self.conversion_neutron_unit, self.conversion_wavelength_neutron)
        UXDConverter.setTabOrder(self.conversion_wavelength_neutron, self.conversion_input_energy_neutron)
        UXDConverter.setTabOrder(self.conversion_input_energy_neutron, self.conversion_energy_neutron)
        UXDConverter.setTabOrder(self.conversion_energy_neutron, self.trans_energy_element)
        UXDConverter.setTabOrder(self.trans_energy_element, self.trans_energy_transition)
        UXDConverter.setTabOrder(self.trans_energy_transition, self.trans_energy_use_selected)
        UXDConverter.setTabOrder(self.trans_energy_use_selected, self.trans_energy_table)
        UXDConverter.setTabOrder(self.trans_energy_table, self.lE_SLD_sample_material)
        UXDConverter.setTabOrder(self.lE_SLD_sample_material, self.lE_SLD_sample_density)
        UXDConverter.setTabOrder(self.lE_SLD_sample_density, self.lE_SLD_sample_thickness)
        UXDConverter.setTabOrder(self.lE_SLD_sample_thickness, self.tabWidget_3)
        UXDConverter.setTabOrder(self.tabWidget_3, self.lE_SLD_xray_imag)
        UXDConverter.setTabOrder(self.lE_SLD_xray_imag, self.lE_SLD_neutron_incoh)
        UXDConverter.setTabOrder(self.lE_SLD_neutron_incoh, self.lE_SLD_neutron_real)
        UXDConverter.setTabOrder(self.lE_SLD_neutron_real, self.lE_SLD_neutron_imag)
        UXDConverter.setTabOrder(self.lE_SLD_neutron_imag, self.lE_SLD_xray_real)
        UXDConverter.setTabOrder(self.lE_SLD_xray_real, self.lE_SLD_pendepth_xray_abs)
        UXDConverter.setTabOrder(self.lE_SLD_pendepth_xray_abs, self.lE_SLD_pendepth_neutron_abs_incoh_coh)
        UXDConverter.setTabOrder(self.lE_SLD_pendepth_neutron_abs_incoh_coh, self.lE_SLD_pendepth_xray_transmission)
        UXDConverter.setTabOrder(self.lE_SLD_pendepth_xray_transmission, self.lE_SLD_pendepth_neutron_transmission)
        UXDConverter.setTabOrder(self.lE_SLD_pendepth_neutron_transmission, self.lE_SLD_pendepth_neutron_abs_incoh)
        UXDConverter.setTabOrder(self.lE_SLD_pendepth_neutron_abs_incoh, self.lE_SLD_pendepth_neutron_abs)
        UXDConverter.setTabOrder(self.lE_SLD_pendepth_neutron_abs, self.lE_SLD_pendepth_xray_attenuation)
        UXDConverter.setTabOrder(self.lE_SLD_pendepth_xray_attenuation, self.lE_SLD_pendepth_neutron_attenuation)
        UXDConverter.setTabOrder(self.lE_SLD_pendepth_neutron_attenuation, self.lE_source_neutron)
        UXDConverter.setTabOrder(self.lE_source_neutron, self.lE_source_xray)
        UXDConverter.setTabOrder(self.lE_source_xray, self.btn_SLD_calculate)
        UXDConverter.setTabOrder(self.btn_SLD_calculate, self.cif_file)
        UXDConverter.setTabOrder(self.cif_file, self.cif_browse)
        UXDConverter.setTabOrder(self.cif_browse, self.cif_import)
        UXDConverter.setTabOrder(self.cif_import, self.combobox_crystalfamily)
        UXDConverter.setTabOrder(self.combobox_crystalfamily, self.button_calculate_bragg)
        UXDConverter.setTabOrder(self.button_calculate_bragg, self.lattice_b)
        UXDConverter.setTabOrder(self.lattice_b, self.lattice_c)
        UXDConverter.setTabOrder(self.lattice_c, self.lattice_a)
        UXDConverter.setTabOrder(self.lattice_a, self.lattice_alpha)
        UXDConverter.setTabOrder(self.lattice_alpha, self.lattice_beta)
        UXDConverter.setTabOrder(self.lattice_beta, self.lattice_gamma)
        UXDConverter.setTabOrder(self.lattice_gamma, self.input_bragg_order)
        UXDConverter.setTabOrder(self.input_bragg_order, self.bragg_table)
        UXDConverter.setTabOrder(self.bragg_table, self.bragg_table_2)
        UXDConverter.setTabOrder(self.bragg_table_2, self.pushButton_convert)
        UXDConverter.setTabOrder(self.pushButton_convert, self.checkBox_view_plot)
        UXDConverter.setTabOrder(self.checkBox_view_plot, self.pushButton_preview)

    def retranslateUi(self, UXDConverter):
        _translate = QtCore.QCoreApplication.translate
        UXDConverter.setWindowTitle(_translate("UXDConverter", "UXDConverter"))
        self.label_2.setText(_translate("UXDConverter", "Output file"))
        self.pushButton_output.setText(_translate("UXDConverter", "Browse"))
        self.label.setText(_translate("UXDConverter", "Add file"))
        self.pushButton_input.setText(_translate("UXDConverter", "Browse"))
        self.pushButton_addfile.setToolTip(_translate("UXDConverter", "Add a file to the file list"))
        self.pushButton_addfile.setText(_translate("UXDConverter", "Add file"))
        self.pushButton_deletefile.setToolTip(_translate("UXDConverter", "Delete the selected files from file list"))
        self.pushButton_deletefile.setText(_translate("UXDConverter", "Delete selected file"))
        self.pushButton_resetfile.setToolTip(_translate("UXDConverter", "Reset the file list"))
        self.pushButton_resetfile.setText(_translate("UXDConverter", "Reset files"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_file), _translate("UXDConverter", "File"))
        self.measurements.headerItem().setText(0, _translate("UXDConverter", "asd"))
        self.measurements.headerItem().setText(1, _translate("UXDConverter", "2"))
        self.pushButton_plot.setToolTip(_translate("UXDConverter", "Plot the selected measurements in a theta-intensity graph"))
        self.pushButton_plot.setText(_translate("UXDConverter", "Plot selected measurements"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_measurement), _translate("UXDConverter", "Measurement"))
        self.groupBox_3.setTitle(_translate("UXDConverter", "Scattering vector conversions"))
        self.conversion_to_qz.setText(_translate("UXDConverter", "Qz [A⁻1]"))
        self.conversion_input_qz.setText(_translate("UXDConverter", "0"))
        self.conversion_to_theta.setText(_translate("UXDConverter", "Theta [deg]"))
        self.conversion_input_theta.setText(_translate("UXDConverter", "0"))
        self.conversion_wavelength.setText(_translate("UXDConverter", "Wavelength [A]"))
        self.conversion_input_wavelength.setText(_translate("UXDConverter", "1.5418"))
        self.conversion_energy.setText(_translate("UXDConverter", "Energy [eV]"))
        self.pushButton_toSettings.setText(_translate("UXDConverter", "to Settings"))
        self.conversion_input_energy.setText(_translate("UXDConverter", "0"))
        self.tabWidget_2.setTabText(self.tabWidget_2.indexOf(self.tab_5), _translate("UXDConverter", "X-Ray Wavelength"))
        self.conversion_input_wavelength_neutron.setText(_translate("UXDConverter", "1"))
        self.conversion_neutron_unit.setItemText(0, _translate("UXDConverter", "meV"))
        self.conversion_neutron_unit.setItemText(1, _translate("UXDConverter", "eV"))
        self.conversion_neutron_unit.setItemText(2, _translate("UXDConverter", "keV"))
        self.conversion_neutron_unit.setItemText(3, _translate("UXDConverter", "MeV"))
        self.conversion_neutron_unit.setItemText(4, _translate("UXDConverter", "m/s"))
        self.conversion_neutron_unit.setItemText(5, _translate("UXDConverter", "J"))
        self.conversion_wavelength_neutron.setText(_translate("UXDConverter", "Wavelength [A]"))
        self.conversion_input_energy_neutron.setText(_translate("UXDConverter", "0"))
        self.label_17.setText(_translate("UXDConverter", "Units"))
        self.conversion_energy_neutron.setText(_translate("UXDConverter", "Energy [meV]"))
        self.tabWidget_2.setTabText(self.tabWidget_2.indexOf(self.tab_6), _translate("UXDConverter", "Neutron Wavelength"))
        self.groupBox_10.setTitle(_translate("UXDConverter", "X-Ray Transition Energies"))
        self.label_14.setText(_translate("UXDConverter", "Element"))
        self.label_15.setText(_translate("UXDConverter", "Transition"))
        self.trans_energy_use_selected.setText(_translate("UXDConverter", "Use Selected"))
        item = self.trans_energy_table.horizontalHeaderItem(0)
        item.setText(_translate("UXDConverter", "Element"))
        item = self.trans_energy_table.horizontalHeaderItem(1)
        item.setText(_translate("UXDConverter", "Transition"))
        item = self.trans_energy_table.horizontalHeaderItem(2)
        item.setText(_translate("UXDConverter", "Energy theory [eV]"))
        item = self.trans_energy_table.horizontalHeaderItem(3)
        item.setText(_translate("UXDConverter", "Energy exp. [eV]"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_conversion), _translate("UXDConverter", "Conversions"))
        self.groupBox_14.setTitle(_translate("UXDConverter", "Sample"))
        self.label_SLD_sample_material.setText(_translate("UXDConverter", "Material"))
        self.label_SLD_sample_thickness.setText(_translate("UXDConverter", "Thickness"))
        self.lE_SLD_sample_thickness.setText(_translate("UXDConverter", "1 cm"))
        self.label_SLD_sample_density.setText(_translate("UXDConverter", "Density [g/cm³]"))
        self.label_critical_angle.setText(_translate("UXDConverter", "<html><head/><body><p>critical angle <span>θ</span><span style=\"vertical-align:sub;\">c </span>[deg]</p></body></html>"))
        self.label_critical_wavevector.setText(_translate("UXDConverter", "<html><head/><body><p>critical wavevector q<span style=\" vertical-align:sub;\">c </span>[Å<span style=\" vertical-align:super;\">-1</span>]</p></body></html>"))
        self.label_SLD_pendepth_abs_2.setText(_translate("UXDConverter", "real"))
        self.label_SLD_pendepth_neutrons_2.setText(_translate("UXDConverter", "<html><head/><body><p>Neutrons [10<span style=\" vertical-align:super;\">-6</span> Å<span style=\" vertical-align:super;\">-2</span>]</p></body></html>"))
        self.label_SLD_pendepth_abs_incoh_2.setText(_translate("UXDConverter", "imag"))
        self.label_SLD_pendepth_xrays_2.setText(_translate("UXDConverter", "<html><head/><body><p>X-rays [10<span style=\" vertical-align:super;\">-6</span> Å<span style=\" vertical-align:super;\">-2</span>]</p></body></html>"))
        self.label_SLD_pendepth_abs_incoh_coh_2.setText(_translate("UXDConverter", "incoh"))
        self.tabWidget_3.setTabText(self.tabWidget_3.indexOf(self.tab_8), _translate("UXDConverter", "Scattering length density"))
        self.lael_xs_neutron_abs.setText(_translate("UXDConverter", "<html><head/><body><p>σ<span style=\" vertical-align:sub;\">abs</span></p></body></html>"))
        self.label_xs_neutron_scatt.setToolTip(_translate("UXDConverter", "coherent + incoherent scattering cross section"))
        self.label_xs_neutron_scatt.setText(_translate("UXDConverter", "<html><head/><body><p>σ<span style=\" vertical-align:sub;\">scatt</span></p></body></html>"))
        self.label_xs_neutron_incoherent.setText(_translate("UXDConverter", "<html><head/><body><p>σ<span style=\" vertical-align:sub;\">incoh</span></p></body></html>"))
        self.label_SLD_pendepth_neutrons_3.setText(_translate("UXDConverter", "<html><head/><body><p>Neutrons [barn]</p></body></html>"))
        self.label_xs_neutron_coh.setText(_translate("UXDConverter", "<html><head/><body><p>σ<span style=\" vertical-align:sub;\">coh</span></p></body></html>"))
        self.label_SLD_pendepth_xrays_3.setText(_translate("UXDConverter", "<html><head/><body><p><br/></p></body></html>"))
        self.label_3.setToolTip(_translate("UXDConverter", "scattering + absorption cross section"))
        self.label_3.setText(_translate("UXDConverter", "<html><head/><body><p>σ<span style=\" vertical-align:sub;\">total</span></p></body></html>"))
        self.tabWidget_3.setTabText(self.tabWidget_3.indexOf(self.tab_9), _translate("UXDConverter", "Scattering cross section"))
        self.label_SLD_pendepth_xrays.setText(_translate("UXDConverter", "X-rays [µm]"))
        self.label_SLD_pendepth_abs_incoh_coh.setText(_translate("UXDConverter", "abs + incoh + coh"))
        self.label_20.setToolTip(_translate("UXDConverter", "Transmission (after absorption and incoherent scattering) through the material with the specified thickness"))
        self.label_20.setText(_translate("UXDConverter", "Transmission"))
        self.label_SLD_pendepth_abs.setText(_translate("UXDConverter", "abs"))
        self.label_SLD_pendepth_neutrons.setText(_translate("UXDConverter", "Neutrons [cm]"))
        self.label_SLD_pendepth_abs_incoh.setText(_translate("UXDConverter", "abs + incoh"))
        self.label_21.setToolTip(_translate("UXDConverter", "The attenuation factor is 1/Transmission"))
        self.label_21.setText(_translate("UXDConverter", "Attenuation"))
        self.tabWidget_3.setTabText(self.tabWidget_3.indexOf(self.tab_7), _translate("UXDConverter", "1/e penetration depth"))
        self.groupBox_9.setTitle(_translate("UXDConverter", "Source"))
        self.label_18.setText(_translate("UXDConverter", "Neutrons"))
        self.lE_source_neutron.setText(_translate("UXDConverter", "4 Ang"))
        self.label_19.setToolTip(_translate("UXDConverter", "X-ray wavelength in angstrom (default) or emission line Ka, Ka1, Ka2, Kb"))
        self.label_19.setText(_translate("UXDConverter", "X-rays"))
        self.lE_source_xray.setText(_translate("UXDConverter", "Cu Ka"))
        self.btn_SLD_calculate.setText(_translate("UXDConverter", "Calculate"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_sld), _translate("UXDConverter", "SLD"))
        self.groupBox_5.setTitle(_translate("UXDConverter", "Import from .cif"))
        self.label_10.setText(_translate("UXDConverter", "File"))
        self.cif_file.setToolTip(_translate("UXDConverter", ".cif file to import lattice parameters from"))
        self.cif_browse.setToolTip(_translate("UXDConverter", "Browse for a .cif file"))
        self.cif_browse.setText(_translate("UXDConverter", "Browse"))
        self.cif_import.setToolTip(_translate("UXDConverter", "Import the selected file"))
        self.cif_import.setText(_translate("UXDConverter", "Import"))
        self.label_8.setText(_translate("UXDConverter", "Crystal family"))
        self.combobox_crystalfamily.setToolTip(_translate("UXDConverter", "Crystal family of the compound"))
        self.combobox_crystalfamily.setItemText(0, _translate("UXDConverter", "cubic"))
        self.combobox_crystalfamily.setItemText(1, _translate("UXDConverter", "hexagonal"))
        self.combobox_crystalfamily.setItemText(2, _translate("UXDConverter", "rhombohedral"))
        self.combobox_crystalfamily.setItemText(3, _translate("UXDConverter", "tetragonal"))
        self.combobox_crystalfamily.setItemText(4, _translate("UXDConverter", "orthorhombic"))
        self.combobox_crystalfamily.setItemText(5, _translate("UXDConverter", "monoclinic"))
        self.combobox_crystalfamily.setItemText(6, _translate("UXDConverter", "triclinic"))
        self.button_calculate_bragg.setToolTip(_translate("UXDConverter", "Calculate the Bragg peaks from the crystal family and the lattice parameters"))
        self.button_calculate_bragg.setText(_translate("UXDConverter", "Calculate Bragg Peaks"))
        self.groupBox_4.setTitle(_translate("UXDConverter", "Lattice parameter"))
        self.lattice_b.setToolTip(_translate("UXDConverter", "lattice parameter b in angstrom"))
        self.lattice_param_a.setText(_translate("UXDConverter", "<html><head/><body>a [&#8491;]</body></html>"))
        self.lattice_param_b.setText(_translate("UXDConverter", "<html><head/><body>b [&#8491;]</body></html>"))
        self.lattice_c.setToolTip(_translate("UXDConverter", "lattice parameter c in angstrom"))
        self.lattice_param_c.setText(_translate("UXDConverter", "<html><head/><body>c [&#8491;]</body></html>"))
        self.lattice_a.setToolTip(_translate("UXDConverter", "lattice parameter a in angstrom"))
        self.lattice_a.setText(_translate("UXDConverter", "5,431"))
        self.lattice_param_alpha.setText(_translate("UXDConverter", "<html><head/><body><p>&alpha; [deg]</p></body></html>"))
        self.lattice_alpha.setToolTip(_translate("UXDConverter", "lattice parameter alpha in degrees"))
        self.lattice_alpha.setText(_translate("UXDConverter", "90"))
        self.lattice_beta.setToolTip(_translate("UXDConverter", "lattice parameter beta in degrees"))
        self.lattice_gamma.setToolTip(_translate("UXDConverter", "lattice parameter gamma in degrees"))
        self.lattice_param_beta.setText(_translate("UXDConverter", "<html><head/><body><p>&beta; [deg]</p></body></html>"))
        self.lattice_param_gamma.setText(_translate("UXDConverter", "<html><head/><body><p>&gamma; [deg]</p></body></html>"))
        self.groupBox_6.setTitle(_translate("UXDConverter", "Bragg Condition"))
        self.label_16.setText(_translate("UXDConverter", "Bragg order n"))
        self.input_bragg_order.setText(_translate("UXDConverter", "1"))
        item = self.bragg_table.horizontalHeaderItem(0)
        item.setText(_translate("UXDConverter", "hkl"))
        item = self.bragg_table.horizontalHeaderItem(1)
        item.setText(_translate("UXDConverter", "theta"))
        item = self.bragg_table.horizontalHeaderItem(2)
        item.setText(_translate("UXDConverter", "2 theta"))
        item = self.bragg_table_2.horizontalHeaderItem(0)
        item.setText(_translate("UXDConverter", "hkl"))
        item = self.bragg_table_2.horizontalHeaderItem(1)
        item.setText(_translate("UXDConverter", "theta"))
        item = self.bragg_table_2.horizontalHeaderItem(2)
        item.setText(_translate("UXDConverter", "2 theta"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_xrd), _translate("UXDConverter", "XRD"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_settings), _translate("UXDConverter", "Settings"))
        self.pushButton_convert.setToolTip(_translate("UXDConverter", "Convert the measurements and save into output file"))
        self.pushButton_convert.setText(_translate("UXDConverter", "Convert"))
        self.checkBox_view_plot.setText(_translate("UXDConverter", "Plot after Conversion"))
        self.pushButton_preview.setToolTip(_translate("UXDConverter", "Preview the conversion"))
        self.pushButton_preview.setText(_translate("UXDConverter", "Preview"))
        self.menuPlugin.setTitle(_translate("UXDConverter", "Plugins"))
        self.menuLoad.setTitle(_translate("UXDConverter", "Load"))
        self.menuReference_Sample.setTitle(_translate("UXDConverter", "References"))
        self.actionStress.setText(_translate("UXDConverter", "Stress/Strain"))
        self.action_references_LaB6.setText(_translate("UXDConverter", "LaB6 (660c)"))
        self.action_references_Si.setText(_translate("UXDConverter", "Si (640f)"))
from uxdconverter.ui.views.settings import SettingsWidget
