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

# Form implementation generated from reading ui file '/Users/daniel/Documents/GitHub/FinalCif/finalcif/gui/text_templates.ui'
#
# Created by: PyQt5 UI code generator 5.15.7
#
# 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_TextTemplatesWidget(object):
    def setupUi(self, TextTemplatesWidget):
        TextTemplatesWidget.setObjectName("TextTemplatesWidget")
        TextTemplatesWidget.resize(765, 658)
        self.verticalLayout_3 = QtWidgets.QVBoxLayout(TextTemplatesWidget)
        self.verticalLayout_3.setContentsMargins(6, 6, 6, 6)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setContentsMargins(6, -1, -1, 6)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.cifKeyLabel = QtWidgets.QLabel(TextTemplatesWidget)
        self.cifKeyLabel.setObjectName("cifKeyLabel")
        self.horizontalLayout.addWidget(self.cifKeyLabel)
        self.cifKeyLineEdit = QtWidgets.QLineEdit(TextTemplatesWidget)
        font = QtGui.QFont()
        font.setPointSize(12)
        font.setBold(True)
        font.setWeight(75)
        self.cifKeyLineEdit.setFont(font)
        self.cifKeyLineEdit.setText("")
        self.cifKeyLineEdit.setReadOnly(True)
        self.cifKeyLineEdit.setObjectName("cifKeyLineEdit")
        self.horizontalLayout.addWidget(self.cifKeyLineEdit)
        self.verticalLayout_3.addLayout(self.horizontalLayout)
        self.combinedTestGroupBox = QtWidgets.QGroupBox(TextTemplatesWidget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(1)
        sizePolicy.setHeightForWidth(self.combinedTestGroupBox.sizePolicy().hasHeightForWidth())
        self.combinedTestGroupBox.setSizePolicy(sizePolicy)
        self.combinedTestGroupBox.setObjectName("combinedTestGroupBox")
        self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.combinedTestGroupBox)
        self.verticalLayout_4.setContentsMargins(3, 3, 3, 6)
        self.verticalLayout_4.setSpacing(6)
        self.verticalLayout_4.setObjectName("verticalLayout_4")
        self.plainTextEdit = QtWidgets.QPlainTextEdit(self.combinedTestGroupBox)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.plainTextEdit.setFont(font)
        self.plainTextEdit.setBackgroundVisible(False)
        self.plainTextEdit.setObjectName("plainTextEdit")
        self.verticalLayout_4.addWidget(self.plainTextEdit)
        self.verticalLayout_3.addWidget(self.combinedTestGroupBox)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setSpacing(9)
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.applyTextPushButton = QtWidgets.QPushButton(TextTemplatesWidget)
        self.applyTextPushButton.setObjectName("applyTextPushButton")
        self.horizontalLayout_2.addWidget(self.applyTextPushButton)
        self.cancelTextPushButton = QtWidgets.QPushButton(TextTemplatesWidget)
        self.cancelTextPushButton.setObjectName("cancelTextPushButton")
        self.horizontalLayout_2.addWidget(self.cancelTextPushButton)
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem)
        spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem1)
        self.verticalLayout_3.addLayout(self.horizontalLayout_2)
        self.TemplatesListGroupBox = QtWidgets.QGroupBox(TextTemplatesWidget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(2)
        sizePolicy.setHeightForWidth(self.TemplatesListGroupBox.sizePolicy().hasHeightForWidth())
        self.TemplatesListGroupBox.setSizePolicy(sizePolicy)
        self.TemplatesListGroupBox.setObjectName("TemplatesListGroupBox")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.TemplatesListGroupBox)
        self.verticalLayout.setContentsMargins(3, 3, 3, 3)
        self.verticalLayout.setObjectName("verticalLayout")
        self.templatesListWidget = QtWidgets.QListWidget(self.TemplatesListGroupBox)
        self.templatesListWidget.setAutoScroll(False)
        self.templatesListWidget.setSelectionMode(QtWidgets.QAbstractItemView.NoSelection)
        self.templatesListWidget.setVerticalScrollMode(QtWidgets.QAbstractItemView.ScrollPerPixel)
        self.templatesListWidget.setHorizontalScrollMode(QtWidgets.QAbstractItemView.ScrollPerPixel)
        self.templatesListWidget.setResizeMode(QtWidgets.QListView.Adjust)
        self.templatesListWidget.setObjectName("templatesListWidget")
        self.verticalLayout.addWidget(self.templatesListWidget)
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setSpacing(9)
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.savePushButton = QtWidgets.QPushButton(self.TemplatesListGroupBox)
        self.savePushButton.setObjectName("savePushButton")
        self.horizontalLayout_3.addWidget(self.savePushButton)
        self.importPushButton = QtWidgets.QPushButton(self.TemplatesListGroupBox)
        self.importPushButton.setObjectName("importPushButton")
        self.horizontalLayout_3.addWidget(self.importPushButton)
        self.exportTextPushButton = QtWidgets.QPushButton(self.TemplatesListGroupBox)
        self.exportTextPushButton.setObjectName("exportTextPushButton")
        self.horizontalLayout_3.addWidget(self.exportTextPushButton)
        spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem2)
        self.deletePushButton = QtWidgets.QPushButton(self.TemplatesListGroupBox)
        self.deletePushButton.setObjectName("deletePushButton")
        self.horizontalLayout_3.addWidget(self.deletePushButton)
        spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem3)
        self.verticalLayout.addLayout(self.horizontalLayout_3)
        self.verticalLayout_3.addWidget(self.TemplatesListGroupBox)

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

    def retranslateUi(self, TextTemplatesWidget):
        _translate = QtCore.QCoreApplication.translate
        TextTemplatesWidget.setWindowTitle(_translate("TextTemplatesWidget", "TextTemplatesWidget"))
        self.cifKeyLabel.setText(_translate("TextTemplatesWidget", "CIF key:"))
        self.combinedTestGroupBox.setTitle(_translate("TextTemplatesWidget", "Combined text"))
        self.plainTextEdit.setPlaceholderText(_translate("TextTemplatesWidget", "The text of the selected templates is added here in selection order"))
        self.applyTextPushButton.setText(_translate("TextTemplatesWidget", "Apply Text"))
        self.cancelTextPushButton.setText(_translate("TextTemplatesWidget", "Cancel"))
        self.TemplatesListGroupBox.setTitle(_translate("TextTemplatesWidget", "Select one or more templates"))
        self.savePushButton.setText(_translate("TextTemplatesWidget", "Save as Template"))
        self.importPushButton.setText(_translate("TextTemplatesWidget", "Import Template"))
        self.exportTextPushButton.setText(_translate("TextTemplatesWidget", "Export to CIF"))
        self.deletePushButton.setText(_translate("TextTemplatesWidget", "Delete Template"))
