# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7-22.2/eric/eric7/Network/IRC/IrcChannelWidget.ui'
#
# Created by: PyQt6 UI code generator 6.2.2
#
# 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_IrcChannelWidget(object):
    def setupUi(self, IrcChannelWidget):
        IrcChannelWidget.setObjectName("IrcChannelWidget")
        IrcChannelWidget.resize(400, 685)
        IrcChannelWidget.setWindowTitle("")
        self.verticalLayout = QtWidgets.QVBoxLayout(IrcChannelWidget)
        self.verticalLayout.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout.setSpacing(3)
        self.verticalLayout.setObjectName("verticalLayout")
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.topicLabel = QtWidgets.QLabel(IrcChannelWidget)
        self.topicLabel.setText("")
        self.topicLabel.setWordWrap(True)
        self.topicLabel.setOpenExternalLinks(True)
        self.topicLabel.setObjectName("topicLabel")
        self.horizontalLayout.addWidget(self.topicLabel)
        self.editTopicButton = QtWidgets.QToolButton(IrcChannelWidget)
        self.editTopicButton.setText("")
        self.editTopicButton.setObjectName("editTopicButton")
        self.horizontalLayout.addWidget(self.editTopicButton)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.splitter = QtWidgets.QSplitter(IrcChannelWidget)
        self.splitter.setOrientation(QtCore.Qt.Orientation.Vertical)
        self.splitter.setObjectName("splitter")
        self.usersList = QtWidgets.QListWidget(self.splitter)
        self.usersList.setContextMenuPolicy(QtCore.Qt.ContextMenuPolicy.CustomContextMenu)
        self.usersList.setAlternatingRowColors(True)
        self.usersList.setObjectName("usersList")
        self.messages = QtWidgets.QTextBrowser(self.splitter)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(1)
        sizePolicy.setHeightForWidth(self.messages.sizePolicy().hasHeightForWidth())
        self.messages.setSizePolicy(sizePolicy)
        self.messages.setContextMenuPolicy(QtCore.Qt.ContextMenuPolicy.CustomContextMenu)
        self.messages.setTabChangesFocus(True)
        self.messages.setOpenLinks(False)
        self.messages.setObjectName("messages")
        self.verticalLayout.addWidget(self.splitter)
        self.messageEdit = IrcMessageEdit(IrcChannelWidget)
        self.messageEdit.setClearButtonEnabled(True)
        self.messageEdit.setObjectName("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):
        _translate = QtCore.QCoreApplication.translate
        self.editTopicButton.setToolTip(_translate("IrcChannelWidget", "Press to change the topic"))
        self.usersList.setToolTip(_translate("IrcChannelWidget", "Shows the list of users"))
        self.usersList.setSortingEnabled(True)
        self.messages.setToolTip(_translate("IrcChannelWidget", "Shows the channel messages"))
        self.messageEdit.setToolTip(_translate("IrcChannelWidget", "Enter a message, send by pressing Return or Enter"))
        self.messageEdit.setPlaceholderText(_translate("IrcChannelWidget", "Enter a message, send by pressing Return or Enter"))
from Network.IRC.IrcMessageEdit import IrcMessageEdit
