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

# Form implementation generated from reading ui file 'messages_manager.ui'
#
# Created by: PyQt4 UI code generator 4.12
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    def _fromUtf8(s):
        return s

try:
    _encoding = QtGui.QApplication.UnicodeUTF8
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig)

class Ui_MessagesManager(object):
    def setupUi(self, MessagesManager):
        MessagesManager.setObjectName(_fromUtf8("MessagesManager"))
        MessagesManager.resize(696, 591)
        MessagesManager.setWindowTitle(_fromUtf8(""))
        self.verticalLayout_2 = QtGui.QVBoxLayout(MessagesManager)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.splitter_4 = QtGui.QSplitter(MessagesManager)
        self.splitter_4.setOrientation(QtCore.Qt.Horizontal)
        self.splitter_4.setObjectName(_fromUtf8("splitter_4"))
        self.backendsList = QtGui.QListWidget(self.splitter_4)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.backendsList.sizePolicy().hasHeightForWidth())
        self.backendsList.setSizePolicy(sizePolicy)
        self.backendsList.setMaximumSize(QtCore.QSize(150, 16777215))
        self.backendsList.setObjectName(_fromUtf8("backendsList"))
        self.splitter_3 = QtGui.QSplitter(self.splitter_4)
        self.splitter_3.setOrientation(QtCore.Qt.Horizontal)
        self.splitter_3.setObjectName(_fromUtf8("splitter_3"))
        self.splitter = QtGui.QSplitter(self.splitter_3)
        self.splitter.setOrientation(QtCore.Qt.Vertical)
        self.splitter.setObjectName(_fromUtf8("splitter"))
        self.threadsList = QtGui.QListWidget(self.splitter)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.threadsList.sizePolicy().hasHeightForWidth())
        self.threadsList.setSizePolicy(sizePolicy)
        self.threadsList.setObjectName(_fromUtf8("threadsList"))
        self.widget = QtGui.QWidget(self.splitter)
        self.widget.setObjectName(_fromUtf8("widget"))
        self.verticalLayout_3 = QtGui.QVBoxLayout(self.widget)
        self.verticalLayout_3.setMargin(0)
        self.verticalLayout_3.setSpacing(5)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.frame = QtGui.QFrame(self.widget)
        self.frame.setFrameShape(QtGui.QFrame.StyledPanel)
        self.frame.setFrameShadow(QtGui.QFrame.Raised)
        self.frame.setObjectName(_fromUtf8("frame"))
        self.horizontalLayout = QtGui.QHBoxLayout(self.frame)
        self.horizontalLayout.setContentsMargins(9, 2, 9, 2)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.expandButton = QtGui.QToolButton(self.frame)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.expandButton.sizePolicy().hasHeightForWidth())
        self.expandButton.setSizePolicy(sizePolicy)
        self.expandButton.setObjectName(_fromUtf8("expandButton"))
        self.horizontalLayout.addWidget(self.expandButton)
        self.collapseButton = QtGui.QToolButton(self.frame)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.collapseButton.sizePolicy().hasHeightForWidth())
        self.collapseButton.setSizePolicy(sizePolicy)
        self.collapseButton.setObjectName(_fromUtf8("collapseButton"))
        self.horizontalLayout.addWidget(self.collapseButton)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.verticalLayout_3.addWidget(self.frame)
        self.messagesTree = QtGui.QTreeWidget(self.widget)
        self.messagesTree.setEditTriggers(QtGui.QAbstractItemView.NoEditTriggers)
        self.messagesTree.setTabKeyNavigation(True)
        self.messagesTree.setAnimated(True)
        self.messagesTree.setAllColumnsShowFocus(True)
        self.messagesTree.setObjectName(_fromUtf8("messagesTree"))
        self.messagesTree.header().setDefaultSectionSize(150)
        self.messagesTree.header().setSortIndicatorShown(True)
        self.verticalLayout_3.addWidget(self.messagesTree)
        self.messageSplitter = QtGui.QSplitter(self.splitter_3)
        self.messageSplitter.setOrientation(QtCore.Qt.Vertical)
        self.messageSplitter.setObjectName(_fromUtf8("messageSplitter"))
        self.messageBody = QtGui.QTextEdit(self.messageSplitter)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(5)
        sizePolicy.setHeightForWidth(self.messageBody.sizePolicy().hasHeightForWidth())
        self.messageBody.setSizePolicy(sizePolicy)
        self.messageBody.setReadOnly(True)
        self.messageBody.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByKeyboard|QtCore.Qt.LinksAccessibleByMouse|QtCore.Qt.TextBrowserInteraction|QtCore.Qt.TextSelectableByKeyboard|QtCore.Qt.TextSelectableByMouse)
        self.messageBody.setObjectName(_fromUtf8("messageBody"))
        self.frame_2 = QtGui.QFrame(self.messageSplitter)
        self.frame_2.setFrameShape(QtGui.QFrame.StyledPanel)
        self.frame_2.setFrameShadow(QtGui.QFrame.Raised)
        self.frame_2.setObjectName(_fromUtf8("frame_2"))
        self.verticalLayout = QtGui.QVBoxLayout(self.frame_2)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.profileButton = QtGui.QPushButton(self.frame_2)
        self.profileButton.setObjectName(_fromUtf8("profileButton"))
        self.horizontalLayout_2.addWidget(self.profileButton)
        self.replyButton = QtGui.QPushButton(self.frame_2)
        self.replyButton.setObjectName(_fromUtf8("replyButton"))
        self.horizontalLayout_2.addWidget(self.replyButton)
        self.verticalLayout.addLayout(self.horizontalLayout_2)
        self.replyWidget = QtGui.QWidget(self.frame_2)
        self.replyWidget.setObjectName(_fromUtf8("replyWidget"))
        self.verticalLayout_5 = QtGui.QVBoxLayout(self.replyWidget)
        self.verticalLayout_5.setMargin(0)
        self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5"))
        self.titleEdit = QtGui.QLineEdit(self.replyWidget)
        self.titleEdit.setObjectName(_fromUtf8("titleEdit"))
        self.verticalLayout_5.addWidget(self.titleEdit)
        self.replyEdit = QtGui.QTextEdit(self.replyWidget)
        self.replyEdit.setObjectName(_fromUtf8("replyEdit"))
        self.verticalLayout_5.addWidget(self.replyEdit)
        self.htmlBox = QtGui.QComboBox(self.replyWidget)
        self.htmlBox.setObjectName(_fromUtf8("htmlBox"))
        self.htmlBox.addItem(_fromUtf8(""))
        self.htmlBox.addItem(_fromUtf8(""))
        self.verticalLayout_5.addWidget(self.htmlBox)
        self.sendButton = QtGui.QPushButton(self.replyWidget)
        self.sendButton.setObjectName(_fromUtf8("sendButton"))
        self.verticalLayout_5.addWidget(self.sendButton)
        self.verticalLayout.addWidget(self.replyWidget)
        self.verticalLayout_2.addWidget(self.splitter_4)

        self.retranslateUi(MessagesManager)
        QtCore.QObject.connect(self.expandButton, QtCore.SIGNAL(_fromUtf8("clicked()")), self.messagesTree.expandAll)
        QtCore.QObject.connect(self.collapseButton, QtCore.SIGNAL(_fromUtf8("clicked()")), self.messagesTree.collapseAll)
        QtCore.QMetaObject.connectSlotsByName(MessagesManager)

    def retranslateUi(self, MessagesManager):
        self.expandButton.setText(_translate("MessagesManager", "+", None))
        self.collapseButton.setText(_translate("MessagesManager", "−", None))
        self.messagesTree.setSortingEnabled(True)
        self.messagesTree.headerItem().setText(0, _translate("MessagesManager", "Title", None))
        self.messagesTree.headerItem().setText(1, _translate("MessagesManager", "From", None))
        self.messagesTree.headerItem().setText(2, _translate("MessagesManager", "Date", None))
        self.profileButton.setText(_translate("MessagesManager", "Profile", None))
        self.replyButton.setText(_translate("MessagesManager", "Reply", None))
        self.htmlBox.setItemText(0, _translate("MessagesManager", "With HTML", None))
        self.htmlBox.setItemText(1, _translate("MessagesManager", "Without HTML", None))
        self.sendButton.setText(_translate("MessagesManager", "Send", None))

