mirror of
https://github.com/LC044/WeChatMsg
synced 2024-11-16 06:51:19 +08:00
155 lines
8.0 KiB
Python
155 lines
8.0 KiB
Python
# -*- coding: utf-8 -*-
|
||
|
||
# Form implementation generated from reading ui file 'settingUi.ui'
|
||
#
|
||
# Created by: PyQt5 UI code generator 5.15.10
|
||
#
|
||
# 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_Form(object):
|
||
def setupUi(self, Form):
|
||
Form.setObjectName("Form")
|
||
Form.resize(587, 573)
|
||
self.verticalLayout_2 = QtWidgets.QVBoxLayout(Form)
|
||
self.verticalLayout_2.setObjectName("verticalLayout_2")
|
||
self.scrollArea = QtWidgets.QScrollArea(Form)
|
||
self.scrollArea.setWidgetResizable(True)
|
||
self.scrollArea.setObjectName("scrollArea")
|
||
self.scrollAreaWidgetContents = QtWidgets.QWidget()
|
||
self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 567, 553))
|
||
self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents")
|
||
self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.scrollAreaWidgetContents)
|
||
self.verticalLayout_3.setObjectName("verticalLayout_3")
|
||
self.widget = QtWidgets.QWidget(self.scrollAreaWidgetContents)
|
||
self.widget.setStyleSheet("QWidget{\n"
|
||
" background-color:rgb(251,251,251);\n"
|
||
" border-radius: 10px;\n"
|
||
"}\n"
|
||
"\n"
|
||
"QPushButton{\n"
|
||
" background-color: rgb(250,252,253);\n"
|
||
" border-radius: 5px;\n"
|
||
" padding: 8px;\n"
|
||
" border-right: 2px solid #888888; /* 按钮边框,2px宽,白色 */\n"
|
||
" border-bottom: 2px solid #888888; /* 按钮边框,2px宽,白色 */\n"
|
||
" border-left: 1px solid #ffffff; /* 按钮边框,2px宽,白色 */\n"
|
||
" border-top: 1px solid #ffffff; /* 按钮边框,2px宽,白色 */\n"
|
||
"}\n"
|
||
"QPushButton:hover { \n"
|
||
" background-color: lightgray;\n"
|
||
"}")
|
||
self.widget.setObjectName("widget")
|
||
self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.widget)
|
||
self.verticalLayout_4.setObjectName("verticalLayout_4")
|
||
self.verticalLayout = QtWidgets.QVBoxLayout()
|
||
self.verticalLayout.setObjectName("verticalLayout")
|
||
self.label = QtWidgets.QLabel(self.widget)
|
||
self.label.setObjectName("label")
|
||
self.verticalLayout.addWidget(self.label)
|
||
self.horizontalLayout = QtWidgets.QHBoxLayout()
|
||
self.horizontalLayout.setObjectName("horizontalLayout")
|
||
self.plainTextEdit = QtWidgets.QPlainTextEdit(self.widget)
|
||
self.plainTextEdit.setFrameShape(QtWidgets.QFrame.Box)
|
||
self.plainTextEdit.setFrameShadow(QtWidgets.QFrame.Sunken)
|
||
self.plainTextEdit.setObjectName("plainTextEdit")
|
||
self.horizontalLayout.addWidget(self.plainTextEdit)
|
||
self.btn_addstopword = QtWidgets.QPushButton(self.widget)
|
||
self.btn_addstopword.setObjectName("btn_addstopword")
|
||
self.horizontalLayout.addWidget(self.btn_addstopword)
|
||
self.verticalLayout.addLayout(self.horizontalLayout)
|
||
self.verticalLayout_4.addLayout(self.verticalLayout)
|
||
self.verticalLayout_3.addWidget(self.widget)
|
||
self.widget_2 = QtWidgets.QWidget(self.scrollAreaWidgetContents)
|
||
self.widget_2.setStyleSheet("QWidget{\n"
|
||
" background-color:rgb(251,251,251);\n"
|
||
" border-radius: 10\n"
|
||
"px;\n"
|
||
"}\n"
|
||
"\n"
|
||
"QPushButton{\n"
|
||
" background-color: rgb(250,252,253);\n"
|
||
" border-radius: 5px;\n"
|
||
" padding: 8px;\n"
|
||
" border-right: 2px solid #888888; /* 按钮边框,2px宽,白色 */\n"
|
||
" border-bottom: 2px solid #888888; /* 按钮边框,2px宽,白色 */\n"
|
||
" border-left: 1px solid #ffffff; /* 按钮边框,2px宽,白色 */\n"
|
||
" border-top: 1px solid #ffffff; /* 按钮边框,2px宽,白色 */\n"
|
||
"}\n"
|
||
"QPushButton:hover { \n"
|
||
" background-color: lightgray;\n"
|
||
"}")
|
||
self.widget_2.setObjectName("widget_2")
|
||
self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.widget_2)
|
||
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
|
||
self.commandLinkButton = QtWidgets.QCommandLinkButton(self.widget_2)
|
||
self.commandLinkButton.setEnabled(True)
|
||
self.commandLinkButton.setTabletTracking(False)
|
||
self.commandLinkButton.setFocusPolicy(QtCore.Qt.StrongFocus)
|
||
self.commandLinkButton.setContextMenuPolicy(QtCore.Qt.DefaultContextMenu)
|
||
self.commandLinkButton.setToolTipDuration(-1)
|
||
self.commandLinkButton.setLayoutDirection(QtCore.Qt.LeftToRight)
|
||
self.commandLinkButton.setAutoFillBackground(False)
|
||
self.commandLinkButton.setCheckable(False)
|
||
self.commandLinkButton.setChecked(False)
|
||
self.commandLinkButton.setAutoRepeat(False)
|
||
self.commandLinkButton.setAutoExclusive(False)
|
||
self.commandLinkButton.setAutoDefault(False)
|
||
self.commandLinkButton.setDefault(False)
|
||
self.commandLinkButton.setObjectName("commandLinkButton")
|
||
self.horizontalLayout_2.addWidget(self.commandLinkButton)
|
||
spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
|
||
self.horizontalLayout_2.addItem(spacerItem)
|
||
self.label_error_log = QtWidgets.QLabel(self.widget_2)
|
||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Preferred)
|
||
sizePolicy.setHorizontalStretch(0)
|
||
sizePolicy.setVerticalStretch(0)
|
||
sizePolicy.setHeightForWidth(self.label_error_log.sizePolicy().hasHeightForWidth())
|
||
self.label_error_log.setSizePolicy(sizePolicy)
|
||
self.label_error_log.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
|
||
self.label_error_log.setObjectName("label_error_log")
|
||
self.horizontalLayout_2.addWidget(self.label_error_log)
|
||
self.checkBox_send_error_log = QtWidgets.QCheckBox(self.widget_2)
|
||
self.checkBox_send_error_log.setText("")
|
||
self.checkBox_send_error_log.setIconSize(QtCore.QSize(64, 64))
|
||
self.checkBox_send_error_log.setChecked(False)
|
||
self.checkBox_send_error_log.setObjectName("checkBox_send_error_log")
|
||
self.horizontalLayout_2.addWidget(self.checkBox_send_error_log)
|
||
self.verticalLayout_3.addWidget(self.widget_2)
|
||
self.checkBox_2 = QtWidgets.QCheckBox(self.scrollAreaWidgetContents)
|
||
self.checkBox_2.setObjectName("checkBox_2")
|
||
self.verticalLayout_3.addWidget(self.checkBox_2)
|
||
self.checkBox = QtWidgets.QCheckBox(self.scrollAreaWidgetContents)
|
||
self.checkBox.setObjectName("checkBox")
|
||
self.verticalLayout_3.addWidget(self.checkBox)
|
||
self.commandLinkButton_2 = QtWidgets.QCommandLinkButton(self.scrollAreaWidgetContents)
|
||
self.commandLinkButton_2.setCheckable(True)
|
||
self.commandLinkButton_2.setObjectName("commandLinkButton_2")
|
||
self.verticalLayout_3.addWidget(self.commandLinkButton_2)
|
||
self.radioButton = QtWidgets.QRadioButton(self.scrollAreaWidgetContents)
|
||
self.radioButton.setObjectName("radioButton")
|
||
self.verticalLayout_3.addWidget(self.radioButton)
|
||
self.scrollArea.setWidget(self.scrollAreaWidgetContents)
|
||
self.verticalLayout_2.addWidget(self.scrollArea)
|
||
|
||
self.retranslateUi(Form)
|
||
QtCore.QMetaObject.connectSlotsByName(Form)
|
||
|
||
def retranslateUi(self, Form):
|
||
_translate = QtCore.QCoreApplication.translate
|
||
Form.setWindowTitle(_translate("Form", "Form"))
|
||
self.label.setText(_translate("Form", "文本框里输入年度报告词云停用词,每个词之间用空格隔开"))
|
||
self.plainTextEdit.setPlainText(_translate("Form", "哈哈哈 发呆"))
|
||
self.btn_addstopword.setText(_translate("Form", "添加停用词"))
|
||
self.commandLinkButton.setText(_translate("Form", "收集错误日志"))
|
||
self.commandLinkButton.setDescription(_translate("Form", "收集错误信息以帮助改进"))
|
||
self.label_error_log.setText(_translate("Form", "关"))
|
||
self.checkBox_2.setText(_translate("Form", "CheckBox"))
|
||
self.checkBox.setText(_translate("Form", "CheckBox"))
|
||
self.commandLinkButton_2.setText(_translate("Form", "CommandLinkButton"))
|
||
self.radioButton.setText(_translate("Form", "RadioButton"))
|