2023-01-11 13:04:19 +08:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
|
|
# Form implementation generated from reading ui file 'chatUi.ui'
|
|
|
|
#
|
|
|
|
# Created by: PyQt5 UI code generator 5.15.7
|
|
|
|
#
|
|
|
|
# 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
|
|
|
|
|
|
|
|
|
2023-04-02 21:23:20 +08:00
|
|
|
class Ui_Form(object):
|
|
|
|
def setupUi(self, Form):
|
|
|
|
Form.setObjectName("Form")
|
|
|
|
Form.resize(878, 720)
|
|
|
|
self.horizontalLayout = QtWidgets.QHBoxLayout(Form)
|
2023-04-05 13:02:25 +08:00
|
|
|
self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
|
|
|
|
self.horizontalLayout.setSpacing(0)
|
2023-04-02 21:23:20 +08:00
|
|
|
self.horizontalLayout.setObjectName("horizontalLayout")
|
|
|
|
self.scrollArea_2 = QtWidgets.QScrollArea(Form)
|
|
|
|
self.scrollArea_2.setEnabled(True)
|
|
|
|
self.scrollArea_2.setMaximumSize(QtCore.QSize(325, 150000))
|
|
|
|
self.scrollArea_2.setAutoFillBackground(False)
|
2023-11-09 20:11:01 +08:00
|
|
|
self.scrollArea_2.setFrameShape(QtWidgets.QFrame.NoFrame)
|
2023-04-02 21:23:20 +08:00
|
|
|
self.scrollArea_2.setFrameShadow(QtWidgets.QFrame.Raised)
|
|
|
|
self.scrollArea_2.setMidLineWidth(0)
|
|
|
|
self.scrollArea_2.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOn)
|
|
|
|
self.scrollArea_2.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
|
|
|
|
self.scrollArea_2.setSizeAdjustPolicy(QtWidgets.QAbstractScrollArea.AdjustToContentsOnFirstShow)
|
|
|
|
self.scrollArea_2.setWidgetResizable(False)
|
|
|
|
self.scrollArea_2.setObjectName("scrollArea_2")
|
|
|
|
self.scrollAreaWidgetContents_2 = QtWidgets.QWidget()
|
|
|
|
self.scrollAreaWidgetContents_2.setGeometry(QtCore.QRect(0, 0, 300, 12000))
|
|
|
|
self.scrollAreaWidgetContents_2.setObjectName("scrollAreaWidgetContents_2")
|
|
|
|
self.pushButton_3 = QtWidgets.QPushButton(self.scrollAreaWidgetContents_2)
|
|
|
|
self.pushButton_3.setGeometry(QtCore.QRect(0, 0, 300, 80))
|
|
|
|
self.pushButton_3.setLayoutDirection(QtCore.Qt.LeftToRight)
|
|
|
|
self.pushButton_3.setAutoFillBackground(False)
|
|
|
|
self.pushButton_3.setText("")
|
|
|
|
self.pushButton_3.setIconSize(QtCore.QSize(80, 80))
|
|
|
|
self.pushButton_3.setObjectName("pushButton_3")
|
|
|
|
self.label_2 = QtWidgets.QLabel(self.scrollAreaWidgetContents_2)
|
|
|
|
self.label_2.setGeometry(QtCore.QRect(220, 10, 72, 15))
|
|
|
|
self.label_2.setObjectName("label_2")
|
|
|
|
self.scrollArea_2.setWidget(self.scrollAreaWidgetContents_2)
|
|
|
|
self.horizontalLayout.addWidget(self.scrollArea_2)
|
|
|
|
self.frame_2 = QtWidgets.QFrame(Form)
|
|
|
|
self.frame_2.setMinimumSize(QtCore.QSize(500, 500))
|
|
|
|
self.frame_2.setStyleSheet("background-color: #F5F5F5;")
|
2023-01-11 13:04:19 +08:00
|
|
|
self.frame_2.setFrameShape(QtWidgets.QFrame.StyledPanel)
|
|
|
|
self.frame_2.setFrameShadow(QtWidgets.QFrame.Raised)
|
|
|
|
self.frame_2.setObjectName("frame_2")
|
2023-04-02 21:23:20 +08:00
|
|
|
self.verticalLayout = QtWidgets.QVBoxLayout(self.frame_2)
|
2023-04-05 13:02:25 +08:00
|
|
|
self.verticalLayout.setContentsMargins(0, 0, 0, 0)
|
|
|
|
self.verticalLayout.setSpacing(0)
|
2023-04-02 21:23:20 +08:00
|
|
|
self.verticalLayout.setObjectName("verticalLayout")
|
|
|
|
self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
|
|
|
|
self.horizontalLayout_3.setObjectName("horizontalLayout_3")
|
|
|
|
self.label_remark_2 = QtWidgets.QLabel(self.frame_2)
|
|
|
|
font = QtGui.QFont()
|
|
|
|
font.setPointSize(12)
|
|
|
|
self.label_remark_2.setFont(font)
|
|
|
|
self.label_remark_2.setText("")
|
|
|
|
self.label_remark_2.setObjectName("label_remark_2")
|
|
|
|
self.horizontalLayout_3.addWidget(self.label_remark_2)
|
|
|
|
spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
|
|
|
|
self.horizontalLayout_3.addItem(spacerItem)
|
|
|
|
self.toolButton_2 = QtWidgets.QToolButton(self.frame_2)
|
|
|
|
self.toolButton_2.setObjectName("toolButton_2")
|
|
|
|
self.horizontalLayout_3.addWidget(self.toolButton_2)
|
|
|
|
self.verticalLayout.addLayout(self.horizontalLayout_3)
|
|
|
|
self.line_5 = QtWidgets.QFrame(self.frame_2)
|
|
|
|
self.line_5.setFrameShape(QtWidgets.QFrame.HLine)
|
|
|
|
self.line_5.setFrameShadow(QtWidgets.QFrame.Sunken)
|
|
|
|
self.line_5.setObjectName("line_5")
|
|
|
|
self.verticalLayout.addWidget(self.line_5)
|
|
|
|
self.message_2 = QtWidgets.QTextBrowser(self.frame_2)
|
|
|
|
self.message_2.setContextMenuPolicy(QtCore.Qt.ActionsContextMenu)
|
|
|
|
self.message_2.setStyleSheet("background-color: #F5F5F5;")
|
|
|
|
self.message_2.setObjectName("message_2")
|
|
|
|
self.verticalLayout.addWidget(self.message_2)
|
|
|
|
self.line_6 = QtWidgets.QFrame(self.frame_2)
|
|
|
|
self.line_6.setFrameShape(QtWidgets.QFrame.HLine)
|
|
|
|
self.line_6.setFrameShadow(QtWidgets.QFrame.Sunken)
|
|
|
|
self.line_6.setObjectName("line_6")
|
|
|
|
self.verticalLayout.addWidget(self.line_6)
|
|
|
|
self.textEdit_2 = QtWidgets.QTextEdit(self.frame_2)
|
2023-01-11 13:04:19 +08:00
|
|
|
font = QtGui.QFont()
|
|
|
|
font.setPointSize(15)
|
2023-04-02 21:23:20 +08:00
|
|
|
self.textEdit_2.setFont(font)
|
|
|
|
self.textEdit_2.setAutoFillBackground(False)
|
|
|
|
self.textEdit_2.setStyleSheet("background-color: #F5F5F5;")
|
|
|
|
self.textEdit_2.setFrameShape(QtWidgets.QFrame.NoFrame)
|
|
|
|
self.textEdit_2.setOverwriteMode(False)
|
|
|
|
self.textEdit_2.setTabStopWidth(80)
|
|
|
|
self.textEdit_2.setAcceptRichText(True)
|
|
|
|
self.textEdit_2.setCursorWidth(1)
|
|
|
|
self.textEdit_2.setTextInteractionFlags(QtCore.Qt.TextEditorInteraction)
|
|
|
|
self.textEdit_2.setObjectName("textEdit_2")
|
|
|
|
self.verticalLayout.addWidget(self.textEdit_2)
|
|
|
|
self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
|
|
|
|
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
|
|
|
|
spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
|
|
|
|
self.horizontalLayout_2.addItem(spacerItem1)
|
|
|
|
self.btn_sendMsg_2 = QtWidgets.QPushButton(self.frame_2)
|
2023-01-11 13:04:19 +08:00
|
|
|
font = QtGui.QFont()
|
|
|
|
font.setFamily("黑体")
|
|
|
|
font.setPointSize(15)
|
|
|
|
font.setBold(False)
|
|
|
|
font.setWeight(50)
|
2023-04-02 21:23:20 +08:00
|
|
|
self.btn_sendMsg_2.setFont(font)
|
|
|
|
self.btn_sendMsg_2.setCursor(QtGui.QCursor(QtCore.Qt.ArrowCursor))
|
|
|
|
self.btn_sendMsg_2.setMouseTracking(False)
|
|
|
|
self.btn_sendMsg_2.setAutoFillBackground(False)
|
|
|
|
self.btn_sendMsg_2.setStyleSheet("QPushButton {\n"
|
2023-04-05 13:02:25 +08:00
|
|
|
" background-color:rgb(233,233,233);\n"
|
|
|
|
" padding: 10px;\n"
|
|
|
|
" color:rgb(5,180,104);}\n"
|
|
|
|
" QPushButton:hover{\n"
|
|
|
|
" background-color:rgb(198,198,198)}\n"
|
|
|
|
" ")
|
2023-04-02 21:23:20 +08:00
|
|
|
self.btn_sendMsg_2.setIconSize(QtCore.QSize(40, 40))
|
|
|
|
self.btn_sendMsg_2.setCheckable(False)
|
|
|
|
self.btn_sendMsg_2.setAutoDefault(True)
|
|
|
|
self.btn_sendMsg_2.setObjectName("btn_sendMsg_2")
|
|
|
|
self.horizontalLayout_2.addWidget(self.btn_sendMsg_2)
|
|
|
|
self.horizontalLayout_2.setStretch(0, 7)
|
|
|
|
self.horizontalLayout_2.setStretch(1, 2)
|
|
|
|
self.verticalLayout.addLayout(self.horizontalLayout_2)
|
|
|
|
self.verticalLayout.setStretch(0, 2)
|
|
|
|
self.verticalLayout.setStretch(1, 2)
|
|
|
|
self.verticalLayout.setStretch(2, 60)
|
|
|
|
self.verticalLayout.setStretch(3, 2)
|
|
|
|
self.verticalLayout.setStretch(4, 2)
|
|
|
|
self.verticalLayout.setStretch(5, 1)
|
|
|
|
self.horizontalLayout.addWidget(self.frame_2)
|
2023-01-11 13:04:19 +08:00
|
|
|
|
2023-04-02 21:23:20 +08:00
|
|
|
self.retranslateUi(Form)
|
|
|
|
QtCore.QMetaObject.connectSlotsByName(Form)
|
2023-01-11 13:04:19 +08:00
|
|
|
|
2023-04-02 21:23:20 +08:00
|
|
|
def retranslateUi(self, Form):
|
2023-01-11 13:04:19 +08:00
|
|
|
_translate = QtCore.QCoreApplication.translate
|
2023-04-02 21:23:20 +08:00
|
|
|
Form.setWindowTitle(_translate("Form", "Form"))
|
|
|
|
self.label_2.setText(_translate("Form", "TextLabel"))
|
|
|
|
self.toolButton_2.setText(_translate("Form", "..."))
|
|
|
|
self.textEdit_2.setHtml(_translate("Form",
|
|
|
|
"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
|
|
|
|
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
|
|
|
|
"p, li { white-space: pre-wrap; }\n"
|
|
|
|
"</style></head><body style=\" font-family:\'SimSun\'; font-size:15pt; font-weight:400; font-style:normal;\">\n"
|
2023-04-05 13:02:25 +08:00
|
|
|
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"> </p>\n"
|
2023-11-09 20:11:01 +08:00
|
|
|
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"> </p>\n"
|
|
|
|
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"> </p>\n"
|
|
|
|
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"> </p></body></html>"))
|
2023-04-02 21:23:20 +08:00
|
|
|
self.btn_sendMsg_2.setText(_translate("Form", "发送"))
|