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

# Form implementation generated from reading ui file 'eric/Network/IRC/IrcChannelWidget.ui'
#
# Created: Thu Mar  5 17:05:28 2015
#      by: PyQt4 UI code generator 4.11.3
#
# 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_IrcChannelWidget(object):
    def setupUi(self, IrcChannelWidget):
        IrcChannelWidget.setObjectName(_fromUtf8("IrcChannelWidget"))
        IrcChannelWidget.resize(400, 685)
        IrcChannelWidget.setWindowTitle(_fromUtf8(""))
        self.verticalLayout = QtGui.QVBoxLayout(IrcChannelWidget)
        self.verticalLayout.setSpacing(3)
        self.verticalLayout.setMargin(0)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.topicLabel = QtGui.QLabel(IrcChannelWidget)
        self.topicLabel.setText(_fromUtf8(""))
        self.topicLabel.setWordWrap(True)
        self.topicLabel.setOpenExternalLinks(True)
        self.topicLabel.setObjectName(_fromUtf8("topicLabel"))
        self.horizontalLayout.addWidget(self.topicLabel)
        self.editTopicButton = QtGui.QToolButton(IrcChannelWidget)
        self.editTopicButton.setText(_fromUtf8(""))
        self.editTopicButton.setObjectName(_fromUtf8("editTopicButton"))
        self.horizontalLayout.addWidget(self.editTopicButton)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.splitter = QtGui.QSplitter(IrcChannelWidget)
        self.splitter.setOrientation(QtCore.Qt.Vertical)
        self.splitter.setObjectName(_fromUtf8("splitter"))
        self.usersList = QtGui.QListWidget(self.splitter)
        self.usersList.setContextMenuPolicy(QtCore.Qt.CustomContextMenu)
        self.usersList.setAlternatingRowColors(True)
        self.usersList.setObjectName(_fromUtf8("usersList"))
        self.messages = QtGui.QTextBrowser(self.splitter)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(1)
        sizePolicy.setHeightForWidth(self.messages.sizePolicy().hasHeightForWidth())
        self.messages.setSizePolicy(sizePolicy)
        self.messages.setContextMenuPolicy(QtCore.Qt.CustomContextMenu)
        self.messages.setTabChangesFocus(True)
        self.messages.setOpenLinks(False)
        self.messages.setObjectName(_fromUtf8("messages"))
        self.verticalLayout.addWidget(self.splitter)
        self.messageEdit = IrcMessageEdit(IrcChannelWidget)
        self.messageEdit.setObjectName(_fromUtf8("messageEdit"))
        self.verticalLayout.addWidget(self.messageEdit)

        self.retranslateUi(IrcChannelWidget)
        QtCore.QMetaObject.connectSlotsByName(IrcChannelWidget)
        IrcChannelWidget.setTabOrder(self.messageEdit, self.messages)
        IrcChannelWidget.setTabOrder(self.messages, self.usersList)
        IrcChannelWidget.setTabOrder(self.usersList, self.editTopicButton)

    def retranslateUi(self, IrcChannelWidget):
        self.editTopicButton.setToolTip(_translate("IrcChannelWidget", "Press to change the topic", None))
        self.usersList.setToolTip(_translate("IrcChannelWidget", "Shows the list of users", None))
        self.usersList.setSortingEnabled(True)
        self.messages.setToolTip(_translate("IrcChannelWidget", "Shows the channel messages", None))
        self.messageEdit.setToolTip(_translate("IrcChannelWidget", "Enter a message, send by pressing Return or Enter", None))
        self.messageEdit.setPlaceholderText(_translate("IrcChannelWidget", "Enter a message, send by pressing Return or Enter", None))

from Network.IRC.IrcMessageEdit import IrcMessageEdit
