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

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric4/eric4_0/eric4/UI/EmailDialog.ui'
#
# Created: Thu Mar 29 19:47:01 2007
#      by: PyQt4 UI code generator 4-snapshot-20070125
#
# 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(QtCore.QSize(QtCore.QRect(0,0,600,547).size()).expandedTo(EmailDialog.minimumSizeHint()))
        EmailDialog.setSizeGripEnabled(True)

        self.vboxlayout = QtGui.QVBoxLayout(EmailDialog)
        self.vboxlayout.setMargin(6)
        self.vboxlayout.setSpacing(6)
        self.vboxlayout.setObjectName("vboxlayout")

        self.mainSplitter = QtGui.QSplitter(EmailDialog)
        self.mainSplitter.setOrientation(QtCore.Qt.Vertical)
        self.mainSplitter.setObjectName("mainSplitter")

        self.layout5 = QtGui.QWidget(self.mainSplitter)
        self.layout5.setObjectName("layout5")

        self.vboxlayout1 = QtGui.QVBoxLayout(self.layout5)
        self.vboxlayout1.setMargin(0)
        self.vboxlayout1.setSpacing(6)
        self.vboxlayout1.setObjectName("vboxlayout1")

        self.hboxlayout = QtGui.QHBoxLayout()
        self.hboxlayout.setMargin(0)
        self.hboxlayout.setSpacing(6)
        self.hboxlayout.setObjectName("hboxlayout")

        self.textLabel1 = QtGui.QLabel(self.layout5)
        self.textLabel1.setObjectName("textLabel1")
        self.hboxlayout.addWidget(self.textLabel1)

        self.subject = QtGui.QLineEdit(self.layout5)
        self.subject.setObjectName("subject")
        self.hboxlayout.addWidget(self.subject)
        self.vboxlayout1.addLayout(self.hboxlayout)

        self.textLabel2 = QtGui.QLabel(self.layout5)
        self.textLabel2.setObjectName("textLabel2")
        self.vboxlayout1.addWidget(self.textLabel2)

        self.message = QtGui.QTextEdit(self.layout5)
        self.message.setLineWrapMode(QtGui.QTextEdit.FixedColumnWidth)
        self.message.setLineWrapColumnOrWidth(70)
        self.message.setTabStopWidth(8)
        self.message.setAcceptRichText(False)
        self.message.setObjectName("message")
        self.vboxlayout1.addWidget(self.message)

        self.layout9 = QtGui.QWidget(self.mainSplitter)
        self.layout9.setObjectName("layout9")

        self.gridlayout = QtGui.QGridLayout(self.layout9)
        self.gridlayout.setMargin(0)
        self.gridlayout.setSpacing(6)
        self.gridlayout.setObjectName("gridlayout")

        self.vboxlayout2 = QtGui.QVBoxLayout()
        self.vboxlayout2.setMargin(0)
        self.vboxlayout2.setSpacing(6)
        self.vboxlayout2.setObjectName("vboxlayout2")

        self.addButton = QtGui.QPushButton(self.layout9)
        self.addButton.setObjectName("addButton")
        self.vboxlayout2.addWidget(self.addButton)

        self.deleteButton = QtGui.QPushButton(self.layout9)
        self.deleteButton.setObjectName("deleteButton")
        self.vboxlayout2.addWidget(self.deleteButton)

        spacerItem = QtGui.QSpacerItem(20,16,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
        self.vboxlayout2.addItem(spacerItem)
        self.gridlayout.addLayout(self.vboxlayout2,1,1,1,1)

        self.textLabel3 = QtGui.QLabel(self.layout9)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(5),QtGui.QSizePolicy.Policy(0))
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.textLabel3.sizePolicy().hasHeightForWidth())
        self.textLabel3.setSizePolicy(sizePolicy)
        self.textLabel3.setObjectName("textLabel3")
        self.gridlayout.addWidget(self.textLabel3,0,0,1,2)

        self.attachments = QtGui.QTreeWidget(self.layout9)
        self.attachments.setAlternatingRowColors(True)
        self.attachments.setRootIsDecorated(False)
        self.attachments.setObjectName("attachments")
        self.attachments.headerItem().setText(2,"")
        self.gridlayout.addWidget(self.attachments,1,0,1,1)
        self.vboxlayout.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.vboxlayout.addWidget(self.buttonBox)
        self.textLabel1.setBuddy(self.subject)
        self.textLabel2.setBuddy(self.message)
        self.textLabel3.setBuddy(self.attachments)

        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.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.textLabel2.setText(QtGui.QApplication.translate("EmailDialog", "Enter your &bug description below.  All needed version information is added automatically.", 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))
        self.textLabel3.setText(QtGui.QApplication.translate("EmailDialog", "A&ttachments", 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))



if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    EmailDialog = QtGui.QDialog()
    ui = Ui_EmailDialog()
    ui.setupUi(EmailDialog)
    EmailDialog.show()
    sys.exit(app.exec_())
