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

# Form implementation generated from reading ui file 'Main_window.ui'
#
# Created by: PyQt5 UI code generator 5.15.4
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again.  Do not edit this file unless you know what you are doing.


from PyQt5 import QtCore, QtGui, QtWidgets


class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(802, 733)
        MainWindow.setMinimumSize(QtCore.QSize(802, 733))
        palette = QtGui.QPalette()
        brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush)
        brush = QtGui.QBrush(QtGui.QColor(222, 222, 222))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.AlternateBase,
                         brush)
        brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ToolTipBase,
                         brush)
        brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush)
        brush = QtGui.QBrush(QtGui.QColor(222, 222, 222))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.AlternateBase,
                         brush)
        brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ToolTipBase,
                         brush)
        brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush)
        brush = QtGui.QBrush(QtGui.QColor(222, 222, 222))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.AlternateBase,
                         brush)
        brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ToolTipBase,
                         brush)
        MainWindow.setPalette(palette)
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.tableWidgetUsers = QtWidgets.QTableWidget(self.centralwidget)
        self.tableWidgetUsers.setGeometry(QtCore.QRect(10, 70, 261, 301))
        palette = QtGui.QPalette()
        brush = QtGui.QBrush(QtGui.QColor(212, 212, 212))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Light, brush)
        brush = QtGui.QBrush(QtGui.QColor(207, 207, 207))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255, 128))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.PlaceholderText,
                         brush)
        brush = QtGui.QBrush(QtGui.QColor(212, 212, 212))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Light, brush)
        brush = QtGui.QBrush(QtGui.QColor(207, 207, 207))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255, 128))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive,
                         QtGui.QPalette.PlaceholderText, brush)
        brush = QtGui.QBrush(QtGui.QColor(212, 212, 212))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Light, brush)
        brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255, 128))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled,
                         QtGui.QPalette.PlaceholderText, brush)
        self.tableWidgetUsers.setPalette(palette)
        self.tableWidgetUsers.viewport().setProperty("cursor", QtGui.QCursor(
            QtCore.Qt.PointingHandCursor))
        self.tableWidgetUsers.setStyleSheet("")
        self.tableWidgetUsers.setRowCount(0)
        self.tableWidgetUsers.setColumnCount(2)
        self.tableWidgetUsers.setObjectName("tableWidgetUsers")
        self.tableWidgetUsers.horizontalHeader().setVisible(True)
        self.tableWidgetUsers.horizontalHeader().setCascadingSectionResizes(
            True)
        self.tableWidgetUsers.horizontalHeader().setDefaultSectionSize(120)
        self.tableWidgetUsers.horizontalHeader().setHighlightSections(True)
        self.tableWidgetUsers.horizontalHeader().setMinimumSectionSize(40)
        self.tableWidgetUsers.horizontalHeader().setSortIndicatorShown(False)
        self.tableWidgetUsers.horizontalHeader().setStretchLastSection(True)
        self.tableWidgetUsers.verticalHeader().setCascadingSectionResizes(
            False)
        self.tableWidgetUsers.verticalHeader().setDefaultSectionSize(40)
        self.tableWidgetUsers.verticalHeader().setHighlightSections(True)
        self.tableWidgetUsers.verticalHeader().setMinimumSectionSize(23)
        self.tableWidgetUsers.verticalHeader().setSortIndicatorShown(False)
        self.tableWidgetUsers.verticalHeader().setStretchLastSection(False)
        self.plainTextEdit = QtWidgets.QPlainTextEdit(self.centralwidget)
        self.plainTextEdit.setGeometry(QtCore.QRect(10, 650, 611, 71))
        palette = QtGui.QPalette()
        brush = QtGui.QBrush(QtGui.QColor(230, 229, 204))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(230, 229, 204))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
        self.plainTextEdit.setPalette(palette)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setItalic(False)
        font.setWeight(75)
        self.plainTextEdit.setFont(font)
        self.plainTextEdit.viewport().setProperty("cursor", QtGui.QCursor(
            QtCore.Qt.IBeamCursor))
        self.plainTextEdit.setFrameShape(QtWidgets.QFrame.Box)
        self.plainTextEdit.setLineWidth(2)
        self.plainTextEdit.setMidLineWidth(1)
        self.plainTextEdit.setSizeAdjustPolicy(
            QtWidgets.QAbstractScrollArea.AdjustIgnored)
        self.plainTextEdit.setOverwriteMode(False)
        self.plainTextEdit.setBackgroundVisible(False)
        self.plainTextEdit.setObjectName("plainTextEdit")
        self.tableWidgetContacts = QtWidgets.QTableWidget(self.centralwidget)
        self.tableWidgetContacts.setGeometry(QtCore.QRect(530, 70, 261, 301))
        palette = QtGui.QPalette()
        brush = QtGui.QBrush(QtGui.QColor(202, 202, 202))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(202, 202, 202))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
        self.tableWidgetContacts.setPalette(palette)
        self.tableWidgetContacts.viewport()\
            .setProperty("cursor", QtGui.QCursor(QtCore.Qt.PointingHandCursor))
        self.tableWidgetContacts.setRowCount(0)
        self.tableWidgetContacts.setColumnCount(2)
        self.tableWidgetContacts.setObjectName("tableWidgetContacts")
        self.tableWidgetContacts.horizontalHeader().setCascadingSectionResizes(
            True)
        self.tableWidgetContacts.horizontalHeader().setDefaultSectionSize(120)
        self.tableWidgetContacts.horizontalHeader().setHighlightSections(True)
        self.tableWidgetContacts.horizontalHeader().setMinimumSectionSize(40)
        self.tableWidgetContacts.horizontalHeader().setSortIndicatorShown(
            False)
        self.tableWidgetContacts.horizontalHeader().setStretchLastSection(True)
        self.tableWidgetContacts.verticalHeader().setVisible(True)
        self.tableWidgetContacts.verticalHeader().setCascadingSectionResizes(
            False)
        self.tableWidgetContacts.verticalHeader().setDefaultSectionSize(40)
        self.pushButtonSend = QtWidgets.QPushButton(self.centralwidget)
        self.pushButtonSend.setGeometry(QtCore.QRect(630, 650, 161, 31))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.pushButtonSend.sizePolicy().hasHeightForWidth())
        self.pushButtonSend.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(12)
        self.pushButtonSend.setFont(font)
        self.pushButtonSend.setCursor(
            QtGui.QCursor(QtCore.Qt.PointingHandCursor))
        self.pushButtonSend.setObjectName("pushButtonSend")
        self.pushButtonClear = QtWidgets.QPushButton(self.centralwidget)
        self.pushButtonClear.setGeometry(QtCore.QRect(630, 690, 161, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.pushButtonClear.setFont(font)
        self.pushButtonClear.setCursor(
            QtGui.QCursor(QtCore.Qt.PointingHandCursor))
        self.pushButtonClear.setObjectName("pushButtonClear")
        self.pushButtonShowUsers = QtWidgets.QPushButton(self.centralwidget)
        self.pushButtonShowUsers.setGeometry(QtCore.QRect(280, 70, 241, 81))
        font = QtGui.QFont()
        font.setPointSize(20)
        font.setBold(False)
        font.setWeight(50)
        self.pushButtonShowUsers.setFont(font)
        self.pushButtonShowUsers.setCursor(
            QtGui.QCursor(QtCore.Qt.PointingHandCursor))
        self.pushButtonShowUsers.setObjectName("pushButtonShowUsers")
        self.label = QtWidgets.QLabel(self.centralwidget)
        self.label.setGeometry(QtCore.QRect(280, 0, 251, 71))
        font = QtGui.QFont()
        font.setFamily("Ravie")
        font.setPointSize(22)
        font.setBold(False)
        font.setItalic(False)
        font.setWeight(50)
        self.label.setFont(font)
        self.label.setStyleSheet("font: 22pt \"Ravie\";\n"
                                 "color: rgb(255, 255, 255);")
        self.label.setObjectName("label")
        self.pushButtonShowOnline = QtWidgets.QPushButton(self.centralwidget)
        self.pushButtonShowOnline.setGeometry(QtCore.QRect(280, 160, 241, 81))
        font = QtGui.QFont()
        font.setPointSize(18)
        font.setBold(False)
        font.setWeight(50)
        self.pushButtonShowOnline.setFont(font)
        self.pushButtonShowOnline.setCursor(
            QtGui.QCursor(QtCore.Qt.PointingHandCursor))
        self.pushButtonShowOnline.setObjectName("pushButtonShowOnline")
        self.lcdNumberAccept = QtWidgets.QLCDNumber(self.centralwidget)
        self.lcdNumberAccept.setGeometry(QtCore.QRect(280, 320, 111, 51))
        self.lcdNumberAccept.setFrameShape(QtWidgets.QFrame.Panel)
        self.lcdNumberAccept.setLineWidth(3)
        self.lcdNumberAccept.setMidLineWidth(1)
        self.lcdNumberAccept.setObjectName("lcdNumberAccept")
        self.label_2 = QtWidgets.QLabel(self.centralwidget)
        self.label_2.setGeometry(QtCore.QRect(290, 290, 91, 21))
        self.label_2.setStyleSheet("font: 75 14pt \"MS Shell Dlg 2\";\n"
                                   "color: rgb(255, 255, 255);")
        self.label_2.setAlignment(QtCore.Qt.AlignCenter)
        self.label_2.setObjectName("label_2")
        self.label_3 = QtWidgets.QLabel(self.centralwidget)
        self.label_3.setGeometry(QtCore.QRect(410, 290, 101, 21))
        self.label_3.setStyleSheet("font: 75 14pt \"MS Shell Dlg 2\";\n"
                                   "color: rgb(255, 255, 255);")
        self.label_3.setAlignment(QtCore.Qt.AlignCenter)
        self.label_3.setObjectName("label_3")
        self.label_4 = QtWidgets.QLabel(self.centralwidget)
        self.label_4.setGeometry(QtCore.QRect(290, 250, 221, 31))
        self.label_4.setAutoFillBackground(False)
        self.label_4.setStyleSheet("font: 75 14pt \"MS Shell Dlg 2\";\n"
                                   "color: rgb(255, 255, 255);")
        self.label_4.setAlignment(QtCore.Qt.AlignCenter)
        self.label_4.setObjectName("label_4")
        self.label_users = QtWidgets.QLabel(self.centralwidget)
        self.label_users.setGeometry(QtCore.QRect(30, 20, 231, 31))
        font = QtGui.QFont()
        font.setPointSize(16)
        self.label_users.setFont(font)
        self.label_users.setStyleSheet("color: rgb(255, 255, 255)")
        self.label_users.setAlignment(QtCore.Qt.AlignCenter)
        self.label_users.setObjectName("label_users")
        self.label_contacts = QtWidgets.QLabel(self.centralwidget)
        self.label_contacts.setGeometry(QtCore.QRect(540, 20, 241, 31))
        font = QtGui.QFont()
        font.setPointSize(16)
        self.label_contacts.setFont(font)
        self.label_contacts.setStyleSheet("color: rgb(255, 255, 255)")
        self.label_contacts.setAlignment(QtCore.Qt.AlignCenter)
        self.label_contacts.setObjectName("label_contacts")
        self.listView = QtWidgets.QListView(self.centralwidget)
        self.listView.setGeometry(QtCore.QRect(10, 380, 781, 261))
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.listView.setFont(font)
        self.listView.setStyleSheet("background-color: rgb(229, 229, 229);")
        self.listView.setFrameShape(QtWidgets.QFrame.Box)
        self.listView.setLineWidth(2)
        self.listView.setMidLineWidth(1)
        self.listView.setObjectName("listView")
        self.lcdNumberAccept_2 = QtWidgets.QLCDNumber(self.centralwidget)
        self.lcdNumberAccept_2.setGeometry(QtCore.QRect(410, 320, 111, 51))
        self.lcdNumberAccept_2.setFrameShape(QtWidgets.QFrame.Panel)
        self.lcdNumberAccept_2.setLineWidth(3)
        self.lcdNumberAccept_2.setMidLineWidth(1)
        self.lcdNumberAccept_2.setObjectName("lcdNumberAccept_2")
        MainWindow.setCentralWidget(self.centralwidget)

        self.retranslateUi(MainWindow)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        _translate = QtCore.QCoreApplication.translate
        MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
        self.pushButtonSend.setText(
            _translate("MainWindow", "Send the message"))
        self.pushButtonClear.setText(_translate("MainWindow", "Clear chat"))
        self.pushButtonShowUsers.setText(
            _translate("MainWindow", "Show all users"))
        self.label.setText(_translate("MainWindow", "MESSENGER"))
        self.pushButtonShowOnline.setText(
            _translate("MainWindow", "Show online users"))
        self.label_2.setText(_translate("MainWindow", "Accepted"))
        self.label_3.setText(_translate("MainWindow", "Sent"))
        self.label_4.setText(_translate("MainWindow", "Your message counter"))
        self.label_users.setText(_translate("MainWindow", "User list"))
        self.label_contacts.setText(
            _translate("MainWindow", "Your contact list"))


if __name__ == "__main__":
    import sys

    app = QtWidgets.QApplication(sys.argv)
    MainWindow = QtWidgets.QMainWindow()
    ui = Ui_MainWindow()
    ui.setupUi(MainWindow)
    MainWindow.show()
    sys.exit(app.exec_())
