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


from PyQt6 import QtCore, QtGui, QtWidgets


class Ui_EmailDialog(object):
    def setupUi(self, EmailDialog):
        EmailDialog.setObjectName("EmailDialog")
        EmailDialog.resize(600, 547)
        EmailDialog.setSizeGripEnabled(True)
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(EmailDialog)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.mainSplitter = QtWidgets.QSplitter(EmailDialog)
        self.mainSplitter.setOrientation(QtCore.Qt.Orientation.Vertical)
        self.mainSplitter.setObjectName("mainSplitter")
        self.messageGroup = QtWidgets.QGroupBox(self.mainSplitter)
        self.messageGroup.setObjectName("messageGroup")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.messageGroup)
        self.verticalLayout.setObjectName("verticalLayout")
        self.hboxlayout = QtWidgets.QHBoxLayout()
        self.hboxlayout.setObjectName("hboxlayout")
        self.textLabel1 = QtWidgets.QLabel(self.messageGroup)
        self.textLabel1.setObjectName("textLabel1")
        self.hboxlayout.addWidget(self.textLabel1)
        self.subject = QtWidgets.QLineEdit(self.messageGroup)
        self.subject.setObjectName("subject")
        self.hboxlayout.addWidget(self.subject)
        self.verticalLayout.addLayout(self.hboxlayout)
        self.msgLabel = QtWidgets.QLabel(self.messageGroup)
        self.msgLabel.setObjectName("msgLabel")
        self.verticalLayout.addWidget(self.msgLabel)
        self.message = EricSpellCheckedTextEdit(self.messageGroup)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.message.sizePolicy().hasHeightForWidth())
        self.message.setSizePolicy(sizePolicy)
        self.message.setLineWrapMode(QtWidgets.QTextEdit.LineWrapMode.FixedColumnWidth)
        self.message.setLineWrapColumnOrWidth(70)
        self.message.setTabStopDistance(8.0)
        self.message.setAcceptRichText(False)
        self.message.setObjectName("message")
        self.verticalLayout.addWidget(self.message)
        self.attachmentsGroup = QtWidgets.QGroupBox(self.mainSplitter)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.attachmentsGroup.sizePolicy().hasHeightForWidth())
        self.attachmentsGroup.setSizePolicy(sizePolicy)
        self.attachmentsGroup.setObjectName("attachmentsGroup")
        self.gridLayout = QtWidgets.QGridLayout(self.attachmentsGroup)
        self.gridLayout.setObjectName("gridLayout")
        self.attachments = QtWidgets.QTreeWidget(self.attachmentsGroup)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.attachments.sizePolicy().hasHeightForWidth())
        self.attachments.setSizePolicy(sizePolicy)
        self.attachments.setAlternatingRowColors(True)
        self.attachments.setRootIsDecorated(False)
        self.attachments.setObjectName("attachments")
        self.gridLayout.addWidget(self.attachments, 0, 0, 1, 1)
        self.vboxlayout = QtWidgets.QVBoxLayout()
        self.vboxlayout.setObjectName("vboxlayout")
        self.addButton = QtWidgets.QPushButton(self.attachmentsGroup)
        self.addButton.setObjectName("addButton")
        self.vboxlayout.addWidget(self.addButton)
        self.deleteButton = QtWidgets.QPushButton(self.attachmentsGroup)
        self.deleteButton.setObjectName("deleteButton")
        self.vboxlayout.addWidget(self.deleteButton)
        spacerItem = QtWidgets.QSpacerItem(20, 16, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding)
        self.vboxlayout.addItem(spacerItem)
        self.gridLayout.addLayout(self.vboxlayout, 0, 1, 1, 1)
        self.verticalLayout_2.addWidget(self.mainSplitter)
        self.buttonBox = QtWidgets.QDialogButtonBox(EmailDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Close)
        self.buttonBox.setObjectName("buttonBox")
        self.verticalLayout_2.addWidget(self.buttonBox)
        self.textLabel1.setBuddy(self.subject)
        self.msgLabel.setBuddy(self.message)

        self.retranslateUi(EmailDialog)
        QtCore.QMetaObject.connectSlotsByName(EmailDialog)
        EmailDialog.setTabOrder(self.subject, self.message)
        EmailDialog.setTabOrder(self.message, self.addButton)
        EmailDialog.setTabOrder(self.addButton, self.attachments)
        EmailDialog.setTabOrder(self.attachments, self.deleteButton)

    def retranslateUi(self, EmailDialog):
        _translate = QtCore.QCoreApplication.translate
        EmailDialog.setWindowTitle(_translate("EmailDialog", "Send bug report"))
        self.messageGroup.setTitle(_translate("EmailDialog", "Message"))
        self.textLabel1.setText(_translate("EmailDialog", "&Subject:"))
        self.subject.setToolTip(_translate("EmailDialog", "Enter the subject"))
        self.attachmentsGroup.setTitle(_translate("EmailDialog", "Attachments"))
        self.attachments.headerItem().setText(0, _translate("EmailDialog", "Name"))
        self.attachments.headerItem().setText(1, _translate("EmailDialog", "Type"))
        self.addButton.setToolTip(_translate("EmailDialog", "Press to add an attachment"))
        self.addButton.setText(_translate("EmailDialog", "&Add..."))
        self.addButton.setShortcut(_translate("EmailDialog", "Alt+A"))
        self.deleteButton.setToolTip(_translate("EmailDialog", "Delete the selected entry from the list of attachments"))
        self.deleteButton.setText(_translate("EmailDialog", "&Delete"))
        self.deleteButton.setShortcut(_translate("EmailDialog", "Alt+D"))
from eric7.EricWidgets.EricSpellCheckedTextEdit import EricSpellCheckedTextEdit
