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

# Form implementation generated from reading ui file 'finalcif_gui_ui.ui'
#
# Created by: PyQt5 UI code generator#
# 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_FinalCifWindow(object):
    def setupUi(self, FinalCifWindow):
        FinalCifWindow.setObjectName("FinalCifWindow")
        FinalCifWindow.resize(1637, 803)
        self.Mainwidget = QtWidgets.QWidget(FinalCifWindow)
        self.Mainwidget.setObjectName("Mainwidget")
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout(self.Mainwidget)
        self.horizontalLayout_4.setContentsMargins(6, 6, 6, 0)
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.splitter = QtWidgets.QSplitter(self.Mainwidget)
        self.splitter.setOrientation(QtCore.Qt.Horizontal)
        self.splitter.setObjectName("splitter")
        self.LeftFrame = QtWidgets.QFrame(self.splitter)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(20)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.LeftFrame.sizePolicy().hasHeightForWidth())
        self.LeftFrame.setSizePolicy(sizePolicy)
        self.LeftFrame.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.LeftFrame.setFrameShadow(QtWidgets.QFrame.Plain)
        self.LeftFrame.setLineWidth(0)
        self.LeftFrame.setObjectName("LeftFrame")
        self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.LeftFrame)
        self.verticalLayout_5.setContentsMargins(3, 0, 3, 0)
        self.verticalLayout_5.setSpacing(6)
        self.verticalLayout_5.setObjectName("verticalLayout_5")
        self.SelectCifFileGroupBox = QtWidgets.QGroupBox(self.LeftFrame)
        self.SelectCifFileGroupBox.setFlat(False)
        self.SelectCifFileGroupBox.setObjectName("SelectCifFileGroupBox")
        self.verticalLayout_29 = QtWidgets.QVBoxLayout(self.SelectCifFileGroupBox)
        self.verticalLayout_29.setContentsMargins(3, 3, 3, 0)
        self.verticalLayout_29.setSpacing(6)
        self.verticalLayout_29.setObjectName("verticalLayout_29")
        self.horizontalLayout_12 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_12.setContentsMargins(3, 0, 0, -1)
        self.horizontalLayout_12.setSpacing(3)
        self.horizontalLayout_12.setObjectName("horizontalLayout_12")
        self.SelectCif_LineEdit = QtWidgets.QLineEdit(self.SelectCifFileGroupBox)
        self.SelectCif_LineEdit.setObjectName("SelectCif_LineEdit")
        self.horizontalLayout_12.addWidget(self.SelectCif_LineEdit)
        self.SelectCif_PushButton = QtWidgets.QPushButton(self.SelectCifFileGroupBox)
        self.SelectCif_PushButton.setObjectName("SelectCif_PushButton")
        self.horizontalLayout_12.addWidget(self.SelectCif_PushButton)
        self.verticalLayout_29.addLayout(self.horizontalLayout_12)
        self.RecentComboBox = QtWidgets.QComboBox(self.SelectCifFileGroupBox)
        self.RecentComboBox.setMaxVisibleItems(15)
        self.RecentComboBox.setObjectName("RecentComboBox")
        self.RecentComboBox.addItem("")
        self.verticalLayout_29.addWidget(self.RecentComboBox)
        self.verticalLayout_5.addWidget(self.SelectCifFileGroupBox)
        self.horizontalLayout_8 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_8.setContentsMargins(3, -1, 3, -1)
        self.horizontalLayout_8.setObjectName("horizontalLayout_8")
        self.searchMainTableLabel = QtWidgets.QLabel(self.LeftFrame)
        self.searchMainTableLabel.setObjectName("searchMainTableLabel")
        self.horizontalLayout_8.addWidget(self.searchMainTableLabel)
        self.searchMainTableLineEdit = QtWidgets.QLineEdit(self.LeftFrame)
        self.searchMainTableLineEdit.setObjectName("searchMainTableLineEdit")
        self.horizontalLayout_8.addWidget(self.searchMainTableLineEdit)
        self.verticalLayout_5.addLayout(self.horizontalLayout_8)
        self.TemplatesStackedWidget = QtWidgets.QStackedWidget(self.LeftFrame)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.TemplatesStackedWidget.sizePolicy().hasHeightForWidth())
        self.TemplatesStackedWidget.setSizePolicy(sizePolicy)
        self.TemplatesStackedWidget.setLineWidth(1)
        self.TemplatesStackedWidget.setObjectName("TemplatesStackedWidget")
        self.page_equipment = QtWidgets.QWidget()
        self.page_equipment.setObjectName("page_equipment")
        self.verticalLayout_16 = QtWidgets.QVBoxLayout(self.page_equipment)
        self.verticalLayout_16.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_16.setSpacing(6)
        self.verticalLayout_16.setObjectName("verticalLayout_16")
        self.EquipmentGroupBox = QtWidgets.QGroupBox(self.page_equipment)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(36)
        sizePolicy.setHeightForWidth(self.EquipmentGroupBox.sizePolicy().hasHeightForWidth())
        self.EquipmentGroupBox.setSizePolicy(sizePolicy)
        self.EquipmentGroupBox.setObjectName("EquipmentGroupBox")
        self.verticalLayout_7 = QtWidgets.QVBoxLayout(self.EquipmentGroupBox)
        self.verticalLayout_7.setContentsMargins(6, 4, 6, 4)
        self.verticalLayout_7.setSpacing(6)
        self.verticalLayout_7.setObjectName("verticalLayout_7")
        self.EquipmentTemplatesStackedWidget = QtWidgets.QStackedWidget(self.EquipmentGroupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.EquipmentTemplatesStackedWidget.sizePolicy().hasHeightForWidth())
        self.EquipmentTemplatesStackedWidget.setSizePolicy(sizePolicy)
        self.EquipmentTemplatesStackedWidget.setObjectName("EquipmentTemplatesStackedWidget")
        self.EquipmentSelectPage = QtWidgets.QWidget()
        self.EquipmentSelectPage.setObjectName("EquipmentSelectPage")
        self.verticalLayout_19 = QtWidgets.QVBoxLayout(self.EquipmentSelectPage)
        self.verticalLayout_19.setContentsMargins(0, 3, 0, 3)
        self.verticalLayout_19.setObjectName("verticalLayout_19")
        self.EquipmentTemplatesListWidget = QtWidgets.QListWidget(self.EquipmentSelectPage)
        self.EquipmentTemplatesListWidget.setEditTriggers(QtWidgets.QAbstractItemView.NoEditTriggers)
        self.EquipmentTemplatesListWidget.setSelectionMode(QtWidgets.QAbstractItemView.SingleSelection)
        self.EquipmentTemplatesListWidget.setSelectionBehavior(QtWidgets.QAbstractItemView.SelectRows)
        self.EquipmentTemplatesListWidget.setObjectName("EquipmentTemplatesListWidget")
        self.verticalLayout_19.addWidget(self.EquipmentTemplatesListWidget)
        self.horizontalLayout_Buttons = QtWidgets.QHBoxLayout()
        self.horizontalLayout_Buttons.setSpacing(6)
        self.horizontalLayout_Buttons.setObjectName("horizontalLayout_Buttons")
        self.NewEquipmentTemplateButton = QtWidgets.QPushButton(self.EquipmentSelectPage)
        self.NewEquipmentTemplateButton.setObjectName("NewEquipmentTemplateButton")
        self.horizontalLayout_Buttons.addWidget(self.NewEquipmentTemplateButton)
        self.EditEquipmentTemplateButton = QtWidgets.QPushButton(self.EquipmentSelectPage)
        self.EditEquipmentTemplateButton.setObjectName("EditEquipmentTemplateButton")
        self.horizontalLayout_Buttons.addWidget(self.EditEquipmentTemplateButton)
        self.ImportEquipmentTemplateButton = QtWidgets.QPushButton(self.EquipmentSelectPage)
        self.ImportEquipmentTemplateButton.setObjectName("ImportEquipmentTemplateButton")
        self.horizontalLayout_Buttons.addWidget(self.ImportEquipmentTemplateButton)
        self.verticalLayout_19.addLayout(self.horizontalLayout_Buttons)
        self.EquipmentTemplatesStackedWidget.addWidget(self.EquipmentSelectPage)
        self.EquipmentEditPage = QtWidgets.QWidget()
        self.EquipmentEditPage.setObjectName("EquipmentEditPage")
        self.verticalLayout_21 = QtWidgets.QVBoxLayout(self.EquipmentEditPage)
        self.verticalLayout_21.setContentsMargins(0, 3, 0, 3)
        self.verticalLayout_21.setObjectName("verticalLayout_21")
        self.EquipmentEditTableWidget = MyEQTableWidget(self.EquipmentEditPage)
        self.EquipmentEditTableWidget.setAutoScroll(False)
        self.EquipmentEditTableWidget.setEditTriggers(QtWidgets.QAbstractItemView.AllEditTriggers)
        self.EquipmentEditTableWidget.setAlternatingRowColors(False)
        self.EquipmentEditTableWidget.setSelectionMode(QtWidgets.QAbstractItemView.SingleSelection)
        self.EquipmentEditTableWidget.setSelectionBehavior(QtWidgets.QAbstractItemView.SelectRows)
        self.EquipmentEditTableWidget.setVerticalScrollMode(QtWidgets.QAbstractItemView.ScrollPerPixel)
        self.EquipmentEditTableWidget.setHorizontalScrollMode(QtWidgets.QAbstractItemView.ScrollPerPixel)
        self.EquipmentEditTableWidget.setRowCount(1)
        self.EquipmentEditTableWidget.setObjectName("EquipmentEditTableWidget")
        self.EquipmentEditTableWidget.setColumnCount(2)
        item = QtWidgets.QTableWidgetItem()
        self.EquipmentEditTableWidget.setHorizontalHeaderItem(0, item)
        item = QtWidgets.QTableWidgetItem()
        self.EquipmentEditTableWidget.setHorizontalHeaderItem(1, item)
        self.EquipmentEditTableWidget.horizontalHeader().setCascadingSectionResizes(True)
        self.EquipmentEditTableWidget.horizontalHeader().setDefaultSectionSize(210)
        self.EquipmentEditTableWidget.horizontalHeader().setMinimumSectionSize(100)
        self.EquipmentEditTableWidget.horizontalHeader().setSortIndicatorShown(True)
        self.EquipmentEditTableWidget.horizontalHeader().setStretchLastSection(True)
        self.EquipmentEditTableWidget.verticalHeader().setVisible(False)
        self.EquipmentEditTableWidget.verticalHeader().setDefaultSectionSize(30)
        self.verticalLayout_21.addWidget(self.EquipmentEditTableWidget)
        self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.DeleteEquipmentButton = QtWidgets.QPushButton(self.EquipmentEditPage)
        self.DeleteEquipmentButton.setObjectName("DeleteEquipmentButton")
        self.horizontalLayout_5.addWidget(self.DeleteEquipmentButton)
        self.SaveEquipmentButton = QtWidgets.QPushButton(self.EquipmentEditPage)
        self.SaveEquipmentButton.setObjectName("SaveEquipmentButton")
        self.horizontalLayout_5.addWidget(self.SaveEquipmentButton)
        self.CancelEquipmentButton = QtWidgets.QPushButton(self.EquipmentEditPage)
        self.CancelEquipmentButton.setObjectName("CancelEquipmentButton")
        self.horizontalLayout_5.addWidget(self.CancelEquipmentButton)
        self.ExportEquipmentButton = QtWidgets.QPushButton(self.EquipmentEditPage)
        self.ExportEquipmentButton.setObjectName("ExportEquipmentButton")
        self.horizontalLayout_5.addWidget(self.ExportEquipmentButton)
        self.verticalLayout_21.addLayout(self.horizontalLayout_5)
        self.EquipmentTemplatesStackedWidget.addWidget(self.EquipmentEditPage)
        self.verticalLayout_7.addWidget(self.EquipmentTemplatesStackedWidget)
        self.verticalLayout_16.addWidget(self.EquipmentGroupBox)
        self.line = QtWidgets.QFrame(self.page_equipment)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.line.sizePolicy().hasHeightForWidth())
        self.line.setSizePolicy(sizePolicy)
        self.line.setFrameShape(QtWidgets.QFrame.HLine)
        self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line.setObjectName("line")
        self.verticalLayout_16.addWidget(self.line)
        self.horizontalLayout_13 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_13.setContentsMargins(6, 6, -1, 6)
        self.horizontalLayout_13.setObjectName("horizontalLayout_13")
        self.ImportCifPushButton = QtWidgets.QPushButton(self.page_equipment)
        self.ImportCifPushButton.setObjectName("ImportCifPushButton")
        self.horizontalLayout_13.addWidget(self.ImportCifPushButton)
        self.importOnlyNewDataCheckBox = QtWidgets.QCheckBox(self.page_equipment)
        self.importOnlyNewDataCheckBox.setObjectName("importOnlyNewDataCheckBox")
        self.horizontalLayout_13.addWidget(self.importOnlyNewDataCheckBox)
        self.verticalLayout_16.addLayout(self.horizontalLayout_13)
        self.line_5 = QtWidgets.QFrame(self.page_equipment)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.line_5.sizePolicy().hasHeightForWidth())
        self.line_5.setSizePolicy(sizePolicy)
        self.line_5.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_5.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_5.setObjectName("line_5")
        self.verticalLayout_16.addWidget(self.line_5)
        self.groupBox_5 = QtWidgets.QGroupBox(self.page_equipment)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(50)
        sizePolicy.setHeightForWidth(self.groupBox_5.sizePolicy().hasHeightForWidth())
        self.groupBox_5.setSizePolicy(sizePolicy)
        self.groupBox_5.setObjectName("groupBox_5")
        self.verticalLayout_35 = QtWidgets.QVBoxLayout(self.groupBox_5)
        self.verticalLayout_35.setContentsMargins(6, 9, 6, 9)
        self.verticalLayout_35.setObjectName("verticalLayout_35")
        self.gridLayout_26 = QtWidgets.QGridLayout()
        self.gridLayout_26.setContentsMargins(-1, -1, -1, 12)
        self.gridLayout_26.setObjectName("gridLayout_26")
        self.ADPTableCheckBox = QtWidgets.QCheckBox(self.groupBox_5)
        self.ADPTableCheckBox.setChecked(True)
        self.ADPTableCheckBox.setObjectName("ADPTableCheckBox")
        self.gridLayout_26.addWidget(self.ADPTableCheckBox, 0, 1, 1, 1)
        self.ReportTextCheckBox = QtWidgets.QCheckBox(self.groupBox_5)
        self.ReportTextCheckBox.setObjectName("ReportTextCheckBox")
        self.gridLayout_26.addWidget(self.ReportTextCheckBox, 0, 0, 1, 1)
        self.horizontalLayout_6 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_6.setContentsMargins(-1, 0, 0, -1)
        self.horizontalLayout_6.setObjectName("horizontalLayout_6")
        self.PictureWidthLabel = QtWidgets.QLabel(self.groupBox_5)
        self.PictureWidthLabel.setObjectName("PictureWidthLabel")
        self.horizontalLayout_6.addWidget(self.PictureWidthLabel)
        self.PictureWidthDoubleSpinBox = QtWidgets.QDoubleSpinBox(self.groupBox_5)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.PictureWidthDoubleSpinBox.sizePolicy().hasHeightForWidth())
        self.PictureWidthDoubleSpinBox.setSizePolicy(sizePolicy)
        self.PictureWidthDoubleSpinBox.setMinimumSize(QtCore.QSize(80, 0))
        self.PictureWidthDoubleSpinBox.setProperty("value", 7.0)
        self.PictureWidthDoubleSpinBox.setObjectName("PictureWidthDoubleSpinBox")
        self.horizontalLayout_6.addWidget(self.PictureWidthDoubleSpinBox)
        spacerItem = QtWidgets.QSpacerItem(40, 0, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_6.addItem(spacerItem)
        self.gridLayout_26.addLayout(self.horizontalLayout_6, 2, 0, 1, 1)
        self.HAtomsCheckBox = QtWidgets.QCheckBox(self.groupBox_5)
        self.HAtomsCheckBox.setObjectName("HAtomsCheckBox")
        self.gridLayout_26.addWidget(self.HAtomsCheckBox, 1, 0, 1, 2)
        self.verticalLayout_35.addLayout(self.gridLayout_26)
        self.groupBox_6 = QtWidgets.QGroupBox(self.groupBox_5)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox_6.sizePolicy().hasHeightForWidth())
        self.groupBox_6.setSizePolicy(sizePolicy)
        self.groupBox_6.setObjectName("groupBox_6")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.groupBox_6)
        self.verticalLayout_2.setContentsMargins(6, 3, 6, 6)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.docxTemplatesListWidget = QtWidgets.QListWidget(self.groupBox_6)
        self.docxTemplatesListWidget.setSizeAdjustPolicy(QtWidgets.QAbstractScrollArea.AdjustToContents)
        self.docxTemplatesListWidget.setSelectionMode(QtWidgets.QAbstractItemView.NoSelection)
        self.docxTemplatesListWidget.setSelectionRectVisible(False)
        self.docxTemplatesListWidget.setObjectName("docxTemplatesListWidget")
        item = QtWidgets.QListWidgetItem()
        font = QtGui.QFont()
        font.setItalic(True)
        item.setFont(font)
        item.setCheckState(QtCore.Qt.Checked)
        self.docxTemplatesListWidget.addItem(item)
        self.verticalLayout_2.addWidget(self.docxTemplatesListWidget)
        self.horizontalLayout_14 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_14.setContentsMargins(-1, 0, 0, -1)
        self.horizontalLayout_14.setObjectName("horizontalLayout_14")
        self.AddNewTemplPushButton = QtWidgets.QPushButton(self.groupBox_6)
        self.AddNewTemplPushButton.setObjectName("AddNewTemplPushButton")
        self.horizontalLayout_14.addWidget(self.AddNewTemplPushButton)
        self.RemoveTemplPushButton = QtWidgets.QPushButton(self.groupBox_6)
        self.RemoveTemplPushButton.setObjectName("RemoveTemplPushButton")
        self.horizontalLayout_14.addWidget(self.RemoveTemplPushButton)
        spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_14.addItem(spacerItem1)
        self.verticalLayout_2.addLayout(self.horizontalLayout_14)
        self.label = QtWidgets.QLabel(self.groupBox_6)
        self.label.setTextFormat(QtCore.Qt.RichText)
        self.label.setOpenExternalLinks(True)
        self.label.setTextInteractionFlags(QtCore.Qt.TextBrowserInteraction)
        self.label.setObjectName("label")
        self.verticalLayout_2.addWidget(self.label)
        self.verticalLayout_35.addWidget(self.groupBox_6)
        self.verticalLayout_16.addWidget(self.groupBox_5)
        self.TemplatesStackedWidget.addWidget(self.page_equipment)
        self.page_loops = QtWidgets.QWidget()
        self.page_loops.setObjectName("page_loops")
        self.verticalLayout_18 = QtWidgets.QVBoxLayout(self.page_loops)
        self.verticalLayout_18.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_18.setObjectName("verticalLayout_18")
        self.LoopsGroupBox = QtWidgets.QGroupBox(self.page_loops)
        self.LoopsGroupBox.setFlat(True)
        self.LoopsGroupBox.setObjectName("LoopsGroupBox")
        self.verticalLayout_17 = QtWidgets.QVBoxLayout(self.LoopsGroupBox)
        self.verticalLayout_17.setContentsMargins(6, 6, 6, 6)
        self.verticalLayout_17.setSpacing(0)
        self.verticalLayout_17.setObjectName("verticalLayout_17")
        self.LoopTemplatesListWidget = QtWidgets.QListWidget(self.LoopsGroupBox)
        self.LoopTemplatesListWidget.setEditTriggers(QtWidgets.QAbstractItemView.NoEditTriggers)
        self.LoopTemplatesListWidget.setSelectionMode(QtWidgets.QAbstractItemView.SingleSelection)
        self.LoopTemplatesListWidget.setSelectionBehavior(QtWidgets.QAbstractItemView.SelectRows)
        self.LoopTemplatesListWidget.setObjectName("LoopTemplatesListWidget")
        self.verticalLayout_17.addWidget(self.LoopTemplatesListWidget)
        self.gridLayout_24 = QtWidgets.QGridLayout()
        self.gridLayout_24.setContentsMargins(-1, 6, -1, 6)
        self.gridLayout_24.setObjectName("gridLayout_24")
        self.ExportAuthorPushButton = QtWidgets.QPushButton(self.LoopsGroupBox)
        self.ExportAuthorPushButton.setObjectName("ExportAuthorPushButton")
        self.gridLayout_24.addWidget(self.ExportAuthorPushButton, 0, 1, 1, 1)
        self.ImportAuthorPushButton = QtWidgets.QPushButton(self.LoopsGroupBox)
        self.ImportAuthorPushButton.setObjectName("ImportAuthorPushButton")
        self.gridLayout_24.addWidget(self.ImportAuthorPushButton, 0, 2, 1, 1)
        self.DeleteLoopAuthorTemplateButton = QtWidgets.QPushButton(self.LoopsGroupBox)
        self.DeleteLoopAuthorTemplateButton.setObjectName("DeleteLoopAuthorTemplateButton")
        self.gridLayout_24.addWidget(self.DeleteLoopAuthorTemplateButton, 0, 3, 1, 1)
        self.verticalLayout_17.addLayout(self.gridLayout_24)
        self.line_2 = QtWidgets.QFrame(self.LoopsGroupBox)
        self.line_2.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_2.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_2.setObjectName("line_2")
        self.verticalLayout_17.addWidget(self.line_2)
        spacerItem2 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_17.addItem(spacerItem2)
        self.verticalLayout_18.addWidget(self.LoopsGroupBox)
        self.TemplatesStackedWidget.addWidget(self.page_loops)
        self.verticalLayout_5.addWidget(self.TemplatesStackedWidget)
        self.CifDataItemsFrame = QtWidgets.QFrame(self.splitter)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(80)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.CifDataItemsFrame.sizePolicy().hasHeightForWidth())
        self.CifDataItemsFrame.setSizePolicy(sizePolicy)
        self.CifDataItemsFrame.setObjectName("CifDataItemsFrame")
        self.gridLayout_6 = QtWidgets.QGridLayout(self.CifDataItemsFrame)
        self.gridLayout_6.setContentsMargins(3, 9, 6, 0)
        self.gridLayout_6.setSpacing(6)
        self.gridLayout_6.setObjectName("gridLayout_6")
        self.spacegroupLabel = QtWidgets.QLabel(self.CifDataItemsFrame)
        self.spacegroupLabel.setObjectName("spacegroupLabel")
        self.gridLayout_6.addWidget(self.spacegroupLabel, 0, 4, 1, 1)
        spacerItem3 = QtWidgets.QSpacerItem(10, 0, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
        self.gridLayout_6.addItem(spacerItem3, 0, 9, 1, 1)
        self.HelpPushButton = QtWidgets.QPushButton(self.CifDataItemsFrame)
        self.HelpPushButton.setObjectName("HelpPushButton")
        self.gridLayout_6.addWidget(self.HelpPushButton, 0, 12, 1, 1)
        self.MainStackedWidget = MyMainStackedWidget(self.CifDataItemsFrame)
        self.MainStackedWidget.setObjectName("MainStackedWidget")
        self.page_MainTable = QtWidgets.QWidget()
        self.page_MainTable.setObjectName("page_MainTable")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.page_MainTable)
        self.verticalLayout.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout.setSpacing(0)
        self.verticalLayout.setObjectName("verticalLayout")
        self.cif_main_table = MyCifTable(self.page_MainTable)
        self.cif_main_table.setSizeAdjustPolicy(QtWidgets.QAbstractScrollArea.AdjustToContents)
        self.cif_main_table.setAutoScroll(False)
        self.cif_main_table.setEditTriggers(QtWidgets.QAbstractItemView.AllEditTriggers)
        self.cif_main_table.setSelectionBehavior(QtWidgets.QAbstractItemView.SelectRows)
        self.cif_main_table.setVerticalScrollMode(QtWidgets.QAbstractItemView.ScrollPerPixel)
        self.cif_main_table.setHorizontalScrollMode(QtWidgets.QAbstractItemView.ScrollPerPixel)
        self.cif_main_table.setShowGrid(True)
        self.cif_main_table.setGridStyle(QtCore.Qt.SolidLine)
        self.cif_main_table.setWordWrap(True)
        self.cif_main_table.setCornerButtonEnabled(False)
        self.cif_main_table.setColumnCount(3)
        self.cif_main_table.setObjectName("cif_main_table")
        self.cif_main_table.setRowCount(0)
        item = QtWidgets.QTableWidgetItem()
        self.cif_main_table.setHorizontalHeaderItem(0, item)
        item = QtWidgets.QTableWidgetItem()
        self.cif_main_table.setHorizontalHeaderItem(1, item)
        item = QtWidgets.QTableWidgetItem()
        self.cif_main_table.setHorizontalHeaderItem(2, item)
        self.cif_main_table.horizontalHeader().setDefaultSectionSize(152)
        self.cif_main_table.horizontalHeader().setHighlightSections(False)
        self.cif_main_table.horizontalHeader().setMinimumSectionSize(80)
        self.cif_main_table.verticalHeader().setDefaultSectionSize(25)
        self.cif_main_table.verticalHeader().setHighlightSections(True)
        self.cif_main_table.verticalHeader().setMinimumSectionSize(20)
        self.verticalLayout.addWidget(self.cif_main_table)
        self.ButtonsHorizontalLayout = QtWidgets.QHBoxLayout()
        self.ButtonsHorizontalLayout.setSpacing(6)
        self.ButtonsHorizontalLayout.setObjectName("ButtonsHorizontalLayout")
        self.groupBox = QtWidgets.QGroupBox(self.page_MainTable)
        self.groupBox.setTitle("")
        self.groupBox.setObjectName("groupBox")
        self.gridLayout_7 = QtWidgets.QGridLayout(self.groupBox)
        self.gridLayout_7.setContentsMargins(6, 6, 6, 6)
        self.gridLayout_7.setHorizontalSpacing(9)
        self.gridLayout_7.setVerticalSpacing(6)
        self.gridLayout_7.setObjectName("gridLayout_7")
        self.SaveCifButton = QtWidgets.QPushButton(self.groupBox)
        self.SaveCifButton.setObjectName("SaveCifButton")
        self.gridLayout_7.addWidget(self.SaveCifButton, 0, 0, 1, 1)
        self.ExploreDirButton = QtWidgets.QPushButton(self.groupBox)
        self.ExploreDirButton.setObjectName("ExploreDirButton")
        self.gridLayout_7.addWidget(self.ExploreDirButton, 1, 0, 1, 1)
        self.DetailsPushButton = QtWidgets.QPushButton(self.groupBox)
        self.DetailsPushButton.setObjectName("DetailsPushButton")
        self.gridLayout_7.addWidget(self.DetailsPushButton, 0, 1, 1, 1)
        self.AuthorEditPushButton = QtWidgets.QPushButton(self.groupBox)
        self.AuthorEditPushButton.setObjectName("AuthorEditPushButton")
        self.gridLayout_7.addWidget(self.AuthorEditPushButton, 1, 1, 1, 1)
        self.ButtonsHorizontalLayout.addWidget(self.groupBox)
        self.groupBox_checkcif = QtWidgets.QGroupBox(self.page_MainTable)
        self.groupBox_checkcif.setTitle("")
        self.groupBox_checkcif.setObjectName("groupBox_checkcif")
        self.gridLayout_15 = QtWidgets.QGridLayout(self.groupBox_checkcif)
        self.gridLayout_15.setContentsMargins(6, 6, 6, 6)
        self.gridLayout_15.setHorizontalSpacing(9)
        self.gridLayout_15.setVerticalSpacing(6)
        self.gridLayout_15.setObjectName("gridLayout_15")
        self.LoopsPushButton = QtWidgets.QPushButton(self.groupBox_checkcif)
        self.LoopsPushButton.setObjectName("LoopsPushButton")
        self.gridLayout_15.addWidget(self.LoopsPushButton, 1, 0, 1, 1)
        self.ReportPicPushButton = QtWidgets.QPushButton(self.groupBox_checkcif)
        self.ReportPicPushButton.setObjectName("ReportPicPushButton")
        self.gridLayout_15.addWidget(self.ReportPicPushButton, 0, 1, 1, 1)
        self.SaveFullReportButton = QtWidgets.QPushButton(self.groupBox_checkcif)
        self.SaveFullReportButton.setObjectName("SaveFullReportButton")
        self.gridLayout_15.addWidget(self.SaveFullReportButton, 1, 1, 1, 1)
        self.CheckcifStartButton = QtWidgets.QPushButton(self.groupBox_checkcif)
        self.CheckcifStartButton.setObjectName("CheckcifStartButton")
        self.gridLayout_15.addWidget(self.CheckcifStartButton, 0, 0, 1, 1)
        self.ButtonsHorizontalLayout.addWidget(self.groupBox_checkcif)
        self.groupBox_tables = QtWidgets.QGroupBox(self.page_MainTable)
        self.groupBox_tables.setTitle("")
        self.groupBox_tables.setObjectName("groupBox_tables")
        self.gridLayout = QtWidgets.QGridLayout(self.groupBox_tables)
        self.gridLayout.setContentsMargins(6, 6, 6, 6)
        self.gridLayout.setHorizontalSpacing(9)
        self.gridLayout.setVerticalSpacing(6)
        self.gridLayout.setObjectName("gridLayout")
        self.CODpushButton = QtWidgets.QPushButton(self.groupBox_tables)
        self.CODpushButton.setObjectName("CODpushButton")
        self.gridLayout.addWidget(self.CODpushButton, 0, 0, 1, 1)
        self.ShredCifButton = QtWidgets.QPushButton(self.groupBox_tables)
        self.ShredCifButton.setObjectName("ShredCifButton")
        self.gridLayout.addWidget(self.ShredCifButton, 0, 1, 1, 1)
        self.CCDCpushButton = QtWidgets.QPushButton(self.groupBox_tables)
        self.CCDCpushButton.setObjectName("CCDCpushButton")
        self.gridLayout.addWidget(self.CCDCpushButton, 1, 0, 1, 1)
        self.OptionsPushButton = QtWidgets.QPushButton(self.groupBox_tables)
        self.OptionsPushButton.setObjectName("OptionsPushButton")
        self.gridLayout.addWidget(self.OptionsPushButton, 1, 1, 1, 1)
        self.ButtonsHorizontalLayout.addWidget(self.groupBox_tables)
        self.verticalLayout.addLayout(self.ButtonsHorizontalLayout)
        self.MainStackedWidget.addWidget(self.page_MainTable)
        self.page_FinalCif = QtWidgets.QWidget()
        self.page_FinalCif.setObjectName("page_FinalCif")
        self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.page_FinalCif)
        self.verticalLayout_3.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.FinalCifFilePlainTextEdit = QCodeEditor(self.page_FinalCif)
        self.FinalCifFilePlainTextEdit.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByMouse|QtCore.Qt.TextSelectableByKeyboard|QtCore.Qt.TextSelectableByMouse)
        self.FinalCifFilePlainTextEdit.setObjectName("FinalCifFilePlainTextEdit")
        self.verticalLayout_3.addWidget(self.FinalCifFilePlainTextEdit)
        self.gridLayout_10 = QtWidgets.QGridLayout()
        self.gridLayout_10.setObjectName("gridLayout_10")
        self.BackPushButton = QtWidgets.QPushButton(self.page_FinalCif)
        self.BackPushButton.setMinimumSize(QtCore.QSize(120, 0))
        self.BackPushButton.setObjectName("BackPushButton")
        self.gridLayout_10.addWidget(self.BackPushButton, 0, 1, 1, 1)
        spacerItem4 = QtWidgets.QSpacerItem(6, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
        self.gridLayout_10.addItem(spacerItem4, 0, 0, 1, 1)
        spacerItem5 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.gridLayout_10.addItem(spacerItem5, 0, 2, 1, 1)
        spacerItem6 = QtWidgets.QSpacerItem(20, 28, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        self.gridLayout_10.addItem(spacerItem6, 1, 1, 1, 1)
        self.verticalLayout_3.addLayout(self.gridLayout_10)
        self.MainStackedWidget.addWidget(self.page_FinalCif)
        self.page_molinfo = QtWidgets.QWidget()
        self.page_molinfo.setObjectName("page_molinfo")
        self.gridLayout_3 = QtWidgets.QGridLayout(self.page_molinfo)
        self.gridLayout_3.setContentsMargins(0, 0, 0, 0)
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.molGroupBox = QtWidgets.QGroupBox(self.page_molinfo)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(55)
        sizePolicy.setVerticalStretch(80)
        sizePolicy.setHeightForWidth(self.molGroupBox.sizePolicy().hasHeightForWidth())
        self.molGroupBox.setSizePolicy(sizePolicy)
        self.molGroupBox.setObjectName("molGroupBox")
        self.verticalLayout_8 = QtWidgets.QVBoxLayout(self.molGroupBox)
        self.verticalLayout_8.setContentsMargins(6, 3, 6, 8)
        self.verticalLayout_8.setObjectName("verticalLayout_8")
        self.render_widget = MoleculeWidget(self.molGroupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.render_widget.sizePolicy().hasHeightForWidth())
        self.render_widget.setSizePolicy(sizePolicy)
        self.render_widget.setObjectName("render_widget")
        self.verticalLayout_8.addWidget(self.render_widget)
        self.horizontalLayout_7 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_7.setSizeConstraint(QtWidgets.QLayout.SetDefaultConstraint)
        self.horizontalLayout_7.setObjectName("horizontalLayout_7")
        self.growCheckBox = QtWidgets.QCheckBox(self.molGroupBox)
        self.growCheckBox.setMinimumSize(QtCore.QSize(0, 20))
        self.growCheckBox.setObjectName("growCheckBox")
        self.horizontalLayout_7.addWidget(self.growCheckBox)
        self.labelsCheckBox = QtWidgets.QCheckBox(self.molGroupBox)
        self.labelsCheckBox.setMinimumSize(QtCore.QSize(0, 20))
        self.labelsCheckBox.setObjectName("labelsCheckBox")
        self.horizontalLayout_7.addWidget(self.labelsCheckBox)
        spacerItem7 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_7.addItem(spacerItem7)
        self.drawImagePushButton = QtWidgets.QPushButton(self.molGroupBox)
        self.drawImagePushButton.setObjectName("drawImagePushButton")
        self.horizontalLayout_7.addWidget(self.drawImagePushButton)
        spacerItem8 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_7.addItem(spacerItem8)
        self.verticalLayout_8.addLayout(self.horizontalLayout_7)
        self.gridLayout_3.addWidget(self.molGroupBox, 0, 0, 1, 1)
        self.groupBox_9 = QtWidgets.QGroupBox(self.page_molinfo)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(45)
        sizePolicy.setVerticalStretch(80)
        sizePolicy.setHeightForWidth(self.groupBox_9.sizePolicy().hasHeightForWidth())
        self.groupBox_9.setSizePolicy(sizePolicy)
        self.groupBox_9.setObjectName("groupBox_9")
        self.verticalLayout_41 = QtWidgets.QVBoxLayout(self.groupBox_9)
        self.verticalLayout_41.setObjectName("verticalLayout_41")
        self.shelx_TextEdit = QtWidgets.QPlainTextEdit(self.groupBox_9)
        font = QtGui.QFont()
        font.setFamily("Courier New")
        font.setPointSize(11)
        self.shelx_TextEdit.setFont(font)
        self.shelx_TextEdit.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.shelx_TextEdit.setFrameShadow(QtWidgets.QFrame.Plain)
        self.shelx_TextEdit.setUndoRedoEnabled(False)
        self.shelx_TextEdit.setLineWrapMode(QtWidgets.QPlainTextEdit.NoWrap)
        self.shelx_TextEdit.setReadOnly(True)
        self.shelx_TextEdit.setObjectName("shelx_TextEdit")
        self.verticalLayout_41.addWidget(self.shelx_TextEdit)
        self.gridLayout_3.addWidget(self.groupBox_9, 0, 1, 1, 1)
        self.groupBox_3 = QtWidgets.QGroupBox(self.page_molinfo)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(20)
        sizePolicy.setHeightForWidth(self.groupBox_3.sizePolicy().hasHeightForWidth())
        self.groupBox_3.setSizePolicy(sizePolicy)
        self.groupBox_3.setObjectName("groupBox_3")
        self.gridLayout_4 = QtWidgets.QGridLayout(self.groupBox_3)
        self.gridLayout_4.setObjectName("gridLayout_4")
        self.formLayout_3 = QtWidgets.QFormLayout()
        self.formLayout_3.setObjectName("formLayout_3")
        self.zLabel = QtWidgets.QLabel(self.groupBox_3)
        self.zLabel.setObjectName("zLabel")
        self.formLayout_3.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.zLabel)
        self.zLineEdit = QtWidgets.QLineEdit(self.groupBox_3)
        self.zLineEdit.setReadOnly(True)
        self.zLineEdit.setObjectName("zLineEdit")
        self.formLayout_3.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.zLineEdit)
        self.temperatureLabel = QtWidgets.QLabel(self.groupBox_3)
        self.temperatureLabel.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.temperatureLabel.setObjectName("temperatureLabel")
        self.formLayout_3.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.temperatureLabel)
        self.temperatureLineEdit = QtWidgets.QLineEdit(self.groupBox_3)
        self.temperatureLineEdit.setReadOnly(True)
        self.temperatureLineEdit.setObjectName("temperatureLineEdit")
        self.formLayout_3.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.temperatureLineEdit)
        self.wR2Label = QtWidgets.QLabel(self.groupBox_3)
        font = QtGui.QFont()
        font.setBold(False)
        font.setItalic(False)
        font.setWeight(50)
        self.wR2Label.setFont(font)
        self.wR2Label.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.wR2Label.setObjectName("wR2Label")
        self.formLayout_3.setWidget(2, QtWidgets.QFormLayout.LabelRole, self.wR2Label)
        self.wR2LineEdit = QtWidgets.QLineEdit(self.groupBox_3)
        self.wR2LineEdit.setReadOnly(True)
        self.wR2LineEdit.setObjectName("wR2LineEdit")
        self.formLayout_3.setWidget(2, QtWidgets.QFormLayout.FieldRole, self.wR2LineEdit)
        self.r1Label = QtWidgets.QLabel(self.groupBox_3)
        font = QtGui.QFont()
        font.setBold(False)
        font.setItalic(False)
        font.setWeight(50)
        self.r1Label.setFont(font)
        self.r1Label.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.r1Label.setObjectName("r1Label")
        self.formLayout_3.setWidget(3, QtWidgets.QFormLayout.LabelRole, self.r1Label)
        self.r1LineEdit = QtWidgets.QLineEdit(self.groupBox_3)
        self.r1LineEdit.setReadOnly(True)
        self.r1LineEdit.setObjectName("r1LineEdit")
        self.formLayout_3.setWidget(3, QtWidgets.QFormLayout.FieldRole, self.r1LineEdit)
        self.goofLabel = QtWidgets.QLabel(self.groupBox_3)
        self.goofLabel.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.goofLabel.setObjectName("goofLabel")
        self.formLayout_3.setWidget(4, QtWidgets.QFormLayout.LabelRole, self.goofLabel)
        self.goofLineEdit = QtWidgets.QLineEdit(self.groupBox_3)
        self.goofLineEdit.setReadOnly(True)
        self.goofLineEdit.setObjectName("goofLineEdit")
        self.formLayout_3.setWidget(4, QtWidgets.QFormLayout.FieldRole, self.goofLineEdit)
        self.maxShiftLabel = QtWidgets.QLabel(self.groupBox_3)
        self.maxShiftLabel.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.maxShiftLabel.setObjectName("maxShiftLabel")
        self.formLayout_3.setWidget(5, QtWidgets.QFormLayout.LabelRole, self.maxShiftLabel)
        self.maxShiftLineEdit = QtWidgets.QLineEdit(self.groupBox_3)
        self.maxShiftLineEdit.setReadOnly(True)
        self.maxShiftLineEdit.setObjectName("maxShiftLineEdit")
        self.formLayout_3.setWidget(5, QtWidgets.QFormLayout.FieldRole, self.maxShiftLineEdit)
        self.completeLabel = QtWidgets.QLabel(self.groupBox_3)
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.completeLabel.setFont(font)
        self.completeLabel.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.completeLabel.setObjectName("completeLabel")
        self.formLayout_3.setWidget(6, QtWidgets.QFormLayout.LabelRole, self.completeLabel)
        self.completeLineEdit = QtWidgets.QLineEdit(self.groupBox_3)
        self.completeLineEdit.setReadOnly(True)
        self.completeLineEdit.setObjectName("completeLineEdit")
        self.formLayout_3.setWidget(6, QtWidgets.QFormLayout.FieldRole, self.completeLineEdit)
        self.gridLayout_4.addLayout(self.formLayout_3, 0, 2, 1, 1)
        spacerItem9 = QtWidgets.QSpacerItem(20, 12, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.MinimumExpanding)
        self.gridLayout_4.addItem(spacerItem9, 1, 2, 1, 1)
        spacerItem10 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.gridLayout_4.addItem(spacerItem10, 0, 7, 1, 1)
        self.formLayout_2 = QtWidgets.QFormLayout()
        self.formLayout_2.setObjectName("formLayout_2")
        self.reflTotalLabel = QtWidgets.QLabel(self.groupBox_3)
        self.reflTotalLabel.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.reflTotalLabel.setObjectName("reflTotalLabel")
        self.formLayout_2.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.reflTotalLabel)
        self.reflTotalLineEdit = QtWidgets.QLineEdit(self.groupBox_3)
        self.reflTotalLineEdit.setReadOnly(True)
        self.reflTotalLineEdit.setObjectName("reflTotalLineEdit")
        self.formLayout_2.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.reflTotalLineEdit)
        self.refl2sigmaLabel = QtWidgets.QLabel(self.groupBox_3)
        self.refl2sigmaLabel.setObjectName("refl2sigmaLabel")
        self.formLayout_2.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.refl2sigmaLabel)
        self.refl2sigmaLineEdit = QtWidgets.QLineEdit(self.groupBox_3)
        self.refl2sigmaLineEdit.setObjectName("refl2sigmaLineEdit")
        self.formLayout_2.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.refl2sigmaLineEdit)
        self.uniqReflLabel = QtWidgets.QLabel(self.groupBox_3)
        self.uniqReflLabel.setObjectName("uniqReflLabel")
        self.formLayout_2.setWidget(2, QtWidgets.QFormLayout.LabelRole, self.uniqReflLabel)
        self.uniqReflLineEdit = QtWidgets.QLineEdit(self.groupBox_3)
        self.uniqReflLineEdit.setObjectName("uniqReflLineEdit")
        self.formLayout_2.setWidget(2, QtWidgets.QFormLayout.FieldRole, self.uniqReflLineEdit)
        self.numParametersLabel = QtWidgets.QLabel(self.groupBox_3)
        self.numParametersLabel.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.numParametersLabel.setObjectName("numParametersLabel")
        self.formLayout_2.setWidget(3, QtWidgets.QFormLayout.LabelRole, self.numParametersLabel)
        self.numParametersLineEdit = QtWidgets.QLineEdit(self.groupBox_3)
        self.numParametersLineEdit.setMinimumSize(QtCore.QSize(0, 0))
        self.numParametersLineEdit.setReadOnly(True)
        self.numParametersLineEdit.setObjectName("numParametersLineEdit")
        self.formLayout_2.setWidget(3, QtWidgets.QFormLayout.FieldRole, self.numParametersLineEdit)
        self.dataReflnsLabel = QtWidgets.QLabel(self.groupBox_3)
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.dataReflnsLabel.setFont(font)
        self.dataReflnsLabel.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.dataReflnsLabel.setObjectName("dataReflnsLabel")
        self.formLayout_2.setWidget(4, QtWidgets.QFormLayout.LabelRole, self.dataReflnsLabel)
        self.dataReflnsLineEdit = QtWidgets.QLineEdit(self.groupBox_3)
        self.dataReflnsLineEdit.setReadOnly(True)
        self.dataReflnsLineEdit.setObjectName("dataReflnsLineEdit")
        self.formLayout_2.setWidget(4, QtWidgets.QFormLayout.FieldRole, self.dataReflnsLineEdit)
        self.wavelengthLabel = QtWidgets.QLabel(self.groupBox_3)
        self.wavelengthLabel.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.wavelengthLabel.setObjectName("wavelengthLabel")
        self.formLayout_2.setWidget(5, QtWidgets.QFormLayout.LabelRole, self.wavelengthLabel)
        self.wavelengthLineEdit = QtWidgets.QLineEdit(self.groupBox_3)
        self.wavelengthLineEdit.setReadOnly(True)
        self.wavelengthLineEdit.setObjectName("wavelengthLineEdit")
        self.formLayout_2.setWidget(5, QtWidgets.QFormLayout.FieldRole, self.wavelengthLineEdit)
        self.flackXLabel = QtWidgets.QLabel(self.groupBox_3)
        self.flackXLabel.setObjectName("flackXLabel")
        self.formLayout_2.setWidget(6, QtWidgets.QFormLayout.LabelRole, self.flackXLabel)
        self.flackXLineEdit = QtWidgets.QLineEdit(self.groupBox_3)
        self.flackXLineEdit.setObjectName("flackXLineEdit")
        self.formLayout_2.setWidget(6, QtWidgets.QFormLayout.FieldRole, self.flackXLineEdit)
        self.gridLayout_4.addLayout(self.formLayout_2, 0, 6, 1, 1)
        self.groupBox_4 = QtWidgets.QGroupBox(self.groupBox_3)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox_4.sizePolicy().hasHeightForWidth())
        self.groupBox_4.setSizePolicy(sizePolicy)
        self.groupBox_4.setObjectName("groupBox_4")
        self.gridLayout_9 = QtWidgets.QGridLayout(self.groupBox_4)
        self.gridLayout_9.setObjectName("gridLayout_9")
        self.cellField = QtWidgets.QLabel(self.groupBox_4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cellField.sizePolicy().hasHeightForWidth())
        self.cellField.setSizePolicy(sizePolicy)
        self.cellField.setMinimumSize(QtCore.QSize(0, 75))
        self.cellField.setBaseSize(QtCore.QSize(0, 75))
        self.cellField.setContextMenuPolicy(QtCore.Qt.ActionsContextMenu)
        self.cellField.setAutoFillBackground(False)
        self.cellField.setStyleSheet("border-color: rgb(53, 53, 53);")
        self.cellField.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.cellField.setFrameShadow(QtWidgets.QFrame.Plain)
        self.cellField.setText("")
        self.cellField.setTextFormat(QtCore.Qt.RichText)
        self.cellField.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
        self.cellField.setObjectName("cellField")
        self.gridLayout_9.addWidget(self.cellField, 0, 2, 1, 1)
        self.gridLayout_4.addWidget(self.groupBox_4, 0, 0, 1, 1)
        spacerItem11 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Minimum)
        self.gridLayout_4.addItem(spacerItem11, 0, 5, 1, 1)
        self.formLayout = QtWidgets.QFormLayout()
        self.formLayout.setObjectName("formLayout")
        self.peakLabel = QtWidgets.QLabel(self.groupBox_3)
        self.peakLabel.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.peakLabel.setObjectName("peakLabel")
        self.formLayout.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.peakLabel)
        self.peakLineEdit = QtWidgets.QLineEdit(self.groupBox_3)
        self.peakLineEdit.setReadOnly(True)
        self.peakLineEdit.setObjectName("peakLineEdit")
        self.formLayout.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.peakLineEdit)
        self.rintLabel = QtWidgets.QLabel(self.groupBox_3)
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.rintLabel.setFont(font)
        self.rintLabel.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.rintLabel.setObjectName("rintLabel")
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.rintLabel)
        self.rintLineEdit = QtWidgets.QLineEdit(self.groupBox_3)
        self.rintLineEdit.setReadOnly(True)
        self.rintLineEdit.setObjectName("rintLineEdit")
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.rintLineEdit)
        self.rsigmaLabel = QtWidgets.QLabel(self.groupBox_3)
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.rsigmaLabel.setFont(font)
        self.rsigmaLabel.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.rsigmaLabel.setObjectName("rsigmaLabel")
        self.formLayout.setWidget(2, QtWidgets.QFormLayout.LabelRole, self.rsigmaLabel)
        self.rsigmaLineEdit = QtWidgets.QLineEdit(self.groupBox_3)
        self.rsigmaLineEdit.setReadOnly(True)
        self.rsigmaLineEdit.setObjectName("rsigmaLineEdit")
        self.formLayout.setWidget(2, QtWidgets.QFormLayout.FieldRole, self.rsigmaLineEdit)
        self.numRestraintsLabel = QtWidgets.QLabel(self.groupBox_3)
        self.numRestraintsLabel.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.numRestraintsLabel.setObjectName("numRestraintsLabel")
        self.formLayout.setWidget(3, QtWidgets.QFormLayout.LabelRole, self.numRestraintsLabel)
        self.numRestraintsLineEdit = QtWidgets.QLineEdit(self.groupBox_3)
        self.numRestraintsLineEdit.setReadOnly(True)
        self.numRestraintsLineEdit.setObjectName("numRestraintsLineEdit")
        self.formLayout.setWidget(3, QtWidgets.QFormLayout.FieldRole, self.numRestraintsLineEdit)
        self.thetaMaxLabel = QtWidgets.QLabel(self.groupBox_3)
        self.thetaMaxLabel.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.thetaMaxLabel.setObjectName("thetaMaxLabel")
        self.formLayout.setWidget(4, QtWidgets.QFormLayout.LabelRole, self.thetaMaxLabel)
        self.thetaMaxLineEdit = QtWidgets.QLineEdit(self.groupBox_3)
        self.thetaMaxLineEdit.setReadOnly(True)
        self.thetaMaxLineEdit.setObjectName("thetaMaxLineEdit")
        self.formLayout.setWidget(4, QtWidgets.QFormLayout.FieldRole, self.thetaMaxLineEdit)
        self.thetaFullLabel = QtWidgets.QLabel(self.groupBox_3)
        self.thetaFullLabel.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.thetaFullLabel.setObjectName("thetaFullLabel")
        self.formLayout.setWidget(5, QtWidgets.QFormLayout.LabelRole, self.thetaFullLabel)
        self.thetaFullLineEdit = QtWidgets.QLineEdit(self.groupBox_3)
        self.thetaFullLineEdit.setReadOnly(True)
        self.thetaFullLineEdit.setObjectName("thetaFullLineEdit")
        self.formLayout.setWidget(5, QtWidgets.QFormLayout.FieldRole, self.thetaFullLineEdit)
        self.dLabel = QtWidgets.QLabel(self.groupBox_3)
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.dLabel.setFont(font)
        self.dLabel.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.dLabel.setObjectName("dLabel")
        self.formLayout.setWidget(6, QtWidgets.QFormLayout.LabelRole, self.dLabel)
        self.dLineEdit = QtWidgets.QLineEdit(self.groupBox_3)
        self.dLineEdit.setReadOnly(True)
        self.dLineEdit.setObjectName("dLineEdit")
        self.formLayout.setWidget(6, QtWidgets.QFormLayout.FieldRole, self.dLineEdit)
        self.gridLayout_4.addLayout(self.formLayout, 0, 4, 1, 1)
        self.BackpushButtonDetails = QtWidgets.QPushButton(self.groupBox_3)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.BackpushButtonDetails.sizePolicy().hasHeightForWidth())
        self.BackpushButtonDetails.setSizePolicy(sizePolicy)
        self.BackpushButtonDetails.setObjectName("BackpushButtonDetails")
        self.gridLayout_4.addWidget(self.BackpushButtonDetails, 2, 0, 1, 1)
        spacerItem12 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Minimum)
        self.gridLayout_4.addItem(spacerItem12, 0, 3, 1, 1)
        spacerItem13 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Minimum)
        self.gridLayout_4.addItem(spacerItem13, 0, 1, 1, 1)
        self.SourcesPushButton = QtWidgets.QPushButton(self.groupBox_3)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.SourcesPushButton.sizePolicy().hasHeightForWidth())
        self.SourcesPushButton.setSizePolicy(sizePolicy)
        self.SourcesPushButton.setObjectName("SourcesPushButton")
        self.gridLayout_4.addWidget(self.SourcesPushButton, 2, 7, 1, 1)
        self.gridLayout_3.addWidget(self.groupBox_3, 1, 0, 1, 3)
        self.MainStackedWidget.addWidget(self.page_molinfo)
        self.page_Sources = QtWidgets.QWidget()
        self.page_Sources.setObjectName("page_Sources")
        self.gridLayout_11 = QtWidgets.QGridLayout(self.page_Sources)
        self.gridLayout_11.setContentsMargins(0, 0, 0, 0)
        self.gridLayout_11.setObjectName("gridLayout_11")
        spacerItem14 = QtWidgets.QSpacerItem(3, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
        self.gridLayout_11.addItem(spacerItem14, 1, 1, 1, 1)
        self.groupBox_2 = QtWidgets.QGroupBox(self.page_Sources)
        self.groupBox_2.setTitle("")
        self.groupBox_2.setObjectName("groupBox_2")
        self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.groupBox_2)
        self.verticalLayout_4.setObjectName("verticalLayout_4")
        self.label_3 = QtWidgets.QLabel(self.groupBox_2)
        self.label_3.setObjectName("label_3")
        self.verticalLayout_4.addWidget(self.label_3)
        self.SourcesTableWidget = QtWidgets.QTableWidget(self.groupBox_2)
        self.SourcesTableWidget.setWordWrap(False)
        self.SourcesTableWidget.setObjectName("SourcesTableWidget")
        self.SourcesTableWidget.setColumnCount(3)
        self.SourcesTableWidget.setRowCount(0)
        item = QtWidgets.QTableWidgetItem()
        self.SourcesTableWidget.setHorizontalHeaderItem(0, item)
        item = QtWidgets.QTableWidgetItem()
        self.SourcesTableWidget.setHorizontalHeaderItem(1, item)
        item = QtWidgets.QTableWidgetItem()
        self.SourcesTableWidget.setHorizontalHeaderItem(2, item)
        self.SourcesTableWidget.horizontalHeader().setStretchLastSection(True)
        self.SourcesTableWidget.verticalHeader().setVisible(False)
        self.verticalLayout_4.addWidget(self.SourcesTableWidget)
        self.gridLayout_11.addWidget(self.groupBox_2, 0, 1, 1, 3)
        self.BackSourcesPushButton = QtWidgets.QPushButton(self.page_Sources)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.BackSourcesPushButton.sizePolicy().hasHeightForWidth())
        self.BackSourcesPushButton.setSizePolicy(sizePolicy)
        self.BackSourcesPushButton.setObjectName("BackSourcesPushButton")
        self.gridLayout_11.addWidget(self.BackSourcesPushButton, 1, 2, 1, 2)
        self.MainStackedWidget.addWidget(self.page_Sources)
        self.page_options = QtWidgets.QWidget()
        self.page_options.setObjectName("page_options")
        self.gridLayout_12 = QtWidgets.QGridLayout(self.page_options)
        self.gridLayout_12.setContentsMargins(0, 0, 0, 0)
        self.gridLayout_12.setObjectName("gridLayout_12")
        self.groupBox_COD = QtWidgets.QGroupBox(self.page_options)
        self.groupBox_COD.setObjectName("groupBox_COD")
        self.formLayout_6 = QtWidgets.QFormLayout(self.groupBox_COD)
        self.formLayout_6.setObjectName("formLayout_6")
        self.label_7 = QtWidgets.QLabel(self.groupBox_COD)
        self.label_7.setObjectName("label_7")
        self.formLayout_6.setWidget(0, QtWidgets.QFormLayout.SpanningRole, self.label_7)
        self.CODURLTextedit = QtWidgets.QLineEdit(self.groupBox_COD)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.CODURLTextedit.sizePolicy().hasHeightForWidth())
        self.CODURLTextedit.setSizePolicy(sizePolicy)
        self.CODURLTextedit.setMinimumSize(QtCore.QSize(300, 0))
        self.CODURLTextedit.setObjectName("CODURLTextedit")
        self.formLayout_6.setWidget(1, QtWidgets.QFormLayout.SpanningRole, self.CODURLTextedit)
        self.gridLayout_12.addWidget(self.groupBox_COD, 2, 1, 1, 1)
        self.groupBox_7 = QtWidgets.QGroupBox(self.page_options)
        self.groupBox_7.setObjectName("groupBox_7")
        self.formLayout_4 = QtWidgets.QFormLayout(self.groupBox_7)
        self.formLayout_4.setObjectName("formLayout_4")
        self.label_4 = QtWidgets.QLabel(self.groupBox_7)
        self.label_4.setObjectName("label_4")
        self.formLayout_4.setWidget(0, QtWidgets.QFormLayout.SpanningRole, self.label_4)
        self.CheckCIFServerURLTextedit = QtWidgets.QLineEdit(self.groupBox_7)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.CheckCIFServerURLTextedit.sizePolicy().hasHeightForWidth())
        self.CheckCIFServerURLTextedit.setSizePolicy(sizePolicy)
        self.CheckCIFServerURLTextedit.setMinimumSize(QtCore.QSize(300, 0))
        self.CheckCIFServerURLTextedit.setObjectName("CheckCIFServerURLTextedit")
        self.formLayout_4.setWidget(1, QtWidgets.QFormLayout.SpanningRole, self.CheckCIFServerURLTextedit)
        self.gridLayout_12.addWidget(self.groupBox_7, 2, 0, 1, 1)
        self.BackFromOptionspPushButton = QtWidgets.QPushButton(self.page_options)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.BackFromOptionspPushButton.sizePolicy().hasHeightForWidth())
        self.BackFromOptionspPushButton.setSizePolicy(sizePolicy)
        self.BackFromOptionspPushButton.setObjectName("BackFromOptionspPushButton")
        self.gridLayout_12.addWidget(self.BackFromOptionspPushButton, 7, 0, 1, 1)
        self.groupBox_8 = QtWidgets.QGroupBox(self.page_options)
        self.groupBox_8.setObjectName("groupBox_8")
        self.verticalLayout_34 = QtWidgets.QVBoxLayout(self.groupBox_8)
        self.verticalLayout_34.setObjectName("verticalLayout_34")
        self.ExportAllTemplatesPushButton = QtWidgets.QPushButton(self.groupBox_8)
        self.ExportAllTemplatesPushButton.setObjectName("ExportAllTemplatesPushButton")
        self.verticalLayout_34.addWidget(self.ExportAllTemplatesPushButton, 0, QtCore.Qt.AlignLeft)
        self.label_18 = QtWidgets.QLabel(self.groupBox_8)
        self.label_18.setObjectName("label_18")
        self.verticalLayout_34.addWidget(self.label_18)
        spacerItem15 = QtWidgets.QSpacerItem(20, 10, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        self.verticalLayout_34.addItem(spacerItem15)
        self.ImportAllTemplatesPushButton = QtWidgets.QPushButton(self.groupBox_8)
        self.ImportAllTemplatesPushButton.setObjectName("ImportAllTemplatesPushButton")
        self.verticalLayout_34.addWidget(self.ImportAllTemplatesPushButton, 0, QtCore.Qt.AlignLeft)
        self.label_17 = QtWidgets.QLabel(self.groupBox_8)
        self.label_17.setObjectName("label_17")
        self.verticalLayout_34.addWidget(self.label_17)
        self.gridLayout_12.addWidget(self.groupBox_8, 3, 0, 1, 1)
        self.groupBox_10 = QtWidgets.QGroupBox(self.page_options)
        self.groupBox_10.setObjectName("groupBox_10")
        self.verticalLayout_37 = QtWidgets.QVBoxLayout(self.groupBox_10)
        self.verticalLayout_37.setObjectName("verticalLayout_37")
        self.trackChangesCifCheckBox = QtWidgets.QCheckBox(self.groupBox_10)
        self.trackChangesCifCheckBox.setObjectName("trackChangesCifCheckBox")
        self.verticalLayout_37.addWidget(self.trackChangesCifCheckBox)
        spacerItem16 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_37.addItem(spacerItem16)
        self.gridLayout_12.addWidget(self.groupBox_10, 4, 0, 2, 1)
        self.PropertiesGroupBox = QtWidgets.QGroupBox(self.page_options)
        self.PropertiesGroupBox.setObjectName("PropertiesGroupBox")
        self.verticalLayout_6 = QtWidgets.QVBoxLayout(self.PropertiesGroupBox)
        self.verticalLayout_6.setObjectName("verticalLayout_6")
        self.PropertiesTemplatesStackedWidget = QtWidgets.QStackedWidget(self.PropertiesGroupBox)
        self.PropertiesTemplatesStackedWidget.setObjectName("PropertiesTemplatesStackedWidget")
        self.PropertiesSelectPage = QtWidgets.QWidget()
        self.PropertiesSelectPage.setObjectName("PropertiesSelectPage")
        self.verticalLayout_20 = QtWidgets.QVBoxLayout(self.PropertiesSelectPage)
        self.verticalLayout_20.setContentsMargins(0, 3, 0, 3)
        self.verticalLayout_20.setObjectName("verticalLayout_20")
        self.PropertiesTemplatesListWidget = QtWidgets.QListWidget(self.PropertiesSelectPage)
        self.PropertiesTemplatesListWidget.setSelectionMode(QtWidgets.QAbstractItemView.SingleSelection)
        self.PropertiesTemplatesListWidget.setSelectionBehavior(QtWidgets.QAbstractItemView.SelectRows)
        self.PropertiesTemplatesListWidget.setObjectName("PropertiesTemplatesListWidget")
        self.verticalLayout_20.addWidget(self.PropertiesTemplatesListWidget)
        self.horizontalLayout_Buttons2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_Buttons2.setObjectName("horizontalLayout_Buttons2")
        self.EditPropertyTemplateButton = QtWidgets.QPushButton(self.PropertiesSelectPage)
        self.EditPropertyTemplateButton.setObjectName("EditPropertyTemplateButton")
        self.horizontalLayout_Buttons2.addWidget(self.EditPropertyTemplateButton)
        self.NewPropertyTemplateButton = QtWidgets.QPushButton(self.PropertiesSelectPage)
        self.NewPropertyTemplateButton.setObjectName("NewPropertyTemplateButton")
        self.horizontalLayout_Buttons2.addWidget(self.NewPropertyTemplateButton)
        self.ImportPropertyTemplateButton = QtWidgets.QPushButton(self.PropertiesSelectPage)
        self.ImportPropertyTemplateButton.setObjectName("ImportPropertyTemplateButton")
        self.horizontalLayout_Buttons2.addWidget(self.ImportPropertyTemplateButton)
        self.verticalLayout_20.addLayout(self.horizontalLayout_Buttons2)
        self.PropertiesTemplatesStackedWidget.addWidget(self.PropertiesSelectPage)
        self.PropertiesEditPage = QtWidgets.QWidget()
        self.PropertiesEditPage.setObjectName("PropertiesEditPage")
        self.verticalLayout_22 = QtWidgets.QVBoxLayout(self.PropertiesEditPage)
        self.verticalLayout_22.setContentsMargins(0, 3, 0, 3)
        self.verticalLayout_22.setObjectName("verticalLayout_22")
        self.KeywordVerticalLayout = QtWidgets.QVBoxLayout()
        self.KeywordVerticalLayout.setObjectName("KeywordVerticalLayout")
        self.cifKeywordLB = QtWidgets.QLabel(self.PropertiesEditPage)
        self.cifKeywordLB.setObjectName("cifKeywordLB")
        self.KeywordVerticalLayout.addWidget(self.cifKeywordLB)
        self.cifKeywordLineEdit = QtWidgets.QLineEdit(self.PropertiesEditPage)
        self.cifKeywordLineEdit.setObjectName("cifKeywordLineEdit")
        self.KeywordVerticalLayout.addWidget(self.cifKeywordLineEdit)
        self.verticalLayout_22.addLayout(self.KeywordVerticalLayout)
        self.PropertiesEditTableWidget = MyPropTableWidget(self.PropertiesEditPage)
        self.PropertiesEditTableWidget.setAutoScroll(False)
        self.PropertiesEditTableWidget.setEditTriggers(QtWidgets.QAbstractItemView.AllEditTriggers)
        self.PropertiesEditTableWidget.setSelectionMode(QtWidgets.QAbstractItemView.SingleSelection)
        self.PropertiesEditTableWidget.setSelectionBehavior(QtWidgets.QAbstractItemView.SelectRows)
        self.PropertiesEditTableWidget.setVerticalScrollMode(QtWidgets.QAbstractItemView.ScrollPerPixel)
        self.PropertiesEditTableWidget.setHorizontalScrollMode(QtWidgets.QAbstractItemView.ScrollPerPixel)
        self.PropertiesEditTableWidget.setRowCount(1)
        self.PropertiesEditTableWidget.setObjectName("PropertiesEditTableWidget")
        self.PropertiesEditTableWidget.setColumnCount(1)
        item = QtWidgets.QTableWidgetItem()
        self.PropertiesEditTableWidget.setHorizontalHeaderItem(0, item)
        self.PropertiesEditTableWidget.horizontalHeader().setVisible(False)
        self.PropertiesEditTableWidget.horizontalHeader().setDefaultSectionSize(170)
        self.PropertiesEditTableWidget.horizontalHeader().setMinimumSectionSize(90)
        self.PropertiesEditTableWidget.horizontalHeader().setStretchLastSection(True)
        self.PropertiesEditTableWidget.verticalHeader().setVisible(False)
        self.PropertiesEditTableWidget.verticalHeader().setDefaultSectionSize(30)
        self.verticalLayout_22.addWidget(self.PropertiesEditTableWidget)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.DeletePropertiesButton = QtWidgets.QPushButton(self.PropertiesEditPage)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.DeletePropertiesButton.sizePolicy().hasHeightForWidth())
        self.DeletePropertiesButton.setSizePolicy(sizePolicy)
        self.DeletePropertiesButton.setObjectName("DeletePropertiesButton")
        self.horizontalLayout.addWidget(self.DeletePropertiesButton)
        self.SavePropertiesButton = QtWidgets.QPushButton(self.PropertiesEditPage)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.SavePropertiesButton.sizePolicy().hasHeightForWidth())
        self.SavePropertiesButton.setSizePolicy(sizePolicy)
        self.SavePropertiesButton.setObjectName("SavePropertiesButton")
        self.horizontalLayout.addWidget(self.SavePropertiesButton)
        self.CancelPropertiesButton = QtWidgets.QPushButton(self.PropertiesEditPage)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.CancelPropertiesButton.sizePolicy().hasHeightForWidth())
        self.CancelPropertiesButton.setSizePolicy(sizePolicy)
        self.CancelPropertiesButton.setObjectName("CancelPropertiesButton")
        self.horizontalLayout.addWidget(self.CancelPropertiesButton)
        self.ExportPropertyButton = QtWidgets.QPushButton(self.PropertiesEditPage)
        self.ExportPropertyButton.setObjectName("ExportPropertyButton")
        self.horizontalLayout.addWidget(self.ExportPropertyButton)
        self.verticalLayout_22.addLayout(self.horizontalLayout)
        self.PropertiesTemplatesStackedWidget.addWidget(self.PropertiesEditPage)
        self.verticalLayout_6.addWidget(self.PropertiesTemplatesStackedWidget)
        self.gridLayout_12.addWidget(self.PropertiesGroupBox, 3, 1, 3, 1)
        self.MainStackedWidget.addWidget(self.page_options)
        self.page_Loops = QtWidgets.QWidget()
        self.page_Loops.setObjectName("page_Loops")
        self.verticalLayout_9 = QtWidgets.QVBoxLayout(self.page_Loops)
        self.verticalLayout_9.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_9.setObjectName("verticalLayout_9")
        self.LoopsTabWidget = QtWidgets.QTabWidget(self.page_Loops)
        self.LoopsTabWidget.setObjectName("LoopsTabWidget")
        self.tab_2 = QtWidgets.QWidget()
        self.tab_2.setObjectName("tab_2")
        self.gridLayout_2 = QtWidgets.QGridLayout(self.tab_2)
        self.gridLayout_2.setObjectName("gridLayout_2")
        spacerItem17 = QtWidgets.QSpacerItem(0, 0, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        self.gridLayout_2.addItem(spacerItem17, 0, 1, 1, 1)
        self.authorEditTabWidget = QtWidgets.QTabWidget(self.tab_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(45)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.authorEditTabWidget.sizePolicy().hasHeightForWidth())
        self.authorEditTabWidget.setSizePolicy(sizePolicy)
        self.authorEditTabWidget.setObjectName("authorEditTabWidget")
        self.page_publication = QtWidgets.QWidget()
        self.page_publication.setObjectName("page_publication")
        self.verticalLayout_23 = QtWidgets.QVBoxLayout(self.page_publication)
        self.verticalLayout_23.setObjectName("verticalLayout_23")
        self.verticalLayout_24 = QtWidgets.QVBoxLayout()
        self.verticalLayout_24.setObjectName("verticalLayout_24")
        self.label_20 = QtWidgets.QLabel(self.page_publication)
        self.label_20.setObjectName("label_20")
        self.verticalLayout_24.addWidget(self.label_20)
        self.gridLayout_5 = QtWidgets.QGridLayout()
        self.gridLayout_5.setObjectName("gridLayout_5")
        self.label_34 = QtWidgets.QLabel(self.page_publication)
        self.label_34.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_34.setObjectName("label_34")
        self.gridLayout_5.addWidget(self.label_34, 5, 0, 1, 1)
        self.footnote_label = QtWidgets.QLabel(self.page_publication)
        self.footnote_label.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.footnote_label.setObjectName("footnote_label")
        self.gridLayout_5.addWidget(self.footnote_label, 7, 0, 1, 1)
        self.label_21 = QtWidgets.QLabel(self.page_publication)
        self.label_21.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_21.setObjectName("label_21")
        self.gridLayout_5.addWidget(self.label_21, 2, 0, 1, 1)
        self.label_28 = QtWidgets.QLabel(self.page_publication)
        self.label_28.setScaledContents(False)
        self.label_28.setObjectName("label_28")
        self.gridLayout_5.addWidget(self.label_28, 2, 2, 1, 1)
        self.PhoneLineEdit = QtWidgets.QLineEdit(self.page_publication)
        self.PhoneLineEdit.setObjectName("PhoneLineEdit")
        self.gridLayout_5.addWidget(self.PhoneLineEdit, 4, 1, 1, 1)
        self.ContactAuthorCheckBox = QtWidgets.QCheckBox(self.page_publication)
        self.ContactAuthorCheckBox.setObjectName("ContactAuthorCheckBox")
        self.gridLayout_5.addWidget(self.ContactAuthorCheckBox, 1, 1, 1, 1)
        self.label_22 = QtWidgets.QLabel(self.page_publication)
        self.label_22.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_22.setOpenExternalLinks(True)
        self.label_22.setObjectName("label_22")
        self.gridLayout_5.addWidget(self.label_22, 0, 0, 1, 1)
        self.EmailLabel = QtWidgets.QLabel(self.page_publication)
        self.EmailLabel.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.EmailLabel.setObjectName("EmailLabel")
        self.gridLayout_5.addWidget(self.EmailLabel, 3, 0, 1, 1)
        self.FootNoteLineEdit = QtWidgets.QLineEdit(self.page_publication)
        self.FootNoteLineEdit.setObjectName("FootNoteLineEdit")
        self.gridLayout_5.addWidget(self.FootNoteLineEdit, 7, 1, 1, 1)
        self.label_27 = QtWidgets.QLabel(self.page_publication)
        self.label_27.setScaledContents(False)
        self.label_27.setObjectName("label_27")
        self.gridLayout_5.addWidget(self.label_27, 0, 2, 1, 1)
        self.PhoneLabel = QtWidgets.QLabel(self.page_publication)
        self.PhoneLabel.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.PhoneLabel.setObjectName("PhoneLabel")
        self.gridLayout_5.addWidget(self.PhoneLabel, 4, 0, 1, 1)
        self.AddressTextedit = QtWidgets.QTextEdit(self.page_publication)
        self.AddressTextedit.setObjectName("AddressTextedit")
        self.gridLayout_5.addWidget(self.AddressTextedit, 2, 1, 1, 1)
        self.FullNameLineEdit = QtWidgets.QLineEdit(self.page_publication)
        self.FullNameLineEdit.setObjectName("FullNameLineEdit")
        self.gridLayout_5.addWidget(self.FullNameLineEdit, 0, 1, 1, 1)
        self.EMailLineEdit = QtWidgets.QLineEdit(self.page_publication)
        self.EMailLineEdit.setObjectName("EMailLineEdit")
        self.gridLayout_5.addWidget(self.EMailLineEdit, 3, 1, 1, 1)
        self.ORCIDLineEdit = QtWidgets.QLineEdit(self.page_publication)
        self.ORCIDLineEdit.setObjectName("ORCIDLineEdit")
        self.gridLayout_5.addWidget(self.ORCIDLineEdit, 5, 1, 1, 1)
        self.label_36 = QtWidgets.QLabel(self.page_publication)
        self.label_36.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_36.setObjectName("label_36")
        self.gridLayout_5.addWidget(self.label_36, 6, 0, 1, 1)
        self.IUCRIDLineEdit = QtWidgets.QLineEdit(self.page_publication)
        self.IUCRIDLineEdit.setObjectName("IUCRIDLineEdit")
        self.gridLayout_5.addWidget(self.IUCRIDLineEdit, 6, 1, 1, 1)
        self.verticalLayout_24.addLayout(self.gridLayout_5)
        self.verticalLayout_23.addLayout(self.verticalLayout_24)
        self.verticalLayout_32 = QtWidgets.QVBoxLayout()
        self.verticalLayout_32.setObjectName("verticalLayout_32")
        self.SaveAuthorLoopToTemplateButton = QtWidgets.QPushButton(self.page_publication)
        self.SaveAuthorLoopToTemplateButton.setObjectName("SaveAuthorLoopToTemplateButton")
        self.verticalLayout_32.addWidget(self.SaveAuthorLoopToTemplateButton, 0, QtCore.Qt.AlignRight)
        self.AddThisAuthorToLoopPushButton = QtWidgets.QPushButton(self.page_publication)
        self.AddThisAuthorToLoopPushButton.setObjectName("AddThisAuthorToLoopPushButton")
        self.verticalLayout_32.addWidget(self.AddThisAuthorToLoopPushButton)
        self.verticalLayout_23.addLayout(self.verticalLayout_32)
        self.authorEditTabWidget.addTab(self.page_publication, "")
        self.page_audit = QtWidgets.QWidget()
        self.page_audit.setObjectName("page_audit")
        self.verticalLayout_40 = QtWidgets.QVBoxLayout(self.page_audit)
        self.verticalLayout_40.setObjectName("verticalLayout_40")
        self.verticalLayout_38 = QtWidgets.QVBoxLayout()
        self.verticalLayout_38.setObjectName("verticalLayout_38")
        self.label_23 = QtWidgets.QLabel(self.page_audit)
        self.label_23.setObjectName("label_23")
        self.verticalLayout_38.addWidget(self.label_23)
        self.gridLayout_25 = QtWidgets.QGridLayout()
        self.gridLayout_25.setObjectName("gridLayout_25")
        self.label_29 = QtWidgets.QLabel(self.page_audit)
        self.label_29.setScaledContents(False)
        self.label_29.setObjectName("label_29")
        self.gridLayout_25.addWidget(self.label_29, 0, 2, 1, 1)
        self.label_24 = QtWidgets.QLabel(self.page_audit)
        self.label_24.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_24.setOpenExternalLinks(True)
        self.label_24.setObjectName("label_24")
        self.gridLayout_25.addWidget(self.label_24, 0, 0, 1, 1)
        self.label_30 = QtWidgets.QLabel(self.page_audit)
        self.label_30.setScaledContents(False)
        self.label_30.setObjectName("label_30")
        self.gridLayout_25.addWidget(self.label_30, 2, 2, 1, 1)
        self.EmailLabel_cif = QtWidgets.QLabel(self.page_audit)
        self.EmailLabel_cif.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.EmailLabel_cif.setObjectName("EmailLabel_cif")
        self.gridLayout_25.addWidget(self.EmailLabel_cif, 3, 0, 1, 1)
        self.PhoneLineEdit_cif = QtWidgets.QLineEdit(self.page_audit)
        self.PhoneLineEdit_cif.setObjectName("PhoneLineEdit_cif")
        self.gridLayout_25.addWidget(self.PhoneLineEdit_cif, 4, 1, 1, 1)
        self.ContactAuthorCheckBox_cif = QtWidgets.QCheckBox(self.page_audit)
        self.ContactAuthorCheckBox_cif.setObjectName("ContactAuthorCheckBox_cif")
        self.gridLayout_25.addWidget(self.ContactAuthorCheckBox_cif, 1, 1, 1, 1)
        self.AddressTextedit_cif = QtWidgets.QTextEdit(self.page_audit)
        self.AddressTextedit_cif.setObjectName("AddressTextedit_cif")
        self.gridLayout_25.addWidget(self.AddressTextedit_cif, 2, 1, 1, 1)
        self.label_25 = QtWidgets.QLabel(self.page_audit)
        self.label_25.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_25.setObjectName("label_25")
        self.gridLayout_25.addWidget(self.label_25, 2, 0, 1, 1)
        self.FullNameLineEdit_cif = QtWidgets.QLineEdit(self.page_audit)
        self.FullNameLineEdit_cif.setObjectName("FullNameLineEdit_cif")
        self.gridLayout_25.addWidget(self.FullNameLineEdit_cif, 0, 1, 1, 1)
        self.PhoneLabel_cif = QtWidgets.QLabel(self.page_audit)
        self.PhoneLabel_cif.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.PhoneLabel_cif.setObjectName("PhoneLabel_cif")
        self.gridLayout_25.addWidget(self.PhoneLabel_cif, 4, 0, 1, 1)
        self.EMailLineEdit_cif = QtWidgets.QLineEdit(self.page_audit)
        self.EMailLineEdit_cif.setObjectName("EMailLineEdit_cif")
        self.gridLayout_25.addWidget(self.EMailLineEdit_cif, 3, 1, 1, 1)
        self.label_16 = QtWidgets.QLabel(self.page_audit)
        self.label_16.setText("")
        self.label_16.setObjectName("label_16")
        self.gridLayout_25.addWidget(self.label_16, 6, 0, 1, 3)
        self.label_19 = QtWidgets.QLabel(self.page_audit)
        self.label_19.setText("")
        self.label_19.setObjectName("label_19")
        self.gridLayout_25.addWidget(self.label_19, 7, 0, 1, 3)
        self.label_13 = QtWidgets.QLabel(self.page_audit)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_13.sizePolicy().hasHeightForWidth())
        self.label_13.setSizePolicy(sizePolicy)
        self.label_13.setWordWrap(True)
        self.label_13.setObjectName("label_13")
        self.gridLayout_25.addWidget(self.label_13, 5, 1, 1, 2)
        self.verticalLayout_38.addLayout(self.gridLayout_25)
        self.verticalLayout_40.addLayout(self.verticalLayout_38)
        self.verticalLayout_39 = QtWidgets.QVBoxLayout()
        self.verticalLayout_39.setObjectName("verticalLayout_39")
        self.SaveAuthorLoopToTemplateButton_cif = QtWidgets.QPushButton(self.page_audit)
        self.SaveAuthorLoopToTemplateButton_cif.setObjectName("SaveAuthorLoopToTemplateButton_cif")
        self.verticalLayout_39.addWidget(self.SaveAuthorLoopToTemplateButton_cif, 0, QtCore.Qt.AlignRight)
        self.AddThisAuthorToLoopPushButton_cif = QtWidgets.QPushButton(self.page_audit)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.AddThisAuthorToLoopPushButton_cif.sizePolicy().hasHeightForWidth())
        self.AddThisAuthorToLoopPushButton_cif.setSizePolicy(sizePolicy)
        self.AddThisAuthorToLoopPushButton_cif.setObjectName("AddThisAuthorToLoopPushButton_cif")
        self.verticalLayout_39.addWidget(self.AddThisAuthorToLoopPushButton_cif)
        self.verticalLayout_40.addLayout(self.verticalLayout_39)
        self.authorEditTabWidget.addTab(self.page_audit, "")
        self.gridLayout_2.addWidget(self.authorEditTabWidget, 2, 1, 1, 1)
        spacerItem18 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.gridLayout_2.addItem(spacerItem18, 2, 0, 1, 1)
        spacerItem19 = QtWidgets.QSpacerItem(0, 0, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.gridLayout_2.addItem(spacerItem19, 3, 1, 1, 1)
        self.frame_2 = QtWidgets.QFrame(self.tab_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(55)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.frame_2.sizePolicy().hasHeightForWidth())
        self.frame_2.setSizePolicy(sizePolicy)
        self.frame_2.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.frame_2.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame_2.setObjectName("frame_2")
        self.gridLayout_2.addWidget(self.frame_2, 2, 2, 1, 1)
        spacerItem20 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        self.gridLayout_2.addItem(spacerItem20, 1, 1, 1, 1)
        self.LoopsTabWidget.addTab(self.tab_2, "")
        self.verticalLayout_9.addWidget(self.LoopsTabWidget)
        self.gridLayout_16 = QtWidgets.QGridLayout()
        self.gridLayout_16.setObjectName("gridLayout_16")
        self.revertLoopsPushButton = QtWidgets.QPushButton(self.page_Loops)
        self.revertLoopsPushButton.setObjectName("revertLoopsPushButton")
        self.gridLayout_16.addWidget(self.revertLoopsPushButton, 0, 2, 1, 1)
        self.BackFromLoopsPushButton = QtWidgets.QPushButton(self.page_Loops)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.BackFromLoopsPushButton.sizePolicy().hasHeightForWidth())
        self.BackFromLoopsPushButton.setSizePolicy(sizePolicy)
        self.BackFromLoopsPushButton.setMinimumSize(QtCore.QSize(120, 0))
        self.BackFromLoopsPushButton.setObjectName("BackFromLoopsPushButton")
        self.gridLayout_16.addWidget(self.BackFromLoopsPushButton, 0, 0, 1, 1)
        spacerItem21 = QtWidgets.QSpacerItem(20, 28, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        self.gridLayout_16.addItem(spacerItem21, 3, 0, 1, 1)
        spacerItem22 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.gridLayout_16.addItem(spacerItem22, 0, 1, 1, 1)
        spacerItem23 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.gridLayout_16.addItem(spacerItem23, 0, 3, 1, 1)
        self.newLoopPushButton = QtWidgets.QPushButton(self.page_Loops)
        self.newLoopPushButton.setObjectName("newLoopPushButton")
        self.gridLayout_16.addWidget(self.newLoopPushButton, 0, 4, 1, 1)
        self.verticalLayout_9.addLayout(self.gridLayout_16)
        self.MainStackedWidget.addWidget(self.page_Loops)
        self.page_checkcif = QtWidgets.QWidget()
        self.page_checkcif.setObjectName("page_checkcif")
        self.gridLayout_8 = QtWidgets.QGridLayout(self.page_checkcif)
        self.gridLayout_8.setContentsMargins(0, 0, 0, 0)
        self.gridLayout_8.setObjectName("gridLayout_8")
        self.CheckCIFResultsTabWidget = QtWidgets.QTabWidget(self.page_checkcif)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(4)
        sizePolicy.setHeightForWidth(self.CheckCIFResultsTabWidget.sizePolicy().hasHeightForWidth())
        self.CheckCIFResultsTabWidget.setSizePolicy(sizePolicy)
        self.CheckCIFResultsTabWidget.setDocumentMode(False)
        self.CheckCIFResultsTabWidget.setTabBarAutoHide(False)
        self.CheckCIFResultsTabWidget.setObjectName("CheckCIFResultsTabWidget")
        self.platon_page = QtWidgets.QWidget()
        self.platon_page.setObjectName("platon_page")
        self.verticalLayout_11 = QtWidgets.QVBoxLayout(self.platon_page)
        self.verticalLayout_11.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_11.setSpacing(0)
        self.verticalLayout_11.setObjectName("verticalLayout_11")
        self.CheckcifPlaintextEdit = QtWidgets.QPlainTextEdit(self.platon_page)
        self.CheckcifPlaintextEdit.setLineWrapMode(QtWidgets.QPlainTextEdit.NoWrap)
        self.CheckcifPlaintextEdit.setReadOnly(True)
        self.CheckcifPlaintextEdit.setPlainText("")
        self.CheckcifPlaintextEdit.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByMouse|QtCore.Qt.TextSelectableByKeyboard|QtCore.Qt.TextSelectableByMouse)
        self.CheckcifPlaintextEdit.setObjectName("CheckcifPlaintextEdit")
        self.verticalLayout_11.addWidget(self.CheckcifPlaintextEdit)
        self.CheckCIFResultsTabWidget.addTab(self.platon_page, "")
        self.html_page = QtWidgets.QWidget()
        self.html_page.setObjectName("html_page")
        self.verticalLayout_12 = QtWidgets.QVBoxLayout(self.html_page)
        self.verticalLayout_12.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_12.setObjectName("verticalLayout_12")
        self.ResponsesTabWidget = QtWidgets.QTabWidget(self.html_page)
        self.ResponsesTabWidget.setTabPosition(QtWidgets.QTabWidget.South)
        self.ResponsesTabWidget.setMovable(False)
        self.ResponsesTabWidget.setObjectName("ResponsesTabWidget")
        self.htmlTabwidgetPage = QtWidgets.QWidget()
        self.htmlTabwidgetPage.setObjectName("htmlTabwidgetPage")
        self.verticalLayout_14 = QtWidgets.QVBoxLayout(self.htmlTabwidgetPage)
        self.verticalLayout_14.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_14.setObjectName("verticalLayout_14")
        self.htmlCHeckCifGridLayout = QtWidgets.QGridLayout()
        self.htmlCHeckCifGridLayout.setObjectName("htmlCHeckCifGridLayout")
        self.verticalLayout_14.addLayout(self.htmlCHeckCifGridLayout)
        self.ResponsesTabWidget.addTab(self.htmlTabwidgetPage, "")
        self.ResponsesTabWidgetPage2 = QtWidgets.QWidget()
        self.ResponsesTabWidgetPage2.setObjectName("ResponsesTabWidgetPage2")
        self.verticalLayout_15 = QtWidgets.QVBoxLayout(self.ResponsesTabWidgetPage2)
        self.verticalLayout_15.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_15.setObjectName("verticalLayout_15")
        self.responseFormsListWidget = QtWidgets.QListWidget(self.ResponsesTabWidgetPage2)
        self.responseFormsListWidget.setSizeAdjustPolicy(QtWidgets.QAbstractScrollArea.AdjustToContents)
        self.responseFormsListWidget.setAutoScroll(False)
        self.responseFormsListWidget.setEditTriggers(QtWidgets.QAbstractItemView.NoEditTriggers)
        self.responseFormsListWidget.setProperty("showDropIndicator", False)
        self.responseFormsListWidget.setSelectionMode(QtWidgets.QAbstractItemView.NoSelection)
        self.responseFormsListWidget.setObjectName("responseFormsListWidget")
        self.verticalLayout_15.addWidget(self.responseFormsListWidget)
        self.label_6 = QtWidgets.QLabel(self.ResponsesTabWidgetPage2)
        self.label_6.setObjectName("label_6")
        self.verticalLayout_15.addWidget(self.label_6)
        self.frame = QtWidgets.QFrame(self.ResponsesTabWidgetPage2)
        self.frame.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame.setObjectName("frame")
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.frame)
        self.horizontalLayout_2.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.SavePushButton = QtWidgets.QPushButton(self.frame)
        self.SavePushButton.setObjectName("SavePushButton")
        self.horizontalLayout_2.addWidget(self.SavePushButton)
        spacerItem24 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem24)
        self.verticalLayout_15.addWidget(self.frame)
        self.ResponsesTabWidget.addTab(self.ResponsesTabWidgetPage2, "")
        self.verticalLayout_12.addWidget(self.ResponsesTabWidget)
        self.CheckCIFResultsTabWidget.addTab(self.html_page, "")
        self.pdf_page = QtWidgets.QWidget()
        self.pdf_page.setObjectName("pdf_page")
        self.verticalLayout_13 = QtWidgets.QVBoxLayout(self.pdf_page)
        self.verticalLayout_13.setObjectName("verticalLayout_13")
        self.label_5 = QtWidgets.QLabel(self.pdf_page)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_5.sizePolicy().hasHeightForWidth())
        self.label_5.setSizePolicy(sizePolicy)
        self.label_5.setMinimumSize(QtCore.QSize(0, 20))
        self.label_5.setObjectName("label_5")
        self.verticalLayout_13.addWidget(self.label_5)
        spacerItem25 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_13.addItem(spacerItem25)
        self.CheckCIFResultsTabWidget.addTab(self.pdf_page, "")
        self.gridLayout_8.addWidget(self.CheckCIFResultsTabWidget, 1, 0, 1, 8)
        self.groupBox_71 = QtWidgets.QGroupBox(self.page_checkcif)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(1)
        sizePolicy.setHeightForWidth(self.groupBox_71.sizePolicy().hasHeightForWidth())
        self.groupBox_71.setSizePolicy(sizePolicy)
        self.groupBox_71.setObjectName("groupBox_71")
        self.verticalLayout_10 = QtWidgets.QVBoxLayout(self.groupBox_71)
        self.verticalLayout_10.setContentsMargins(0, 6, 0, 0)
        self.verticalLayout_10.setSpacing(6)
        self.verticalLayout_10.setObjectName("verticalLayout_10")
        self.CheckCifLogPlainTextEdit = QtWidgets.QPlainTextEdit(self.groupBox_71)
        self.CheckCifLogPlainTextEdit.setTabChangesFocus(True)
        self.CheckCifLogPlainTextEdit.setReadOnly(True)
        self.CheckCifLogPlainTextEdit.setObjectName("CheckCifLogPlainTextEdit")
        self.verticalLayout_10.addWidget(self.CheckCifLogPlainTextEdit)
        self.gridLayout_8.addWidget(self.groupBox_71, 0, 0, 1, 8)
        self.groupBox_checkcif_2 = QtWidgets.QGroupBox(self.page_checkcif)
        self.groupBox_checkcif_2.setTitle("")
        self.groupBox_checkcif_2.setObjectName("groupBox_checkcif_2")
        self.gridLayout_14 = QtWidgets.QGridLayout(self.groupBox_checkcif_2)
        self.gridLayout_14.setContentsMargins(-1, 0, -1, 0)
        self.gridLayout_14.setObjectName("gridLayout_14")
        self.CheckcifPDFOnlineButton = QtWidgets.QPushButton(self.groupBox_checkcif_2)
        self.CheckcifPDFOnlineButton.setObjectName("CheckcifPDFOnlineButton")
        self.gridLayout_14.addWidget(self.CheckcifPDFOnlineButton, 1, 2, 1, 1)
        self.horizontalLayout_9 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_9.setObjectName("horizontalLayout_9")
        self.structfactCheckBox = QtWidgets.QCheckBox(self.groupBox_checkcif_2)
        self.structfactCheckBox.setObjectName("structfactCheckBox")
        self.horizontalLayout_9.addWidget(self.structfactCheckBox)
        self.fullIucrCheckBox = QtWidgets.QCheckBox(self.groupBox_checkcif_2)
        self.fullIucrCheckBox.setObjectName("fullIucrCheckBox")
        self.horizontalLayout_9.addWidget(self.fullIucrCheckBox)
        self.gridLayout_14.addLayout(self.horizontalLayout_9, 2, 0, 1, 3)
        self.CheckcifButton = QtWidgets.QPushButton(self.groupBox_checkcif_2)
        self.CheckcifButton.setObjectName("CheckcifButton")
        self.gridLayout_14.addWidget(self.CheckcifButton, 1, 0, 1, 1)
        self.CheckcifHTMLOnlineButton = QtWidgets.QPushButton(self.groupBox_checkcif_2)
        self.CheckcifHTMLOnlineButton.setObjectName("CheckcifHTMLOnlineButton")
        self.gridLayout_14.addWidget(self.CheckcifHTMLOnlineButton, 1, 1, 1, 1)
        self.gridLayout_8.addWidget(self.groupBox_checkcif_2, 4, 5, 4, 1)
        self.ButtonFrame = QtWidgets.QFrame(self.page_checkcif)
        self.ButtonFrame.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.ButtonFrame.setFrameShadow(QtWidgets.QFrame.Raised)
        self.ButtonFrame.setLineWidth(0)
        self.ButtonFrame.setObjectName("ButtonFrame")
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout(self.ButtonFrame)
        self.horizontalLayout_3.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.gridLayout_8.addWidget(self.ButtonFrame, 2, 0, 1, 7)
        spacerItem26 = QtWidgets.QSpacerItem(225, 47, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.gridLayout_8.addItem(spacerItem26, 4, 6, 3, 1)
        self.BackFromPlatonPushButton = QtWidgets.QPushButton(self.page_checkcif)
        self.BackFromPlatonPushButton.setMinimumSize(QtCore.QSize(160, 0))
        self.BackFromPlatonPushButton.setObjectName("BackFromPlatonPushButton")
        self.gridLayout_8.addWidget(self.BackFromPlatonPushButton, 5, 3, 1, 1)
        spacerItem27 = QtWidgets.QSpacerItem(13, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
        self.gridLayout_8.addItem(spacerItem27, 5, 1, 1, 2)
        spacerItem28 = QtWidgets.QSpacerItem(13, 47, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.gridLayout_8.addItem(spacerItem28, 4, 4, 3, 1)
        self.MainStackedWidget.addWidget(self.page_checkcif)
        self.page_cod = QtWidgets.QWidget()
        self.page_cod.setObjectName("page_cod")
        self.gridLayout_17 = QtWidgets.QGridLayout(self.page_cod)
        self.gridLayout_17.setContentsMargins(0, 0, 0, 0)
        self.gridLayout_17.setObjectName("gridLayout_17")
        self.gridLayout_22 = QtWidgets.QGridLayout()
        self.gridLayout_22.setObjectName("gridLayout_22")
        self.frame_for_radiobuttons = QtWidgets.QFrame(self.page_cod)
        self.frame_for_radiobuttons.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.frame_for_radiobuttons.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame_for_radiobuttons.setObjectName("frame_for_radiobuttons")
        self.verticalLayout_28 = QtWidgets.QVBoxLayout(self.frame_for_radiobuttons)
        self.verticalLayout_28.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_28.setObjectName("verticalLayout_28")
        self.horizontalLayout_radiobuttons = QtWidgets.QHBoxLayout()
        self.horizontalLayout_radiobuttons.setObjectName("horizontalLayout_radiobuttons")
        self.personalDepositRadioButton = QtWidgets.QRadioButton(self.frame_for_radiobuttons)
        self.personalDepositRadioButton.setObjectName("personalDepositRadioButton")
        self.horizontalLayout_radiobuttons.addWidget(self.personalDepositRadioButton)
        self.prepublicationDepositRadioButton = QtWidgets.QRadioButton(self.frame_for_radiobuttons)
        self.prepublicationDepositRadioButton.setObjectName("prepublicationDepositRadioButton")
        self.horizontalLayout_radiobuttons.addWidget(self.prepublicationDepositRadioButton)
        self.publishedDepositionRadioButton = QtWidgets.QRadioButton(self.frame_for_radiobuttons)
        self.publishedDepositionRadioButton.setObjectName("publishedDepositionRadioButton")
        self.horizontalLayout_radiobuttons.addWidget(self.publishedDepositionRadioButton)
        spacerItem29 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_radiobuttons.addItem(spacerItem29)
        self.verticalLayout_28.addLayout(self.horizontalLayout_radiobuttons)
        self.gridLayout_22.addWidget(self.frame_for_radiobuttons, 0, 1, 1, 1)
        self.gridLayout_19 = QtWidgets.QGridLayout()
        self.gridLayout_19.setContentsMargins(0, -1, 9, -1)
        self.gridLayout_19.setObjectName("gridLayout_19")
        self.depositorUsername = QtWidgets.QLabel(self.page_cod)
        self.depositorUsername.setObjectName("depositorUsername")
        self.gridLayout_19.addWidget(self.depositorUsername, 0, 0, 1, 1)
        self.label_9 = QtWidgets.QLabel(self.page_cod)
        self.label_9.setObjectName("label_9")
        self.gridLayout_19.addWidget(self.label_9, 2, 0, 1, 1)
        self.depositorPasswordLineEdit = QtWidgets.QLineEdit(self.page_cod)
        self.depositorPasswordLineEdit.setEchoMode(QtWidgets.QLineEdit.Password)
        self.depositorPasswordLineEdit.setObjectName("depositorPasswordLineEdit")
        self.gridLayout_19.addWidget(self.depositorPasswordLineEdit, 1, 1, 1, 1)
        self.horizontalLayout_11 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_11.setContentsMargins(0, 0, -1, -1)
        self.horizontalLayout_11.setObjectName("horizontalLayout_11")
        self.depositHKLcheckBox = QtWidgets.QCheckBox(self.page_cod)
        self.depositHKLcheckBox.setObjectName("depositHKLcheckBox")
        self.horizontalLayout_11.addWidget(self.depositHKLcheckBox)
        self.Upload_hkl_pushButton = QtWidgets.QPushButton(self.page_cod)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.Upload_hkl_pushButton.sizePolicy().hasHeightForWidth())
        self.Upload_hkl_pushButton.setSizePolicy(sizePolicy)
        self.Upload_hkl_pushButton.setObjectName("Upload_hkl_pushButton")
        self.horizontalLayout_11.addWidget(self.Upload_hkl_pushButton)
        self.gridLayout_19.addLayout(self.horizontalLayout_11, 3, 1, 1, 1)
        self.userEmailLineEdit = QtWidgets.QLineEdit(self.page_cod)
        self.userEmailLineEdit.setInputMethodHints(QtCore.Qt.ImhEmailCharactersOnly|QtCore.Qt.ImhLowercaseOnly|QtCore.Qt.ImhNoAutoUppercase)
        self.userEmailLineEdit.setObjectName("userEmailLineEdit")
        self.gridLayout_19.addWidget(self.userEmailLineEdit, 2, 1, 1, 1)
        self.depositorUsernameLineEdit = QtWidgets.QLineEdit(self.page_cod)
        self.depositorUsernameLineEdit.setObjectName("depositorUsernameLineEdit")
        self.gridLayout_19.addWidget(self.depositorUsernameLineEdit, 0, 1, 1, 1)
        self.label_2 = QtWidgets.QLabel(self.page_cod)
        self.label_2.setTextFormat(QtCore.Qt.RichText)
        self.label_2.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
        self.label_2.setOpenExternalLinks(True)
        self.label_2.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByKeyboard|QtCore.Qt.LinksAccessibleByMouse)
        self.label_2.setObjectName("label_2")
        self.gridLayout_19.addWidget(self.label_2, 0, 2, 4, 1)
        self.depositorPasswordLabel = QtWidgets.QLabel(self.page_cod)
        self.depositorPasswordLabel.setObjectName("depositorPasswordLabel")
        self.gridLayout_19.addWidget(self.depositorPasswordLabel, 1, 0, 1, 1)
        self.gridLayout_22.addLayout(self.gridLayout_19, 1, 1, 1, 1)
        self.depositionOptionsStackedWidget = QtWidgets.QStackedWidget(self.page_cod)
        self.depositionOptionsStackedWidget.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.depositionOptionsStackedWidget.setFrameShadow(QtWidgets.QFrame.Raised)
        self.depositionOptionsStackedWidget.setLineWidth(1)
        self.depositionOptionsStackedWidget.setObjectName("depositionOptionsStackedWidget")
        self.page_personal = QtWidgets.QWidget()
        self.page_personal.setObjectName("page_personal")
        self.verticalLayout_30 = QtWidgets.QVBoxLayout(self.page_personal)
        self.verticalLayout_30.setContentsMargins(0, 12, 0, -1)
        self.verticalLayout_30.setObjectName("verticalLayout_30")
        self.label_10 = QtWidgets.QLabel(self.page_personal)
        self.label_10.setTextFormat(QtCore.Qt.RichText)
        self.label_10.setObjectName("label_10")
        self.verticalLayout_30.addWidget(self.label_10)
        self.gridLayout_20 = QtWidgets.QGridLayout()
        self.gridLayout_20.setObjectName("gridLayout_20")
        spacerItem30 = QtWidgets.QSpacerItem(80, 20, QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Minimum)
        self.gridLayout_20.addItem(spacerItem30, 0, 2, 1, 1)
        self.ContactAuthorLabel = QtWidgets.QLabel(self.page_personal)
        self.ContactAuthorLabel.setObjectName("ContactAuthorLabel")
        self.gridLayout_20.addWidget(self.ContactAuthorLabel, 1, 0, 1, 1)
        self.authorsFullNamePersonalLabel = QtWidgets.QLabel(self.page_personal)
        self.authorsFullNamePersonalLabel.setObjectName("authorsFullNamePersonalLabel")
        self.gridLayout_20.addWidget(self.authorsFullNamePersonalLabel, 0, 0, 1, 1)
        self.authorEditorPushButton = QtWidgets.QPushButton(self.page_personal)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.authorEditorPushButton.sizePolicy().hasHeightForWidth())
        self.authorEditorPushButton.setSizePolicy(sizePolicy)
        self.authorEditorPushButton.setObjectName("authorEditorPushButton")
        self.gridLayout_20.addWidget(self.authorEditorPushButton, 0, 1, 1, 1)
        self.ContactAuthorLineEdit = QtWidgets.QLineEdit(self.page_personal)
        self.ContactAuthorLineEdit.setReadOnly(True)
        self.ContactAuthorLineEdit.setObjectName("ContactAuthorLineEdit")
        self.gridLayout_20.addWidget(self.ContactAuthorLineEdit, 1, 1, 1, 1)
        self.ContactEmailLineEdit = QtWidgets.QLineEdit(self.page_personal)
        self.ContactEmailLineEdit.setReadOnly(True)
        self.ContactEmailLineEdit.setObjectName("ContactEmailLineEdit")
        self.gridLayout_20.addWidget(self.ContactEmailLineEdit, 2, 1, 1, 1)
        self.label_12 = QtWidgets.QLabel(self.page_personal)
        self.label_12.setObjectName("label_12")
        self.gridLayout_20.addWidget(self.label_12, 2, 0, 1, 1)
        self.verticalLayout_30.addLayout(self.gridLayout_20)
        spacerItem31 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_30.addItem(spacerItem31)
        self.depositionOptionsStackedWidget.addWidget(self.page_personal)
        self.page_prepublication = QtWidgets.QWidget()
        self.page_prepublication.setObjectName("page_prepublication")
        self.verticalLayout_25 = QtWidgets.QVBoxLayout(self.page_prepublication)
        self.verticalLayout_25.setObjectName("verticalLayout_25")
        self.gridLayout_21 = QtWidgets.QGridLayout()
        self.gridLayout_21.setObjectName("gridLayout_21")
        spacerItem32 = QtWidgets.QSpacerItem(80, 20, QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Minimum)
        self.gridLayout_21.addItem(spacerItem32, 0, 2, 1, 1)
        self.embargoTimeInMonthsSpinBox = QtWidgets.QSpinBox(self.page_prepublication)
        self.embargoTimeInMonthsSpinBox.setMinimum(6)
        self.embargoTimeInMonthsSpinBox.setMaximum(12)
        self.embargoTimeInMonthsSpinBox.setObjectName("embargoTimeInMonthsSpinBox")
        self.gridLayout_21.addWidget(self.embargoTimeInMonthsSpinBox, 1, 1, 1, 1)
        self.label_8 = QtWidgets.QLabel(self.page_prepublication)
        self.label_8.setObjectName("label_8")
        self.gridLayout_21.addWidget(self.label_8, 1, 2, 1, 1)
        self.journalNameLineEdit = QtWidgets.QLineEdit(self.page_prepublication)
        self.journalNameLineEdit.setObjectName("journalNameLineEdit")
        self.gridLayout_21.addWidget(self.journalNameLineEdit, 0, 1, 1, 1)
        self.embargoTimeInMonthsLabel = QtWidgets.QLabel(self.page_prepublication)
        self.embargoTimeInMonthsLabel.setObjectName("embargoTimeInMonthsLabel")
        self.gridLayout_21.addWidget(self.embargoTimeInMonthsLabel, 1, 0, 1, 1)
        self.journalMameLabel = QtWidgets.QLabel(self.page_prepublication)
        self.journalMameLabel.setObjectName("journalMameLabel")
        self.gridLayout_21.addWidget(self.journalMameLabel, 0, 0, 1, 1)
        self.verticalLayout_25.addLayout(self.gridLayout_21)
        self.gridLayout_author_prepubl = QtWidgets.QGridLayout()
        self.gridLayout_author_prepubl.setObjectName("gridLayout_author_prepubl")
        spacerItem33 = QtWidgets.QSpacerItem(80, 20, QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Minimum)
        self.gridLayout_author_prepubl.addItem(spacerItem33, 0, 3, 1, 1)
        self.authorsFullNamePersonalLabel_2 = QtWidgets.QLabel(self.page_prepublication)
        self.authorsFullNamePersonalLabel_2.setObjectName("authorsFullNamePersonalLabel_2")
        self.gridLayout_author_prepubl.addWidget(self.authorsFullNamePersonalLabel_2, 0, 1, 1, 1)
        self.ContactAuthorLineEdit_2 = QtWidgets.QLineEdit(self.page_prepublication)
        self.ContactAuthorLineEdit_2.setReadOnly(True)
        self.ContactAuthorLineEdit_2.setObjectName("ContactAuthorLineEdit_2")
        self.gridLayout_author_prepubl.addWidget(self.ContactAuthorLineEdit_2, 1, 2, 1, 1)
        self.authorEditorPushButton_2 = QtWidgets.QPushButton(self.page_prepublication)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.authorEditorPushButton_2.sizePolicy().hasHeightForWidth())
        self.authorEditorPushButton_2.setSizePolicy(sizePolicy)
        self.authorEditorPushButton_2.setObjectName("authorEditorPushButton_2")
        self.gridLayout_author_prepubl.addWidget(self.authorEditorPushButton_2, 0, 2, 1, 1)
        self.ContactAuthorLabel_2 = QtWidgets.QLabel(self.page_prepublication)
        self.ContactAuthorLabel_2.setObjectName("ContactAuthorLabel_2")
        self.gridLayout_author_prepubl.addWidget(self.ContactAuthorLabel_2, 1, 1, 1, 1)
        self.label_15 = QtWidgets.QLabel(self.page_prepublication)
        self.label_15.setObjectName("label_15")
        self.gridLayout_author_prepubl.addWidget(self.label_15, 2, 1, 1, 1)
        self.ContactEmailLineEdit_2 = QtWidgets.QLineEdit(self.page_prepublication)
        self.ContactEmailLineEdit_2.setReadOnly(True)
        self.ContactEmailLineEdit_2.setObjectName("ContactEmailLineEdit_2")
        self.gridLayout_author_prepubl.addWidget(self.ContactEmailLineEdit_2, 2, 2, 1, 1)
        self.verticalLayout_25.addLayout(self.gridLayout_author_prepubl)
        spacerItem34 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_25.addItem(spacerItem34)
        self.depositionOptionsStackedWidget.addWidget(self.page_prepublication)
        self.page_published = QtWidgets.QWidget()
        self.page_published.setObjectName("page_published")
        self.verticalLayout_27 = QtWidgets.QVBoxLayout(self.page_published)
        self.verticalLayout_27.setContentsMargins(0, -1, 0, -1)
        self.verticalLayout_27.setObjectName("verticalLayout_27")
        self.gridLayout_23 = QtWidgets.QGridLayout()
        self.gridLayout_23.setObjectName("gridLayout_23")
        self.publication_doi_lineedit = QtWidgets.QLineEdit(self.page_published)
        self.publication_doi_lineedit.setObjectName("publication_doi_lineedit")
        self.gridLayout_23.addWidget(self.publication_doi_lineedit, 1, 1, 1, 1)
        self.cod_database_code_Label = QtWidgets.QLabel(self.page_published)
        self.cod_database_code_Label.setObjectName("cod_database_code_Label")
        self.gridLayout_23.addWidget(self.cod_database_code_Label, 1, 0, 1, 1)
        spacerItem35 = QtWidgets.QSpacerItem(80, 20, QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Minimum)
        self.gridLayout_23.addItem(spacerItem35, 1, 3, 1, 1)
        self.label_11 = QtWidgets.QLabel(self.page_published)
        self.label_11.setObjectName("label_11")
        self.gridLayout_23.addWidget(self.label_11, 0, 0, 1, 2)
        self.GetDOIPushButton = QtWidgets.QPushButton(self.page_published)
        self.GetDOIPushButton.setObjectName("GetDOIPushButton")
        self.gridLayout_23.addWidget(self.GetDOIPushButton, 1, 2, 1, 1)
        self.verticalLayout_27.addLayout(self.gridLayout_23)
        self.DOIResolveTextLabel = QtWidgets.QLabel(self.page_published)
        self.DOIResolveTextLabel.setText("")
        self.DOIResolveTextLabel.setTextFormat(QtCore.Qt.PlainText)
        self.DOIResolveTextLabel.setWordWrap(True)
        self.DOIResolveTextLabel.setObjectName("DOIResolveTextLabel")
        self.verticalLayout_27.addWidget(self.DOIResolveTextLabel)
        self.verticalLayout_26 = QtWidgets.QVBoxLayout()
        self.verticalLayout_26.setObjectName("verticalLayout_26")
        self.label_14 = QtWidgets.QLabel(self.page_published)
        self.label_14.setTextFormat(QtCore.Qt.RichText)
        self.label_14.setObjectName("label_14")
        self.verticalLayout_26.addWidget(self.label_14)
        self.verticalLayout_27.addLayout(self.verticalLayout_26)
        spacerItem36 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_27.addItem(spacerItem36)
        self.depositionOptionsStackedWidget.addWidget(self.page_published)
        self.page_deposition_output = QtWidgets.QWidget()
        self.page_deposition_output.setObjectName("page_deposition_output")
        self.verticalLayout_31 = QtWidgets.QVBoxLayout(self.page_deposition_output)
        self.verticalLayout_31.setContentsMargins(0, -1, 0, 0)
        self.verticalLayout_31.setObjectName("verticalLayout_31")
        self.label_deposition_output = QtWidgets.QLabel(self.page_deposition_output)
        self.label_deposition_output.setObjectName("label_deposition_output")
        self.verticalLayout_31.addWidget(self.label_deposition_output)
        self.depositOutputTextBrowser = QtWidgets.QTextBrowser(self.page_deposition_output)
        self.depositOutputTextBrowser.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAsNeeded)
        self.depositOutputTextBrowser.setAutoFormatting(QtWidgets.QTextEdit.AutoAll)
        self.depositOutputTextBrowser.setOpenExternalLinks(True)
        self.depositOutputTextBrowser.setObjectName("depositOutputTextBrowser")
        self.verticalLayout_31.addWidget(self.depositOutputTextBrowser)
        self.depositionOptionsStackedWidget.addWidget(self.page_deposition_output)
        self.gridLayout_22.addWidget(self.depositionOptionsStackedWidget, 4, 1, 1, 1)
        self.gridLayout_17.addLayout(self.gridLayout_22, 0, 1, 1, 1)
        self.StructuresListGroupBox = QtWidgets.QGroupBox(self.page_cod)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.StructuresListGroupBox.sizePolicy().hasHeightForWidth())
        self.StructuresListGroupBox.setSizePolicy(sizePolicy)
        self.StructuresListGroupBox.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.StructuresListGroupBox.setObjectName("StructuresListGroupBox")
        self.gridLayout_18 = QtWidgets.QGridLayout(self.StructuresListGroupBox)
        self.gridLayout_18.setObjectName("gridLayout_18")
        self.refreshDepositListPushButton = QtWidgets.QPushButton(self.StructuresListGroupBox)
        self.refreshDepositListPushButton.setEnabled(False)
        self.refreshDepositListPushButton.setCheckable(False)
        self.refreshDepositListPushButton.setAutoDefault(False)
        self.refreshDepositListPushButton.setObjectName("refreshDepositListPushButton")
        self.gridLayout_18.addWidget(self.refreshDepositListPushButton, 1, 1, 1, 1)
        spacerItem37 = QtWidgets.QSpacerItem(1, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.gridLayout_18.addItem(spacerItem37, 1, 0, 1, 1)
        spacerItem38 = QtWidgets.QSpacerItem(1, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.gridLayout_18.addItem(spacerItem38, 1, 2, 1, 1)
        self.CODtableWidget = QtWidgets.QTableWidget(self.StructuresListGroupBox)
        self.CODtableWidget.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAsNeeded)
        self.CODtableWidget.setSizeAdjustPolicy(QtWidgets.QAbstractScrollArea.AdjustToContents)
        self.CODtableWidget.setSelectionMode(QtWidgets.QAbstractItemView.NoSelection)
        self.CODtableWidget.setObjectName("CODtableWidget")
        self.CODtableWidget.setColumnCount(3)
        self.CODtableWidget.setRowCount(0)
        item = QtWidgets.QTableWidgetItem()
        self.CODtableWidget.setHorizontalHeaderItem(0, item)
        item = QtWidgets.QTableWidgetItem()
        self.CODtableWidget.setHorizontalHeaderItem(1, item)
        item = QtWidgets.QTableWidgetItem()
        self.CODtableWidget.setHorizontalHeaderItem(2, item)
        self.CODtableWidget.horizontalHeader().setCascadingSectionResizes(False)
        self.CODtableWidget.horizontalHeader().setDefaultSectionSize(100)
        self.CODtableWidget.horizontalHeader().setStretchLastSection(False)
        self.CODtableWidget.verticalHeader().setCascadingSectionResizes(False)
        self.gridLayout_18.addWidget(self.CODtableWidget, 0, 0, 1, 3)
        self.gridLayout_17.addWidget(self.StructuresListGroupBox, 0, 0, 1, 1, QtCore.Qt.AlignHCenter)
        self.horizontalLayout_10 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_10.setContentsMargins(-1, 0, -1, -1)
        self.horizontalLayout_10.setObjectName("horizontalLayout_10")
        self.BackFromDepositPushButton = QtWidgets.QPushButton(self.page_cod)
        self.BackFromDepositPushButton.setMinimumSize(QtCore.QSize(160, 0))
        self.BackFromDepositPushButton.setObjectName("BackFromDepositPushButton")
        self.horizontalLayout_10.addWidget(self.BackFromDepositPushButton)
        spacerItem39 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_10.addItem(spacerItem39)
        self.depositCIFpushButton = QtWidgets.QPushButton(self.page_cod)
        self.depositCIFpushButton.setObjectName("depositCIFpushButton")
        self.horizontalLayout_10.addWidget(self.depositCIFpushButton)
        spacerItem40 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_10.addItem(spacerItem40)
        self.gridLayout_17.addLayout(self.horizontalLayout_10, 1, 0, 1, 2)
        self.MainStackedWidget.addWidget(self.page_cod)
        self.page_textTemplate = QtWidgets.QWidget()
        self.page_textTemplate.setObjectName("page_textTemplate")
        self.verticalLayout_33 = QtWidgets.QVBoxLayout(self.page_textTemplate)
        self.verticalLayout_33.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_33.setObjectName("verticalLayout_33")
        self.MainStackedWidget.addWidget(self.page_textTemplate)
        self.gridLayout_6.addWidget(self.MainStackedWidget, 2, 0, 1, 13)
        self.datanameComboBox = QtWidgets.QComboBox(self.CifDataItemsFrame)
        self.datanameComboBox.setEditable(True)
        self.datanameComboBox.setMaxVisibleItems(20)
        self.datanameComboBox.setInsertPolicy(QtWidgets.QComboBox.InsertAtCurrent)
        self.datanameComboBox.setSizeAdjustPolicy(QtWidgets.QComboBox.AdjustToContents)
        self.datanameComboBox.setMinimumContentsLength(20)
        self.datanameComboBox.setFrame(True)
        self.datanameComboBox.setObjectName("datanameComboBox")
        self.gridLayout_6.addWidget(self.datanameComboBox, 0, 1, 1, 1)
        self.CCDCNumLineEdit = QtWidgets.QTextEdit(self.CifDataItemsFrame)
        self.CCDCNumLineEdit.setMinimumSize(QtCore.QSize(0, 24))
        self.CCDCNumLineEdit.setMaximumSize(QtCore.QSize(16777215, 24))
        self.CCDCNumLineEdit.viewport().setProperty("cursor", QtGui.QCursor(QtCore.Qt.IBeamCursor))
        self.CCDCNumLineEdit.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
        self.CCDCNumLineEdit.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
        self.CCDCNumLineEdit.setSizeAdjustPolicy(QtWidgets.QAbstractScrollArea.AdjustToContents)
        self.CCDCNumLineEdit.setTabChangesFocus(True)
        self.CCDCNumLineEdit.setLineWrapMode(QtWidgets.QTextEdit.NoWrap)
        self.CCDCNumLineEdit.setReadOnly(False)
        self.CCDCNumLineEdit.setAcceptRichText(False)
        self.CCDCNumLineEdit.setObjectName("CCDCNumLineEdit")
        self.gridLayout_6.addWidget(self.CCDCNumLineEdit, 0, 8, 1, 1)
        self.SumFormMainLineEdit = QtWidgets.QTextEdit(self.CifDataItemsFrame)
        self.SumFormMainLineEdit.setMinimumSize(QtCore.QSize(0, 24))
        self.SumFormMainLineEdit.setMaximumSize(QtCore.QSize(16777215, 24))
        self.SumFormMainLineEdit.viewport().setProperty("cursor", QtGui.QCursor(QtCore.Qt.IBeamCursor))
        self.SumFormMainLineEdit.setInputMethodHints(QtCore.Qt.ImhNone)
        self.SumFormMainLineEdit.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
        self.SumFormMainLineEdit.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
        self.SumFormMainLineEdit.setSizeAdjustPolicy(QtWidgets.QAbstractScrollArea.AdjustToContents)
        self.SumFormMainLineEdit.setTabChangesFocus(True)
        self.SumFormMainLineEdit.setUndoRedoEnabled(False)
        self.SumFormMainLineEdit.setLineWrapMode(QtWidgets.QTextEdit.NoWrap)
        self.SumFormMainLineEdit.setReadOnly(True)
        self.SumFormMainLineEdit.setObjectName("SumFormMainLineEdit")
        self.gridLayout_6.addWidget(self.SumFormMainLineEdit, 0, 11, 1, 1)
        self.datanameLabel = QtWidgets.QLabel(self.CifDataItemsFrame)
        self.datanameLabel.setObjectName("datanameLabel")
        self.gridLayout_6.addWidget(self.datanameLabel, 0, 0, 1, 1)
        self.CCDCNumLabel = QtWidgets.QLabel(self.CifDataItemsFrame)
        self.CCDCNumLabel.setObjectName("CCDCNumLabel")
        self.gridLayout_6.addWidget(self.CCDCNumLabel, 0, 7, 1, 1)
        self.SumFormMainLabel = QtWidgets.QLabel(self.CifDataItemsFrame)
        self.SumFormMainLabel.setObjectName("SumFormMainLabel")
        self.gridLayout_6.addWidget(self.SumFormMainLabel, 0, 10, 1, 1)
        self.appendCifPushButton = QtWidgets.QPushButton(self.CifDataItemsFrame)
        self.appendCifPushButton.setObjectName("appendCifPushButton")
        self.gridLayout_6.addWidget(self.appendCifPushButton, 0, 2, 1, 1)
        spacerItem41 = QtWidgets.QSpacerItem(10, 0, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
        self.gridLayout_6.addItem(spacerItem41, 0, 3, 1, 1)
        spacerItem42 = QtWidgets.QSpacerItem(10, 0, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
        self.gridLayout_6.addItem(spacerItem42, 0, 6, 1, 1)
        self.Spacegroup_top_LineEdit = QtWidgets.QTextEdit(self.CifDataItemsFrame)
        self.Spacegroup_top_LineEdit.setMinimumSize(QtCore.QSize(0, 24))
        self.Spacegroup_top_LineEdit.setMaximumSize(QtCore.QSize(16777215, 24))
        self.Spacegroup_top_LineEdit.viewport().setProperty("cursor", QtGui.QCursor(QtCore.Qt.IBeamCursor))
        self.Spacegroup_top_LineEdit.setInputMethodHints(QtCore.Qt.ImhNone)
        self.Spacegroup_top_LineEdit.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
        self.Spacegroup_top_LineEdit.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
        self.Spacegroup_top_LineEdit.setSizeAdjustPolicy(QtWidgets.QAbstractScrollArea.AdjustToContents)
        self.Spacegroup_top_LineEdit.setTabChangesFocus(True)
        self.Spacegroup_top_LineEdit.setLineWrapMode(QtWidgets.QTextEdit.NoWrap)
        self.Spacegroup_top_LineEdit.setReadOnly(True)
        self.Spacegroup_top_LineEdit.setTextInteractionFlags(QtCore.Qt.TextSelectableByKeyboard|QtCore.Qt.TextSelectableByMouse)
        self.Spacegroup_top_LineEdit.setObjectName("Spacegroup_top_LineEdit")
        self.gridLayout_6.addWidget(self.Spacegroup_top_LineEdit, 0, 5, 1, 1)
        self.horizontalLayout_4.addWidget(self.splitter)
        FinalCifWindow.setCentralWidget(self.Mainwidget)
        self.statusBar = QtWidgets.QStatusBar(FinalCifWindow)
        self.statusBar.setObjectName("statusBar")
        FinalCifWindow.setStatusBar(self.statusBar)

        self.retranslateUi(FinalCifWindow)
        self.TemplatesStackedWidget.setCurrentIndex(0)
        self.EquipmentTemplatesStackedWidget.setCurrentIndex(0)
        self.MainStackedWidget.setCurrentIndex(0)
        self.PropertiesTemplatesStackedWidget.setCurrentIndex(1)
        self.LoopsTabWidget.setCurrentIndex(0)
        self.authorEditTabWidget.setCurrentIndex(1)
        self.CheckCIFResultsTabWidget.setCurrentIndex(2)
        self.ResponsesTabWidget.setCurrentIndex(1)
        self.depositionOptionsStackedWidget.setCurrentIndex(3)
        QtCore.QMetaObject.connectSlotsByName(FinalCifWindow)
        FinalCifWindow.setTabOrder(self.publishedDepositionRadioButton, self.prepublicationDepositRadioButton)
        FinalCifWindow.setTabOrder(self.prepublicationDepositRadioButton, self.SelectCif_PushButton)
        FinalCifWindow.setTabOrder(self.SelectCif_PushButton, self.EditEquipmentTemplateButton)
        FinalCifWindow.setTabOrder(self.EditEquipmentTemplateButton, self.ImportEquipmentTemplateButton)
        FinalCifWindow.setTabOrder(self.ImportEquipmentTemplateButton, self.DeleteEquipmentButton)
        FinalCifWindow.setTabOrder(self.DeleteEquipmentButton, self.SaveEquipmentButton)
        FinalCifWindow.setTabOrder(self.SaveEquipmentButton, self.CancelEquipmentButton)
        FinalCifWindow.setTabOrder(self.CancelEquipmentButton, self.ExportEquipmentButton)
        FinalCifWindow.setTabOrder(self.ExportEquipmentButton, self.EditPropertyTemplateButton)
        FinalCifWindow.setTabOrder(self.EditPropertyTemplateButton, self.NewPropertyTemplateButton)
        FinalCifWindow.setTabOrder(self.NewPropertyTemplateButton, self.ImportPropertyTemplateButton)
        FinalCifWindow.setTabOrder(self.ImportPropertyTemplateButton, self.cifKeywordLineEdit)
        FinalCifWindow.setTabOrder(self.cifKeywordLineEdit, self.DeletePropertiesButton)
        FinalCifWindow.setTabOrder(self.DeletePropertiesButton, self.SavePropertiesButton)
        FinalCifWindow.setTabOrder(self.SavePropertiesButton, self.CancelPropertiesButton)
        FinalCifWindow.setTabOrder(self.CancelPropertiesButton, self.ExportPropertyButton)
        FinalCifWindow.setTabOrder(self.ExportPropertyButton, self.LoopTemplatesListWidget)
        FinalCifWindow.setTabOrder(self.LoopTemplatesListWidget, self.HelpPushButton)
        FinalCifWindow.setTabOrder(self.HelpPushButton, self.cif_main_table)
        FinalCifWindow.setTabOrder(self.cif_main_table, self.SaveCifButton)
        FinalCifWindow.setTabOrder(self.SaveCifButton, self.ExploreDirButton)
        FinalCifWindow.setTabOrder(self.ExploreDirButton, self.DetailsPushButton)
        FinalCifWindow.setTabOrder(self.DetailsPushButton, self.LoopsPushButton)
        FinalCifWindow.setTabOrder(self.LoopsPushButton, self.ReportPicPushButton)
        FinalCifWindow.setTabOrder(self.ReportPicPushButton, self.SaveFullReportButton)
        FinalCifWindow.setTabOrder(self.SaveFullReportButton, self.CheckcifStartButton)
        FinalCifWindow.setTabOrder(self.CheckcifStartButton, self.CODpushButton)
        FinalCifWindow.setTabOrder(self.CODpushButton, self.ShredCifButton)
        FinalCifWindow.setTabOrder(self.ShredCifButton, self.CCDCpushButton)
        FinalCifWindow.setTabOrder(self.CCDCpushButton, self.OptionsPushButton)
        FinalCifWindow.setTabOrder(self.OptionsPushButton, self.FinalCifFilePlainTextEdit)
        FinalCifWindow.setTabOrder(self.FinalCifFilePlainTextEdit, self.BackPushButton)
        FinalCifWindow.setTabOrder(self.BackPushButton, self.reflTotalLineEdit)
        FinalCifWindow.setTabOrder(self.reflTotalLineEdit, self.refl2sigmaLineEdit)
        FinalCifWindow.setTabOrder(self.refl2sigmaLineEdit, self.uniqReflLineEdit)
        FinalCifWindow.setTabOrder(self.uniqReflLineEdit, self.numParametersLineEdit)
        FinalCifWindow.setTabOrder(self.numParametersLineEdit, self.dataReflnsLineEdit)
        FinalCifWindow.setTabOrder(self.dataReflnsLineEdit, self.wavelengthLineEdit)
        FinalCifWindow.setTabOrder(self.wavelengthLineEdit, self.flackXLineEdit)
        FinalCifWindow.setTabOrder(self.flackXLineEdit, self.zLineEdit)
        FinalCifWindow.setTabOrder(self.zLineEdit, self.temperatureLineEdit)
        FinalCifWindow.setTabOrder(self.temperatureLineEdit, self.wR2LineEdit)
        FinalCifWindow.setTabOrder(self.wR2LineEdit, self.r1LineEdit)
        FinalCifWindow.setTabOrder(self.r1LineEdit, self.goofLineEdit)
        FinalCifWindow.setTabOrder(self.goofLineEdit, self.maxShiftLineEdit)
        FinalCifWindow.setTabOrder(self.maxShiftLineEdit, self.peakLineEdit)
        FinalCifWindow.setTabOrder(self.peakLineEdit, self.rintLineEdit)
        FinalCifWindow.setTabOrder(self.rintLineEdit, self.rsigmaLineEdit)
        FinalCifWindow.setTabOrder(self.rsigmaLineEdit, self.numRestraintsLineEdit)
        FinalCifWindow.setTabOrder(self.numRestraintsLineEdit, self.thetaMaxLineEdit)
        FinalCifWindow.setTabOrder(self.thetaMaxLineEdit, self.thetaFullLineEdit)
        FinalCifWindow.setTabOrder(self.thetaFullLineEdit, self.dLineEdit)
        FinalCifWindow.setTabOrder(self.dLineEdit, self.SourcesTableWidget)
        FinalCifWindow.setTabOrder(self.SourcesTableWidget, self.BackSourcesPushButton)
        FinalCifWindow.setTabOrder(self.BackSourcesPushButton, self.BackFromOptionspPushButton)
        FinalCifWindow.setTabOrder(self.BackFromOptionspPushButton, self.CheckCIFServerURLTextedit)
        FinalCifWindow.setTabOrder(self.CheckCIFServerURLTextedit, self.PictureWidthDoubleSpinBox)
        FinalCifWindow.setTabOrder(self.PictureWidthDoubleSpinBox, self.LoopsTabWidget)
        FinalCifWindow.setTabOrder(self.LoopsTabWidget, self.revertLoopsPushButton)
        FinalCifWindow.setTabOrder(self.revertLoopsPushButton, self.BackFromLoopsPushButton)
        FinalCifWindow.setTabOrder(self.BackFromLoopsPushButton, self.CheckCifLogPlainTextEdit)
        FinalCifWindow.setTabOrder(self.CheckCifLogPlainTextEdit, self.CheckcifButton)
        FinalCifWindow.setTabOrder(self.CheckcifButton, self.CheckcifPDFOnlineButton)
        FinalCifWindow.setTabOrder(self.CheckcifPDFOnlineButton, self.CheckcifHTMLOnlineButton)
        FinalCifWindow.setTabOrder(self.CheckcifHTMLOnlineButton, self.CheckCIFResultsTabWidget)
        FinalCifWindow.setTabOrder(self.CheckCIFResultsTabWidget, self.CheckcifPlaintextEdit)
        FinalCifWindow.setTabOrder(self.CheckcifPlaintextEdit, self.ResponsesTabWidget)
        FinalCifWindow.setTabOrder(self.ResponsesTabWidget, self.responseFormsListWidget)
        FinalCifWindow.setTabOrder(self.responseFormsListWidget, self.SavePushButton)
        FinalCifWindow.setTabOrder(self.SavePushButton, self.EquipmentEditTableWidget)
        FinalCifWindow.setTabOrder(self.EquipmentEditTableWidget, self.PropertiesTemplatesListWidget)
        FinalCifWindow.setTabOrder(self.PropertiesTemplatesListWidget, self.EquipmentTemplatesListWidget)
        FinalCifWindow.setTabOrder(self.EquipmentTemplatesListWidget, self.RecentComboBox)
        FinalCifWindow.setTabOrder(self.RecentComboBox, self.PropertiesEditTableWidget)
        FinalCifWindow.setTabOrder(self.PropertiesEditTableWidget, self.NewEquipmentTemplateButton)
        FinalCifWindow.setTabOrder(self.NewEquipmentTemplateButton, self.ExportAuthorPushButton)
        FinalCifWindow.setTabOrder(self.ExportAuthorPushButton, self.ImportAuthorPushButton)
        FinalCifWindow.setTabOrder(self.ImportAuthorPushButton, self.DeleteLoopAuthorTemplateButton)
        FinalCifWindow.setTabOrder(self.DeleteLoopAuthorTemplateButton, self.SumFormMainLineEdit)
        FinalCifWindow.setTabOrder(self.SumFormMainLineEdit, self.Spacegroup_top_LineEdit)
        FinalCifWindow.setTabOrder(self.Spacegroup_top_LineEdit, self.CCDCNumLineEdit)
        FinalCifWindow.setTabOrder(self.CCDCNumLineEdit, self.BackpushButtonDetails)
        FinalCifWindow.setTabOrder(self.BackpushButtonDetails, self.completeLineEdit)
        FinalCifWindow.setTabOrder(self.completeLineEdit, self.personalDepositRadioButton)
        FinalCifWindow.setTabOrder(self.personalDepositRadioButton, self.CODtableWidget)
        FinalCifWindow.setTabOrder(self.CODtableWidget, self.journalNameLineEdit)
        FinalCifWindow.setTabOrder(self.journalNameLineEdit, self.FullNameLineEdit)
        FinalCifWindow.setTabOrder(self.FullNameLineEdit, self.ContactAuthorCheckBox)
        FinalCifWindow.setTabOrder(self.ContactAuthorCheckBox, self.AddressTextedit)
        FinalCifWindow.setTabOrder(self.AddressTextedit, self.EMailLineEdit)
        FinalCifWindow.setTabOrder(self.EMailLineEdit, self.PhoneLineEdit)
        FinalCifWindow.setTabOrder(self.PhoneLineEdit, self.ORCIDLineEdit)
        FinalCifWindow.setTabOrder(self.ORCIDLineEdit, self.IUCRIDLineEdit)
        FinalCifWindow.setTabOrder(self.IUCRIDLineEdit, self.FootNoteLineEdit)
        FinalCifWindow.setTabOrder(self.FootNoteLineEdit, self.SaveAuthorLoopToTemplateButton)
        FinalCifWindow.setTabOrder(self.SaveAuthorLoopToTemplateButton, self.AddThisAuthorToLoopPushButton)
        FinalCifWindow.setTabOrder(self.AddThisAuthorToLoopPushButton, self.drawImagePushButton)
        FinalCifWindow.setTabOrder(self.drawImagePushButton, self.ExportAllTemplatesPushButton)
        FinalCifWindow.setTabOrder(self.ExportAllTemplatesPushButton, self.ImportAllTemplatesPushButton)
        FinalCifWindow.setTabOrder(self.ImportAllTemplatesPushButton, self.ReportTextCheckBox)
        FinalCifWindow.setTabOrder(self.ReportTextCheckBox, self.HAtomsCheckBox)
        FinalCifWindow.setTabOrder(self.HAtomsCheckBox, self.CODURLTextedit)
        FinalCifWindow.setTabOrder(self.CODURLTextedit, self.trackChangesCifCheckBox)
        FinalCifWindow.setTabOrder(self.trackChangesCifCheckBox, self.authorEditTabWidget)
        FinalCifWindow.setTabOrder(self.authorEditTabWidget, self.depositorUsernameLineEdit)
        FinalCifWindow.setTabOrder(self.depositorUsernameLineEdit, self.depositorPasswordLineEdit)
        FinalCifWindow.setTabOrder(self.depositorPasswordLineEdit, self.SelectCif_LineEdit)
        FinalCifWindow.setTabOrder(self.SelectCif_LineEdit, self.growCheckBox)
        FinalCifWindow.setTabOrder(self.growCheckBox, self.labelsCheckBox)
        FinalCifWindow.setTabOrder(self.labelsCheckBox, self.FullNameLineEdit_cif)
        FinalCifWindow.setTabOrder(self.FullNameLineEdit_cif, self.ContactAuthorCheckBox_cif)
        FinalCifWindow.setTabOrder(self.ContactAuthorCheckBox_cif, self.AddressTextedit_cif)
        FinalCifWindow.setTabOrder(self.AddressTextedit_cif, self.EMailLineEdit_cif)
        FinalCifWindow.setTabOrder(self.EMailLineEdit_cif, self.PhoneLineEdit_cif)
        FinalCifWindow.setTabOrder(self.PhoneLineEdit_cif, self.SaveAuthorLoopToTemplateButton_cif)
        FinalCifWindow.setTabOrder(self.SaveAuthorLoopToTemplateButton_cif, self.AddThisAuthorToLoopPushButton_cif)
        FinalCifWindow.setTabOrder(self.AddThisAuthorToLoopPushButton_cif, self.newLoopPushButton)
        FinalCifWindow.setTabOrder(self.newLoopPushButton, self.structfactCheckBox)
        FinalCifWindow.setTabOrder(self.structfactCheckBox, self.fullIucrCheckBox)
        FinalCifWindow.setTabOrder(self.fullIucrCheckBox, self.BackFromPlatonPushButton)
        FinalCifWindow.setTabOrder(self.BackFromPlatonPushButton, self.depositHKLcheckBox)
        FinalCifWindow.setTabOrder(self.depositHKLcheckBox, self.Upload_hkl_pushButton)
        FinalCifWindow.setTabOrder(self.Upload_hkl_pushButton, self.userEmailLineEdit)
        FinalCifWindow.setTabOrder(self.userEmailLineEdit, self.authorEditorPushButton)
        FinalCifWindow.setTabOrder(self.authorEditorPushButton, self.ContactAuthorLineEdit)
        FinalCifWindow.setTabOrder(self.ContactAuthorLineEdit, self.ContactEmailLineEdit)
        FinalCifWindow.setTabOrder(self.ContactEmailLineEdit, self.embargoTimeInMonthsSpinBox)
        FinalCifWindow.setTabOrder(self.embargoTimeInMonthsSpinBox, self.ContactAuthorLineEdit_2)
        FinalCifWindow.setTabOrder(self.ContactAuthorLineEdit_2, self.authorEditorPushButton_2)
        FinalCifWindow.setTabOrder(self.authorEditorPushButton_2, self.ContactEmailLineEdit_2)
        FinalCifWindow.setTabOrder(self.ContactEmailLineEdit_2, self.publication_doi_lineedit)
        FinalCifWindow.setTabOrder(self.publication_doi_lineedit, self.GetDOIPushButton)
        FinalCifWindow.setTabOrder(self.GetDOIPushButton, self.depositOutputTextBrowser)
        FinalCifWindow.setTabOrder(self.depositOutputTextBrowser, self.refreshDepositListPushButton)
        FinalCifWindow.setTabOrder(self.refreshDepositListPushButton, self.BackFromDepositPushButton)
        FinalCifWindow.setTabOrder(self.BackFromDepositPushButton, self.depositCIFpushButton)
        FinalCifWindow.setTabOrder(self.depositCIFpushButton, self.datanameComboBox)
        FinalCifWindow.setTabOrder(self.datanameComboBox, self.appendCifPushButton)

    def retranslateUi(self, FinalCifWindow):
        _translate = QtCore.QCoreApplication.translate
        FinalCifWindow.setWindowTitle(_translate("FinalCifWindow", "FinalCif"))
        self.SelectCifFileGroupBox.setTitle(_translate("FinalCifWindow", "CIF File"))
        self.SelectCif_LineEdit.setPlaceholderText(_translate("FinalCifWindow", "Select a .cif file first."))
        self.SelectCif_PushButton.setText(_translate("FinalCifWindow", "Select File"))
        self.RecentComboBox.setCurrentText(_translate("FinalCifWindow", "Recent Files"))
        self.RecentComboBox.setItemText(0, _translate("FinalCifWindow", "Recent Files"))
        self.searchMainTableLabel.setText(_translate("FinalCifWindow", "Search Key"))
        self.searchMainTableLineEdit.setPlaceholderText(_translate("FinalCifWindow", "Find a CIF keyword in the main table"))
        self.EquipmentGroupBox.setTitle(_translate("FinalCifWindow", "Equipment Templates"))
        self.EquipmentTemplatesListWidget.setToolTip(_translate("FinalCifWindow", "<html><head/><body><p>Each entry can have a list of key/value pairs. For example a Diffractometer model can have a list of features.</p></body></html>"))
        self.NewEquipmentTemplateButton.setText(_translate("FinalCifWindow", "New Template"))
        self.EditEquipmentTemplateButton.setText(_translate("FinalCifWindow", "Edit Template"))
        self.ImportEquipmentTemplateButton.setText(_translate("FinalCifWindow", "Import"))
        self.EquipmentEditTableWidget.setSortingEnabled(True)
        item = self.EquipmentEditTableWidget.horizontalHeaderItem(0)
        item.setText(_translate("FinalCifWindow", "key"))
        item = self.EquipmentEditTableWidget.horizontalHeaderItem(1)
        item.setText(_translate("FinalCifWindow", "value"))
        self.DeleteEquipmentButton.setText(_translate("FinalCifWindow", "Delete Template"))
        self.SaveEquipmentButton.setText(_translate("FinalCifWindow", "Save"))
        self.CancelEquipmentButton.setText(_translate("FinalCifWindow", "Cancel"))
        self.ExportEquipmentButton.setText(_translate("FinalCifWindow", "Export"))
        self.ImportCifPushButton.setText(_translate("FinalCifWindow", "Import .cif, .pcf, .cif_od, .cfx or .sqf file"))
        self.importOnlyNewDataCheckBox.setText(_translate("FinalCifWindow", "Only new data"))
        self.groupBox_5.setTitle(_translate("FinalCifWindow", "Report Options"))
        self.ADPTableCheckBox.setText(_translate("FinalCifWindow", "Add ADP table"))
        self.ReportTextCheckBox.setText(_translate("FinalCifWindow", "No report text in structure report"))
        self.PictureWidthLabel.setText(_translate("FinalCifWindow", "Picture width [cm]"))
        self.HAtomsCheckBox.setText(_translate("FinalCifWindow", "No bonds and angles to hydrogen atoms"))
        self.groupBox_6.setTitle(_translate("FinalCifWindow", "Report Templates:"))
        __sortingEnabled = self.docxTemplatesListWidget.isSortingEnabled()
        self.docxTemplatesListWidget.setSortingEnabled(False)
        item = self.docxTemplatesListWidget.item(0)
        item.setText(_translate("FinalCifWindow", "Use FinalCif default template"))
        self.docxTemplatesListWidget.setSortingEnabled(__sortingEnabled)
        self.AddNewTemplPushButton.setText(_translate("FinalCifWindow", "Add New Template"))
        self.RemoveTemplPushButton.setText(_translate("FinalCifWindow", "Remove Selected"))
        self.label.setText(_translate("FinalCifWindow", "<html><head/><body><p>Get more templates here:  <a href=\"https://github.com/dkratzert/FinalCif\"><span style=\" text-decoration: underline; color:#0068da;\">https://github.com/dkratzert/FinalCif</span></a></p></body></html>"))
        self.LoopsGroupBox.setTitle(_translate("FinalCifWindow", "Author Templates"))
        self.ExportAuthorPushButton.setText(_translate("FinalCifWindow", "Export Author as File"))
        self.ImportAuthorPushButton.setText(_translate("FinalCifWindow", "Import Author"))
        self.DeleteLoopAuthorTemplateButton.setText(_translate("FinalCifWindow", "Delete Author"))
        self.spacegroupLabel.setText(_translate("FinalCifWindow", "Space-Group Type"))
        self.HelpPushButton.setText(_translate("FinalCifWindow", "Help"))
        self.cif_main_table.setSortingEnabled(False)
        item = self.cif_main_table.horizontalHeaderItem(0)
        item.setText(_translate("FinalCifWindow", "CIF Value"))
        item = self.cif_main_table.horizontalHeaderItem(1)
        item.setText(_translate("FinalCifWindow", "From Data Source"))
        item = self.cif_main_table.horizontalHeaderItem(2)
        item.setText(_translate("FinalCifWindow", "Own Data"))
        self.SaveCifButton.setToolTip(_translate("FinalCifWindow", "Saves the CIF file to name-finalcif.cif"))
        self.SaveCifButton.setText(_translate("FinalCifWindow", "Save CIF File"))
        self.ExploreDirButton.setToolTip(_translate("FinalCifWindow", "Saves the CIF file to name-finalcif.cif"))
        self.ExploreDirButton.setText(_translate("FinalCifWindow", "Explore Directory"))
        self.DetailsPushButton.setText(_translate("FinalCifWindow", "Show Details"))
        self.AuthorEditPushButton.setText(_translate("FinalCifWindow", "Author Editor"))
        self.LoopsPushButton.setText(_translate("FinalCifWindow", "Edit Loops"))
        self.ReportPicPushButton.setText(_translate("FinalCifWindow", "Picture for Report"))
        self.SaveFullReportButton.setText(_translate("FinalCifWindow", "Make Tables"))
        self.CheckcifStartButton.setText(_translate("FinalCifWindow", "CheckCIF"))
        self.CODpushButton.setText(_translate("FinalCifWindow", "COD Deposit"))
        self.ShredCifButton.setText(_translate("FinalCifWindow", "Extract .hkl/.res File"))
        self.CCDCpushButton.setText(_translate("FinalCifWindow", "CCDC Deposit"))
        self.OptionsPushButton.setText(_translate("FinalCifWindow", "Options"))
        self.BackPushButton.setText(_translate("FinalCifWindow", "Back to CIF Table"))
        self.molGroupBox.setTitle(_translate("FinalCifWindow", "Molecule"))
        self.growCheckBox.setText(_translate("FinalCifWindow", "Grow Structure"))
        self.labelsCheckBox.setText(_translate("FinalCifWindow", "Show Labels"))
        self.drawImagePushButton.setText(_translate("FinalCifWindow", "Use as Image for Report"))
        self.groupBox_9.setTitle(_translate("FinalCifWindow", "Shelx File"))
        self.shelx_TextEdit.setPlainText(_translate("FinalCifWindow", "No Shelx file available"))
        self.groupBox_3.setTitle(_translate("FinalCifWindow", "Properties"))
        self.zLabel.setText(_translate("FinalCifWindow", "<html><head/><body><p>Z</p></body></html>"))
        self.temperatureLabel.setText(_translate("FinalCifWindow", "Temperature [K]"))
        self.wR2Label.setText(_translate("FinalCifWindow", "<html><head/><body><p><span style=\" font-style:italic;\">wR</span><span style=\" vertical-align:sub;\">2 </span>[all ref.]</p></body></html>"))
        self.r1Label.setText(_translate("FinalCifWindow", "<html><head/><body><p><span style=\" font-style:italic;\">R</span><span style=\" vertical-align:sub;\">1 </span>[<span style=\" font-style:italic;\">I </span>&gt; 2σ(<span style=\" font-style:italic;\">I</span>)]</p></body></html>"))
        self.goofLabel.setText(_translate("FinalCifWindow", "Goof"))
        self.maxShiftLabel.setText(_translate("FinalCifWindow", "Max Shift/esd"))
        self.completeLabel.setText(_translate("FinalCifWindow", "complete [%]"))
        self.reflTotalLabel.setText(_translate("FinalCifWindow", "Measured Refl."))
        self.refl2sigmaLabel.setText(_translate("FinalCifWindow", "<html><head/><body><p>Data with [<span style=\" font-style:italic;\">I </span>&gt; 2σ(<span style=\" font-style:italic;\">I</span>)]</p></body></html>"))
        self.uniqReflLabel.setText(_translate("FinalCifWindow", "Independent Refl."))
        self.numParametersLabel.setText(_translate("FinalCifWindow", "Parameters"))
        self.dataReflnsLabel.setText(_translate("FinalCifWindow", "Data/Parameters"))
        self.wavelengthLabel.setText(_translate("FinalCifWindow", "Wavelength [Å]"))
        self.flackXLabel.setText(_translate("FinalCifWindow", "Flack x"))
        self.groupBox_4.setTitle(_translate("FinalCifWindow", "Unit Cell"))
        self.peakLabel.setText(_translate("FinalCifWindow", "<html><head/><body><p>Peak/Hole [eÅ<span style=\" vertical-align:super;\">-3</span>]</p></body></html>"))
        self.rintLabel.setText(_translate("FinalCifWindow", "<html><head/><body><p><span style=\" font-style:italic;\">R</span><span style=\" vertical-align:sub;\">int</span></p></body></html>"))
        self.rsigmaLabel.setText(_translate("FinalCifWindow", "<html><head/><body><p><span style=\" font-style:italic;\">R</span><span style=\" vertical-align:sub;\">σ</span></p></body></html>"))
        self.numRestraintsLabel.setText(_translate("FinalCifWindow", "Restraints"))
        self.thetaMaxLabel.setText(_translate("FinalCifWindow", "θ(max) [°]"))
        self.thetaFullLabel.setText(_translate("FinalCifWindow", "θ(full) [°]"))
        self.dLabel.setText(_translate("FinalCifWindow", "<html><head/><body><p>Resolution [Å]</p></body></html>"))
        self.BackpushButtonDetails.setText(_translate("FinalCifWindow", "Back to CIF Table"))
        self.SourcesPushButton.setText(_translate("FinalCifWindow", "Data Sources"))
        self.label_3.setText(_translate("FinalCifWindow", "The list of data sources shows the origin of CIF items automatically collected by FinalCif. \n"
"\n"
"Uncheck items in order to ignore the respective data source.\n"
"The data source will be ignored until next program restart."))
        item = self.SourcesTableWidget.horizontalHeaderItem(1)
        item.setText(_translate("FinalCifWindow", "CIF Item"))
        item = self.SourcesTableWidget.horizontalHeaderItem(2)
        item.setText(_translate("FinalCifWindow", "Data Source"))
        self.BackSourcesPushButton.setText(_translate("FinalCifWindow", "Back to CIF Table"))
        self.groupBox_COD.setTitle(_translate("FinalCifWindow", "Crystallography Open Database Server"))
        self.label_7.setText(_translate("FinalCifWindow", "COD deposit URL:"))
        self.CODURLTextedit.setText(_translate("FinalCifWindow", "https://www.crystallography.net/cod/cgi-bin/cif-deposit.pl"))
        self.groupBox_7.setTitle(_translate("FinalCifWindow", "CheckCIF Server"))
        self.label_4.setText(_translate("FinalCifWindow", "Change this URL if the CheckCIF server URL changes:"))
        self.CheckCIFServerURLTextedit.setText(_translate("FinalCifWindow", "https://checkcif.iucr.org/cgi-bin/checkcif_hkl.pl"))
        self.BackFromOptionspPushButton.setText(_translate("FinalCifWindow", "Back to Main Table"))
        self.groupBox_8.setTitle(_translate("FinalCifWindow", "Export"))
        self.ExportAllTemplatesPushButton.setText(_translate("FinalCifWindow", "Export all Templates"))
        self.label_18.setText(_translate("FinalCifWindow", "Exports all templates from Equipment, Properties, Authors and Text snippets to a single file."))
        self.ImportAllTemplatesPushButton.setText(_translate("FinalCifWindow", "Import all Templates"))
        self.label_17.setText(_translate("FinalCifWindow", "Imports all templates from a template file."))
        self.groupBox_10.setTitle(_translate("FinalCifWindow", "General Options"))
        self.trackChangesCifCheckBox.setText(_translate("FinalCifWindow", "Track CIF changes in separate file \"[name]-finalcif_changes.cif\"."))
        self.PropertiesGroupBox.setTitle(_translate("FinalCifWindow", "Property Templates"))
        self.PropertiesTemplatesListWidget.setToolTip(_translate("FinalCifWindow", "<html><head/><body><p>A list of common properties like </p><p>_exptl_crystal_colour: yellow, red, blue, ...</p><p>Lists defined here will appear as dropdown menus in the main Table.</p></body></html>"))
        self.EditPropertyTemplateButton.setText(_translate("FinalCifWindow", "Edit Template"))
        self.NewPropertyTemplateButton.setText(_translate("FinalCifWindow", "New Template"))
        self.ImportPropertyTemplateButton.setText(_translate("FinalCifWindow", "Import"))
        self.cifKeywordLB.setText(_translate("FinalCifWindow", "CIF keyword:"))
        self.DeletePropertiesButton.setText(_translate("FinalCifWindow", "Delete Template"))
        self.SavePropertiesButton.setText(_translate("FinalCifWindow", "Save"))
        self.CancelPropertiesButton.setText(_translate("FinalCifWindow", "Cancel"))
        self.ExportPropertyButton.setText(_translate("FinalCifWindow", "Export"))
        self.label_20.setText(_translate("FinalCifWindow", "Details about the author(s) of a manuscript submitted for publication.\n"
"Contact authors should always also appear as regular authors."))
        self.label_34.setText(_translate("FinalCifWindow", "ORCID"))
        self.footnote_label.setText(_translate("FinalCifWindow", "footnote"))
        self.label_21.setText(_translate("FinalCifWindow", "Adresss"))
        self.label_28.setText(_translate("FinalCifWindow", "<html><head/><body><p><span style=\" color:#666666;\">The adress of an author</span></p><p><span style=\" color:#666666;\">Department<br/>Institute<br/>Street<br/>City and postcode<br/>COUNTRY</span></p></body></html>"))
        self.ContactAuthorCheckBox.setText(_translate("FinalCifWindow", "This is a contact author"))
        self.label_22.setText(_translate("FinalCifWindow", "Full Name"))
        self.EmailLabel.setText(_translate("FinalCifWindow", "e-mail"))
        self.label_27.setText(_translate("FinalCifWindow", "<html><head/><body><p><span style=\" color:#666666;\">Family name, first name</span></p></body></html>"))
        self.PhoneLabel.setText(_translate("FinalCifWindow", "phone number"))
        self.label_36.setText(_translate("FinalCifWindow", "IUCr Id"))
        self.SaveAuthorLoopToTemplateButton.setText(_translate("FinalCifWindow", "Save Author as Template"))
        self.AddThisAuthorToLoopPushButton.setText(_translate("FinalCifWindow", "Add Publication Author to CIF Loop"))
        self.authorEditTabWidget.setTabText(self.authorEditTabWidget.indexOf(self.page_publication), _translate("FinalCifWindow", "Publication Authors"))
        self.label_23.setText(_translate("FinalCifWindow", "Details about the author(s) of this CIF data block (most often the crystallographer).\n"
"Contact authors should always also appear as regular authors."))
        self.label_29.setText(_translate("FinalCifWindow", "<html><head/><body><p><span style=\" color:#666666;\">Family name, first name</span></p></body></html>"))
        self.label_24.setText(_translate("FinalCifWindow", "Full Name"))
        self.label_30.setText(_translate("FinalCifWindow", "<html><head/><body><p><span style=\" color:#666666;\">The adress of an author</span></p><p><span style=\" color:#666666;\">Department<br/>Institute<br/>Street<br/>City and postcode<br/>COUNTRY</span></p></body></html>"))
        self.EmailLabel_cif.setText(_translate("FinalCifWindow", "e-mail"))
        self.ContactAuthorCheckBox_cif.setText(_translate("FinalCifWindow", "This is a contact author"))
        self.label_25.setText(_translate("FinalCifWindow", "Adresss"))
        self.PhoneLabel_cif.setText(_translate("FinalCifWindow", "phone number"))
        self.label_13.setText(_translate("FinalCifWindow", "<html><head/><body><p><span style=\" color:#666666;\">Audit authors have less possibilities than publication authors.</span></p></body></html>"))
        self.SaveAuthorLoopToTemplateButton_cif.setText(_translate("FinalCifWindow", "Save Author as Template"))
        self.AddThisAuthorToLoopPushButton_cif.setText(_translate("FinalCifWindow", "Add Audit Author to CIF Loop"))
        self.authorEditTabWidget.setTabText(self.authorEditTabWidget.indexOf(self.page_audit), _translate("FinalCifWindow", "Audit (CIF) Authors"))
        self.LoopsTabWidget.setTabText(self.LoopsTabWidget.indexOf(self.tab_2), _translate("FinalCifWindow", "Author Editor"))
        self.revertLoopsPushButton.setText(_translate("FinalCifWindow", "Revert Changes"))
        self.BackFromLoopsPushButton.setText(_translate("FinalCifWindow", "Back to CIF Table"))
        self.newLoopPushButton.setText(_translate("FinalCifWindow", "Add New Loop"))
        self.CheckCIFResultsTabWidget.setTabText(self.CheckCIFResultsTabWidget.indexOf(self.platon_page), _translate("FinalCifWindow", "PLATON CheckCIF result"))
        self.ResponsesTabWidget.setTabText(self.ResponsesTabWidget.indexOf(self.htmlTabwidgetPage), _translate("FinalCifWindow", "html report"))
        self.label_6.setText(_translate("FinalCifWindow", "Every form you fill out will be written to the cif file."))
        self.SavePushButton.setText(_translate("FinalCifWindow", "Save Response Forms"))
        self.ResponsesTabWidget.setTabText(self.ResponsesTabWidget.indexOf(self.ResponsesTabWidgetPage2), _translate("FinalCifWindow", "checkcif alerts"))
        self.CheckCIFResultsTabWidget.setTabText(self.CheckCIFResultsTabWidget.indexOf(self.html_page), _translate("FinalCifWindow", "html CheckCIF result"))
        self.label_5.setText(_translate("FinalCifWindow", "The resulting PDF file will be displayed in an external program after CheckCIF has completed."))
        self.CheckCIFResultsTabWidget.setTabText(self.CheckCIFResultsTabWidget.indexOf(self.pdf_page), _translate("FinalCifWindow", "PDF CheckCIF result"))
        self.groupBox_71.setTitle(_translate("FinalCifWindow", "CheckCIF log messages"))
        self.CheckcifPDFOnlineButton.setText(_translate("FinalCifWindow", "Checkcif Online PDF"))
        self.structfactCheckBox.setText(_translate("FinalCifWindow", "without structure factors (faster but not complete)"))
        self.fullIucrCheckBox.setText(_translate("FinalCifWindow", "Full IUCr publication validation"))
        self.CheckcifButton.setText(_translate("FinalCifWindow", "CheckCif Offline"))
        self.CheckcifHTMLOnlineButton.setText(_translate("FinalCifWindow", "Checkcif Online HTML"))
        self.BackFromPlatonPushButton.setText(_translate("FinalCifWindow", "Back to CIF Table"))
        self.personalDepositRadioButton.setText(_translate("FinalCifWindow", "personal (private) communication"))
        self.prepublicationDepositRadioButton.setText(_translate("FinalCifWindow", "prepublication"))
        self.publishedDepositionRadioButton.setText(_translate("FinalCifWindow", "already published"))
        self.depositorUsername.setText(_translate("FinalCifWindow", "depositor\'s username"))
        self.label_9.setText(_translate("FinalCifWindow", "depsoitor\'s e-mail"))
        self.depositHKLcheckBox.setText(_translate("FinalCifWindow", "deposit included hkl data or"))
        self.Upload_hkl_pushButton.setText(_translate("FinalCifWindow", "choose different hkl file"))
        self.label_2.setText(_translate("FinalCifWindow", "<html><head/><body><p>You need to have a COD account <br/>in order to deposit a cif file. </p><p><a href=\"http://crystallography.net/cod/\"><span style=\" text-decoration: underline; color:#094fd1;\">Signup here for a new account</span></a></p></body></html>"))
        self.depositorPasswordLabel.setText(_translate("FinalCifWindow", "depositor\'s password"))
        self.label_10.setText(_translate("FinalCifWindow", "<html><head/><body><p><span style=\" font-weight:600;\">A personal communication to the COD makes the uploaded CIF publicly available.</span></p></body></html>"))
        self.ContactAuthorLabel.setText(_translate("FinalCifWindow", "Publication author for contact by the COD:"))
        self.authorsFullNamePersonalLabel.setText(_translate("FinalCifWindow", "The current CIF does not contain enough author \n"
"information please add a publication author:"))
        self.authorEditorPushButton.setText(_translate("FinalCifWindow", "Author Editor"))
        self.label_12.setText(_translate("FinalCifWindow", "Email address for contact by the COD:"))
        self.label_8.setText(_translate("FinalCifWindow", "(6-12 months)"))
        self.embargoTimeInMonthsLabel.setText(_translate("FinalCifWindow", "Hold period in months (embargo time)"))
        self.journalMameLabel.setText(_translate("FinalCifWindow", "Intended journal name (not mandatory)"))
        self.authorsFullNamePersonalLabel_2.setText(_translate("FinalCifWindow", "The current CIF does not contain all author information \n"
"please add a publication author:"))
        self.authorEditorPushButton_2.setText(_translate("FinalCifWindow", "Author Editor"))
        self.ContactAuthorLabel_2.setText(_translate("FinalCifWindow", "Publication author for contact by the COD:"))
        self.label_15.setText(_translate("FinalCifWindow", "Email address for contact by the COD:"))
        self.cod_database_code_Label.setText(_translate("FinalCifWindow", "Publication DOI:"))
        self.label_11.setText(_translate("FinalCifWindow", "Insert the DOI of the publication to which the uploaded CIF belongs."))
        self.GetDOIPushButton.setText(_translate("FinalCifWindow", "Get Citation"))
        self.label_14.setText(_translate("FinalCifWindow", "<html><head/><body><p><span style=\" font-weight:600; color:#a50000;\">Files from commercial databases should not be uploaded without permission!</span></p></body></html>"))
        self.label_deposition_output.setText(_translate("FinalCifWindow", "Deposition Output:"))
        self.StructuresListGroupBox.setTitle(_translate("FinalCifWindow", "List of deposited structures"))
        self.refreshDepositListPushButton.setText(_translate("FinalCifWindow", "Enter username and password"))
        self.CODtableWidget.setSortingEnabled(True)
        item = self.CODtableWidget.horizontalHeaderItem(0)
        item.setText(_translate("FinalCifWindow", "ID"))
        item = self.CODtableWidget.horizontalHeaderItem(1)
        item.setText(_translate("FinalCifWindow", "Date"))
        item = self.CODtableWidget.horizontalHeaderItem(2)
        item.setText(_translate("FinalCifWindow", "Time"))
        self.BackFromDepositPushButton.setText(_translate("FinalCifWindow", "Back to CIF Table"))
        self.depositCIFpushButton.setText(_translate("FinalCifWindow", "Deposit CIF"))
        self.datanameLabel.setText(_translate("FinalCifWindow", "Data Name"))
        self.CCDCNumLabel.setText(_translate("FinalCifWindow", "CCDC Number"))
        self.SumFormMainLabel.setText(_translate("FinalCifWindow", "Sum Formula"))
        self.appendCifPushButton.setText(_translate("FinalCifWindow", "Append CIF"))
from finalcif.displaymol.molecule2D import MoleculeWidget
from finalcif.gui.custom_classes import MyCifTable
from finalcif.gui.equipmenttable import MyEQTableWidget
from finalcif.gui.file_editor import QCodeEditor
from finalcif.gui.mainstackwidget import MyMainStackedWidget
from finalcif.gui.propertytable import MyPropTableWidget


if __name__ == "__main__":
    import sys
    app = QtWidgets.QApplication(sys.argv)
    FinalCifWindow = QtWidgets.QMainWindow()
    ui = Ui_FinalCifWindow()
    ui.setupUi(FinalCifWindow)
    FinalCifWindow.show()
    sys.exit(app.exec_())
