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

# Form implementation generated from reading ui file 'eric/UI/EmailDialog.ui'
#
# Created: Thu Jul  8 14:17:57 2010
#      by: PyQt4 UI code generator 4.7.3
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_EmailDialog(object):
    def setupUi(self, EmailDialog):
        EmailDialog.setObjectName("EmailDialog")
        EmailDialog.resize(600, 547)
        EmailDialog.setSizeGripEnabled(True)
        self.verticalLayout_2 = QtGui.QVBoxLayout(EmailDialog)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.mainSplitter = QtGui.QSplitter(EmailDialog)
        self.mainSplitter.setOrientation(QtCore.Qt.Vertical)
        self.mainSplitter.setObjectName("mainSplitter")
        self.messageGroup = QtGui.QGroupBox(self.mainSplitter)
        self.messageGroup.setObjectName("messageGroup")
        self.verticalLayout = QtGui.QVBoxLayout(self.messageGroup)
        self.verticalLayout.setObjectName("verticalLayout")
        self.hboxlayout = QtGui.QHBoxLayout()
        self.hboxlayout.setObjectName("hboxlayout")
        self.textLabel1 = QtGui.QLabel(self.messageGroup)
        self.textLabel1.setObjectName("textLabel1")
        self.hboxlayout.addWidget(self.textLabel1)
        self.subject = QtGui.QLineEdit(self.messageGroup)
        self.subject.setObjectName("subject")
        self.hboxlayout.addWidget(self.subject)
        self.verticalLayout.addLayout(self.hboxlayout)
        self.msgLabel = QtGui.QLabel(self.messageGroup)
        self.msgLabel.setObjectName("msgLabel")
        self.verticalLayout.addWidget(self.msgLabel)
        self.message = QtGui.QTextEdit(self.messageGroup)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.message.sizePolicy().hasHeightForWidth())
        self.message.setSizePolicy(sizePolicy)
        self.message.setLineWrapMode(QtGui.QTextEdit.FixedColumnWidth)
        self.message.setLineWrapColumnOrWidth(70)
        self.message.setTabStopWidth(8)
        self.message.setAcceptRichText(False)
        self.message.setObjectName("message")
        self.verticalLayout.addWidget(self.message)
        self.attachmentsGroup = QtGui.QGroupBox(self.mainSplitter)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.attachmentsGroup.sizePolicy().hasHeightForWidth())
        self.attachmentsGroup.setSizePolicy(sizePolicy)
        self.attachmentsGroup.setObjectName("attachmentsGroup")
        self.gridLayout = QtGui.QGridLayout(self.attachmentsGroup)
        self.gridLayout.setObjectName("gridLayout")
        self.attachments = QtGui.QTreeWidget(self.attachmentsGroup)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.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 = QtGui.QVBoxLayout()
        self.vboxlayout.setObjectName("vboxlayout")
        self.addButton = QtGui.QPushButton(self.attachmentsGroup)
        self.addButton.setObjectName("addButton")
        self.vboxlayout.addWidget(self.addButton)
        self.deleteButton = QtGui.QPushButton(self.attachmentsGroup)
        self.deleteButton.setObjectName("deleteButton")
        self.vboxlayout.addWidget(self.deleteButton)
        spacerItem = QtGui.QSpacerItem(20, 16, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.vboxlayout.addItem(spacerItem)
        self.gridLayout.addLayout(self.vboxlayout, 0, 1, 1, 1)
        self.verticalLayout_2.addWidget(self.mainSplitter)
        self.buttonBox = QtGui.QDialogButtonBox(EmailDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.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):
        EmailDialog.setWindowTitle(QtGui.QApplication.translate("EmailDialog", "Send bug report", None, QtGui.QApplication.UnicodeUTF8))
        self.messageGroup.setTitle(QtGui.QApplication.translate("EmailDialog", "Message", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel1.setText(QtGui.QApplication.translate("EmailDialog", "&Subject:", None, QtGui.QApplication.UnicodeUTF8))
        self.subject.setToolTip(QtGui.QApplication.translate("EmailDialog", "Enter the subject", None, QtGui.QApplication.UnicodeUTF8))
        self.attachmentsGroup.setTitle(QtGui.QApplication.translate("EmailDialog", "Attachments", None, QtGui.QApplication.UnicodeUTF8))
        self.attachments.headerItem().setText(0, QtGui.QApplication.translate("EmailDialog", "Name", None, QtGui.QApplication.UnicodeUTF8))
        self.attachments.headerItem().setText(1, QtGui.QApplication.translate("EmailDialog", "Type", None, QtGui.QApplication.UnicodeUTF8))
        self.addButton.setToolTip(QtGui.QApplication.translate("EmailDialog", "Press to add an attachment", None, QtGui.QApplication.UnicodeUTF8))
        self.addButton.setText(QtGui.QApplication.translate("EmailDialog", "&Add...", None, QtGui.QApplication.UnicodeUTF8))
        self.addButton.setShortcut(QtGui.QApplication.translate("EmailDialog", "Alt+A", None, QtGui.QApplication.UnicodeUTF8))
        self.deleteButton.setToolTip(QtGui.QApplication.translate("EmailDialog", "Delete the selected entry from the list of attachments", None, QtGui.QApplication.UnicodeUTF8))
        self.deleteButton.setText(QtGui.QApplication.translate("EmailDialog", "&Delete", None, QtGui.QApplication.UnicodeUTF8))
        self.deleteButton.setShortcut(QtGui.QApplication.translate("EmailDialog", "Alt+D", None, QtGui.QApplication.UnicodeUTF8))

