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

# Form implementation generated from reading ui file '.\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(1232, 900)
        MainWindow.setMinimumSize(QtCore.QSize(0, 0))
        font = QtGui.QFont()
        font.setFamily("等距更纱黑体 SC")
        MainWindow.setFont(font)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/img/img/logo.ico"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        icon.addPixmap(QtGui.QPixmap(":/img/img/logo.ico"), QtGui.QIcon.Normal, QtGui.QIcon.On)
        icon.addPixmap(QtGui.QPixmap(":/img/img/logo.ico"), QtGui.QIcon.Disabled, QtGui.QIcon.Off)
        icon.addPixmap(QtGui.QPixmap(":/img/img/logo.ico"), QtGui.QIcon.Active, QtGui.QIcon.Off)
        icon.addPixmap(QtGui.QPixmap(":/img/img/logo.ico"), QtGui.QIcon.Active, QtGui.QIcon.On)
        MainWindow.setWindowIcon(icon)
        MainWindow.setStyleSheet("")
        MainWindow.setIconSize(QtCore.QSize(25, 25))
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.centralwidget.sizePolicy().hasHeightForWidth())
        self.centralwidget.setSizePolicy(sizePolicy)
        self.centralwidget.setMinimumSize(QtCore.QSize(0, 0))
        self.centralwidget.setObjectName("centralwidget")
        self.horizontalLayout = QtWidgets.QHBoxLayout(self.centralwidget)
        self.horizontalLayout.setContentsMargins(-1, 12, -1, 0)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.Lpage = QtWidgets.QFrame(self.centralwidget)
        self.Lpage.setEnabled(True)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.Lpage.sizePolicy().hasHeightForWidth())
        self.Lpage.setSizePolicy(sizePolicy)
        self.Lpage.setMinimumSize(QtCore.QSize(240, 0))
        self.Lpage.setMouseTracking(False)
        self.Lpage.setFocusPolicy(QtCore.Qt.NoFocus)
        self.Lpage.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.Lpage.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.Lpage.setFrameShadow(QtWidgets.QFrame.Plain)
        self.Lpage.setObjectName("Lpage")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.Lpage)
        self.verticalLayout.setContentsMargins(6, -1, 6, -1)
        self.verticalLayout.setSpacing(16)
        self.verticalLayout.setObjectName("verticalLayout")
        spacerItem = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        self.verticalLayout.addItem(spacerItem)
        self.label = QtWidgets.QLabel(self.Lpage)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
        self.label.setSizePolicy(sizePolicy)
        self.label.setMinimumSize(QtCore.QSize(0, 45))
        self.label.setMaximumSize(QtCore.QSize(165000, 30000))
        self.label.setText("")
        self.label.setTextFormat(QtCore.Qt.PlainText)
        self.label.setPixmap(QtGui.QPixmap(":/img/img/title_black.png"))
        self.label.setScaledContents(True)
        self.label.setObjectName("label")
        self.verticalLayout.addWidget(self.label)
        self.frame_2 = QtWidgets.QFrame(self.Lpage)
        self.frame_2.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame_2.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame_2.setObjectName("frame_2")
        self.horizontalLayout_8 = QtWidgets.QHBoxLayout(self.frame_2)
        self.horizontalLayout_8.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_8.setSpacing(0)
        self.horizontalLayout_8.setObjectName("horizontalLayout_8")
        spacerItem1 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_8.addItem(spacerItem1)
        self.frame_4 = QtWidgets.QFrame(self.frame_2)
        self.frame_4.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame_4.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame_4.setObjectName("frame_4")
        self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.frame_4)
        self.verticalLayout_4.setContentsMargins(15, 55, 20, -1)
        self.verticalLayout_4.setSpacing(50)
        self.verticalLayout_4.setObjectName("verticalLayout_4")
        self.btn1 = QtWidgets.QPushButton(self.frame_4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.btn1.sizePolicy().hasHeightForWidth())
        self.btn1.setSizePolicy(sizePolicy)
        self.btn1.setMinimumSize(QtCore.QSize(150, 50))
        self.btn1.setMaximumSize(QtCore.QSize(16777215, 16777215))
        font = QtGui.QFont()
        font.setFamily("等距更纱黑体 SC")
        font.setPointSize(12)
        self.btn1.setFont(font)
        self.btn1.setObjectName("btn1")
        self.verticalLayout_4.addWidget(self.btn1)
        self.btn2 = QtWidgets.QPushButton(self.frame_4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.btn2.sizePolicy().hasHeightForWidth())
        self.btn2.setSizePolicy(sizePolicy)
        self.btn2.setMinimumSize(QtCore.QSize(0, 50))
        font = QtGui.QFont()
        font.setFamily("等距更纱黑体 SC")
        font.setPointSize(12)
        self.btn2.setFont(font)
        self.btn2.setObjectName("btn2")
        self.verticalLayout_4.addWidget(self.btn2)
        self.btn3 = QtWidgets.QPushButton(self.frame_4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.btn3.sizePolicy().hasHeightForWidth())
        self.btn3.setSizePolicy(sizePolicy)
        self.btn3.setMinimumSize(QtCore.QSize(0, 50))
        font = QtGui.QFont()
        font.setFamily("等距更纱黑体 SC")
        font.setPointSize(12)
        self.btn3.setFont(font)
        self.btn3.setObjectName("btn3")
        self.verticalLayout_4.addWidget(self.btn3)
        self.horizontalLayout_8.addWidget(self.frame_4)
        spacerItem2 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_8.addItem(spacerItem2)
        self.verticalLayout.addWidget(self.frame_2)
        spacerItem3 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.MinimumExpanding)
        self.verticalLayout.addItem(spacerItem3)
        self.horizontalLayout.addWidget(self.Lpage)
        self.line = QtWidgets.QFrame(self.centralwidget)
        self.line.setFrameShadow(QtWidgets.QFrame.Plain)
        self.line.setLineWidth(2)
        self.line.setFrameShape(QtWidgets.QFrame.VLine)
        self.line.setObjectName("line")
        self.horizontalLayout.addWidget(self.line)
        self.Rpage = QtWidgets.QStackedWidget(self.centralwidget)
        self.Rpage.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.Rpage.setFrameShadow(QtWidgets.QFrame.Plain)
        self.Rpage.setObjectName("Rpage")
        self.IntroPage = QtWidgets.QWidget()
        self.IntroPage.setObjectName("IntroPage")
        self.gridLayout = QtWidgets.QGridLayout(self.IntroPage)
        self.gridLayout.setObjectName("gridLayout")
        self.line_2 = QtWidgets.QFrame(self.IntroPage)
        self.line_2.setFrameShadow(QtWidgets.QFrame.Plain)
        self.line_2.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_2.setObjectName("line_2")
        self.gridLayout.addWidget(self.line_2, 2, 1, 1, 1)
        self.frame = QtWidgets.QFrame(self.IntroPage)
        self.frame.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame.setLineWidth(0)
        self.frame.setObjectName("frame")
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout(self.frame)
        self.horizontalLayout_4.setContentsMargins(0, 10, 0, 0)
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.label_2 = QtWidgets.QLabel(self.frame)
        font = QtGui.QFont()
        font.setPointSize(14)
        self.label_2.setFont(font)
        self.label_2.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_2.setObjectName("label_2")
        self.horizontalLayout_4.addWidget(self.label_2)
        spacerItem4 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_4.addItem(spacerItem4)
        self.gridLayout.addWidget(self.frame, 3, 1, 1, 1)
        self.frame_5 = QtWidgets.QFrame(self.IntroPage)
        self.frame_5.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame_5.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame_5.setLineWidth(0)
        self.frame_5.setObjectName("frame_5")
        self.horizontalLayout_9 = QtWidgets.QHBoxLayout(self.frame_5)
        self.horizontalLayout_9.setObjectName("horizontalLayout_9")
        spacerItem5 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_9.addItem(spacerItem5)
        self.textBrowser = QtWidgets.QTextBrowser(self.frame_5)
        self.textBrowser.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.textBrowser.setOpenExternalLinks(True)
        self.textBrowser.setObjectName("textBrowser")
        self.horizontalLayout_9.addWidget(self.textBrowser)
        spacerItem6 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_9.addItem(spacerItem6)
        self.gridLayout.addWidget(self.frame_5, 5, 1, 1, 1)
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        spacerItem7 = QtWidgets.QSpacerItem(60, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem7)
        self.label_3 = QtWidgets.QLabel(self.IntroPage)
        self.label_3.setMinimumSize(QtCore.QSize(50, 40))
        font = QtGui.QFont()
        font.setPointSize(24)
        font.setBold(True)
        font.setWeight(75)
        self.label_3.setFont(font)
        self.label_3.setObjectName("label_3")
        self.horizontalLayout_3.addWidget(self.label_3)
        spacerItem8 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem8)
        self.gridLayout.addLayout(self.horizontalLayout_3, 1, 1, 1, 1)
        spacerItem9 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        self.gridLayout.addItem(spacerItem9, 0, 1, 1, 1)
        spacerItem10 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem10, 1, 0, 7, 1)
        self.Rpage.addWidget(self.IntroPage)
        self.TrendPage = QtWidgets.QWidget()
        self.TrendPage.setObjectName("TrendPage")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.TrendPage)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.frame_3 = QtWidgets.QFrame(self.TrendPage)
        self.frame_3.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame_3.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.frame_3.setLineWidth(0)
        self.frame_3.setObjectName("frame_3")
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.frame_3)
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        spacerItem11 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem11)
        self.comboBox = QtWidgets.QComboBox(self.frame_3)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.comboBox.sizePolicy().hasHeightForWidth())
        self.comboBox.setSizePolicy(sizePolicy)
        self.comboBox.setMinimumSize(QtCore.QSize(153, 45))
        self.comboBox.setMaximumSize(QtCore.QSize(16777215, 50))
        font = QtGui.QFont()
        font.setFamily("微软雅黑")
        font.setPointSize(10)
        self.comboBox.setFont(font)
        self.comboBox.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.comboBox.setStyleSheet("background-color: #455364;")
        self.comboBox.setSizeAdjustPolicy(QtWidgets.QComboBox.AdjustToContents)
        self.comboBox.setDuplicatesEnabled(False)
        self.comboBox.setObjectName("comboBox")
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(":/img/img/weibo.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.comboBox.addItem(icon1, "")
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(":/img/img/zhihu.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.comboBox.addItem(icon2, "")
        icon3 = QtGui.QIcon()
        icon3.addPixmap(QtGui.QPixmap(":/img/img/baidu.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.comboBox.addItem(icon3, "")
        self.horizontalLayout_2.addWidget(self.comboBox)
        spacerItem12 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem12)
        self.RefreshButton = QtWidgets.QPushButton(self.frame_3)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.RefreshButton.sizePolicy().hasHeightForWidth())
        self.RefreshButton.setSizePolicy(sizePolicy)
        self.RefreshButton.setMinimumSize(QtCore.QSize(60, 20))
        font = QtGui.QFont()
        font.setFamily("微软雅黑")
        self.RefreshButton.setFont(font)
        self.RefreshButton.setStyleSheet("")
        self.RefreshButton.setObjectName("RefreshButton")
        self.horizontalLayout_2.addWidget(self.RefreshButton)
        spacerItem13 = QtWidgets.QSpacerItem(120, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem13)
        self.label_6 = QtWidgets.QLabel(self.frame_3)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_6.sizePolicy().hasHeightForWidth())
        self.label_6.setSizePolicy(sizePolicy)
        self.label_6.setMinimumSize(QtCore.QSize(100, 45))
        font = QtGui.QFont()
        font.setFamily("微软雅黑")
        self.label_6.setFont(font)
        self.label_6.setStyleSheet("border: 1px solid #455364;border-radius: 4px;")
        self.label_6.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.label_6.setAlignment(QtCore.Qt.AlignCenter)
        self.label_6.setObjectName("label_6")
        self.horizontalLayout_2.addWidget(self.label_6)
        spacerItem14 = QtWidgets.QSpacerItem(10, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem14)
        self.time_label = QtWidgets.QLabel(self.frame_3)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.time_label.sizePolicy().hasHeightForWidth())
        self.time_label.setSizePolicy(sizePolicy)
        self.time_label.setMinimumSize(QtCore.QSize(180, 0))
        font = QtGui.QFont()
        font.setFamily("微软雅黑")
        self.time_label.setFont(font)
        self.time_label.setStyleSheet("border: 1px solid #455364;border-radius: 4px;")
        self.time_label.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.time_label.setAlignment(QtCore.Qt.AlignCenter)
        self.time_label.setObjectName("time_label")
        self.horizontalLayout_2.addWidget(self.time_label)
        spacerItem15 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem15)
        self.verticalLayout_2.addWidget(self.frame_3)
        self.stackedWidget = QtWidgets.QStackedWidget(self.TrendPage)
        self.stackedWidget.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.stackedWidget.setObjectName("stackedWidget")
        self.sina = QtWidgets.QWidget()
        self.sina.setObjectName("sina")
        self.horizontalLayout_5 = QtWidgets.QHBoxLayout(self.sina)
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        spacerItem16 = QtWidgets.QSpacerItem(10, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_5.addItem(spacerItem16)
        self.wblist = QtWidgets.QListWidget(self.sina)
        self.wblist.setEnabled(True)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.wblist.sizePolicy().hasHeightForWidth())
        self.wblist.setSizePolicy(sizePolicy)
        self.wblist.setMinimumSize(QtCore.QSize(300, 0))
        self.wblist.setStyleSheet("QListView::item:hover:!selected {font-weight: bold;}")
        self.wblist.setObjectName("wblist")
        self.horizontalLayout_5.addWidget(self.wblist)
        spacerItem17 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_5.addItem(spacerItem17)
        self.stackedWidget.addWidget(self.sina)
        self.zhihu = QtWidgets.QWidget()
        self.zhihu.setObjectName("zhihu")
        self.horizontalLayout_7 = QtWidgets.QHBoxLayout(self.zhihu)
        self.horizontalLayout_7.setObjectName("horizontalLayout_7")
        spacerItem18 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_7.addItem(spacerItem18)
        self.zhlist = QtWidgets.QListWidget(self.zhihu)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.zhlist.sizePolicy().hasHeightForWidth())
        self.zhlist.setSizePolicy(sizePolicy)
        self.zhlist.setMinimumSize(QtCore.QSize(240, 0))
        self.zhlist.setStyleSheet("QListWidget::item:{padding-top:-2px; padding-bottom:1px}")
        self.zhlist.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.zhlist.setLineWidth(1)
        self.zhlist.setProperty("isWrapping", False)
        self.zhlist.setResizeMode(QtWidgets.QListView.Adjust)
        self.zhlist.setWordWrap(True)
        self.zhlist.setObjectName("zhlist")
        self.horizontalLayout_7.addWidget(self.zhlist)
        spacerItem19 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_7.addItem(spacerItem19)
        self.stackedWidget.addWidget(self.zhihu)
        self.baidu = QtWidgets.QWidget()
        self.baidu.setObjectName("baidu")
        self.horizontalLayout_6 = QtWidgets.QHBoxLayout(self.baidu)
        self.horizontalLayout_6.setObjectName("horizontalLayout_6")
        spacerItem20 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_6.addItem(spacerItem20)
        self.bdlist = QtWidgets.QListWidget(self.baidu)
        self.bdlist.setEnabled(True)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.bdlist.sizePolicy().hasHeightForWidth())
        self.bdlist.setSizePolicy(sizePolicy)
        self.bdlist.setMinimumSize(QtCore.QSize(300, 0))
        self.bdlist.setObjectName("bdlist")
        self.horizontalLayout_6.addWidget(self.bdlist)
        spacerItem21 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_6.addItem(spacerItem21)
        self.stackedWidget.addWidget(self.baidu)
        self.verticalLayout_2.addWidget(self.stackedWidget)
        self.Rpage.addWidget(self.TrendPage)
        self.WCPage = QtWidgets.QWidget()
        self.WCPage.setObjectName("WCPage")
        self.gridLayout_2 = QtWidgets.QGridLayout(self.WCPage)
        self.gridLayout_2.setContentsMargins(30, -1, -1, -1)
        self.gridLayout_2.setHorizontalSpacing(30)
        self.gridLayout_2.setObjectName("gridLayout_2")
        spacerItem22 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        self.gridLayout_2.addItem(spacerItem22, 9, 0, 1, 1)
        self.geneButton = QtWidgets.QPushButton(self.WCPage)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.geneButton.sizePolicy().hasHeightForWidth())
        self.geneButton.setSizePolicy(sizePolicy)
        self.geneButton.setMinimumSize(QtCore.QSize(130, 45))
        self.geneButton.setObjectName("geneButton")
        self.gridLayout_2.addWidget(self.geneButton, 8, 0, 1, 1)
        self.saveButton = QtWidgets.QPushButton(self.WCPage)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.saveButton.sizePolicy().hasHeightForWidth())
        self.saveButton.setSizePolicy(sizePolicy)
        self.saveButton.setMinimumSize(QtCore.QSize(130, 45))
        self.saveButton.setObjectName("saveButton")
        self.gridLayout_2.addWidget(self.saveButton, 10, 0, 1, 1)
        spacerItem23 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.gridLayout_2.addItem(spacerItem23, 11, 0, 1, 1)
        self.frame_6 = QtWidgets.QFrame(self.WCPage)
        self.frame_6.setMinimumSize(QtCore.QSize(0, 45))
        self.frame_6.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame_6.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame_6.setObjectName("frame_6")
        self.horizontalLayout_10 = QtWidgets.QHBoxLayout(self.frame_6)
        self.horizontalLayout_10.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_10.setObjectName("horizontalLayout_10")
        self.comboBox2 = QtWidgets.QComboBox(self.frame_6)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.comboBox2.sizePolicy().hasHeightForWidth())
        self.comboBox2.setSizePolicy(sizePolicy)
        self.comboBox2.setMinimumSize(QtCore.QSize(130, 45))
        self.comboBox2.setMaximumSize(QtCore.QSize(16777215, 50))
        font = QtGui.QFont()
        font.setFamily("微软雅黑")
        font.setPointSize(10)
        self.comboBox2.setFont(font)
        self.comboBox2.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.comboBox2.setStyleSheet("background-color: #455364;")
        self.comboBox2.setSizeAdjustPolicy(QtWidgets.QComboBox.AdjustToContents)
        self.comboBox2.setDuplicatesEnabled(False)
        self.comboBox2.setObjectName("comboBox2")
        self.comboBox2.addItem(icon1, "")
        self.comboBox2.addItem(icon2, "")
        self.comboBox2.addItem(icon3, "")
        self.horizontalLayout_10.addWidget(self.comboBox2)
        self.gridLayout_2.addWidget(self.frame_6, 5, 0, 1, 1)
        spacerItem24 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        self.gridLayout_2.addItem(spacerItem24, 7, 0, 1, 1)
        self.label_4 = QtWidgets.QLabel(self.WCPage)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_4.sizePolicy().hasHeightForWidth())
        self.label_4.setSizePolicy(sizePolicy)
        self.label_4.setMinimumSize(QtCore.QSize(0, 60))
        self.label_4.setMaximumSize(QtCore.QSize(16777215, 16000000))
        font = QtGui.QFont()
        font.setFamily("微软雅黑")
        font.setPointSize(18)
        font.setBold(True)
        font.setWeight(75)
        self.label_4.setFont(font)
        self.label_4.setAlignment(QtCore.Qt.AlignCenter)
        self.label_4.setObjectName("label_4")
        self.gridLayout_2.addWidget(self.label_4, 1, 1, 1, 2)
        spacerItem25 = QtWidgets.QSpacerItem(20, 70, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        self.gridLayout_2.addItem(spacerItem25, 4, 0, 1, 1)
        spacerItem26 = QtWidgets.QSpacerItem(130, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
        self.gridLayout_2.addItem(spacerItem26, 1, 0, 1, 1)
        self.img_label = QtWidgets.QLabel(self.WCPage)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.img_label.sizePolicy().hasHeightForWidth())
        self.img_label.setSizePolicy(sizePolicy)
        self.img_label.setMinimumSize(QtCore.QSize(750, 750))
        self.img_label.setBaseSize(QtCore.QSize(1, 1))
        font = QtGui.QFont()
        font.setFamily("微软雅黑")
        font.setPointSize(10)
        self.img_label.setFont(font)
        self.img_label.setStyleSheet("border: 1px solid #455364;border-radius: 9px;")
        self.img_label.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.img_label.setTextFormat(QtCore.Qt.PlainText)
        self.img_label.setScaledContents(True)
        self.img_label.setAlignment(QtCore.Qt.AlignCenter)
        self.img_label.setObjectName("img_label")
        self.gridLayout_2.addWidget(self.img_label, 4, 1, 8, 2)
        self.Rpage.addWidget(self.WCPage)
        self.horizontalLayout.addWidget(self.Rpage)
        MainWindow.setCentralWidget(self.centralwidget)

        self.retranslateUi(MainWindow)
        self.Rpage.setCurrentIndex(0)
        self.stackedWidget.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        _translate = QtCore.QCoreApplication.translate
        MainWindow.setWindowTitle(_translate("MainWindow", "TopTrending"))
        self.btn1.setText(_translate("MainWindow", "HomePage"))
        self.btn2.setText(_translate("MainWindow", "Trending"))
        self.btn3.setText(_translate("MainWindow", "WordCloud"))
        self.label_2.setText(_translate("MainWindow", "——What\'s happening in the world?"))
        self.textBrowser.setHtml(_translate("MainWindow", "<!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\" /><title>TopTrending</title><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'等距更纱黑体 SC\'; font-size:9pt; font-weight:400; font-style:normal;\">\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:20px; margin-bottom:12px; margin-left:90px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><a name=\"3e761856-319c-45a2-98dc-7a898039c6bb\"></a><span style=\" font-size:20pt; font-weight:600; font-style:italic; text-decoration: underline;\">I</span><span style=\" font-size:20pt; font-weight:600; font-style:italic; text-decoration: underline;\">ntroduction</span></p>\n"
"<p style=\" margin-top:12px; margin-bottom:12px; margin-left:150px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><a name=\"32caa4c3-b299-4531-af4c-3245d61ae3e1\"></a><span style=\" font-size:16pt;\">T</span><span style=\" font-size:16pt;\">opTrending是一个热搜汇聚工具。</span></p>\n"
"<ul style=\"margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 1;\"><li style=\" font-size:16pt;\" style=\" margin-top:12px; margin-bottom:12px; margin-left:170px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">获取热门网站实时热搜</li></ul>\n"
"<ul style=\"margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 1;\"><li style=\" font-size:16pt;\" style=\" margin-top:12px; margin-bottom:12px; margin-left:170px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">一键生成热搜关键词词云</li></ul>\n"
"<p style=\" margin-top:12px; margin-bottom:12px; margin-left:150px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><a name=\"565d1f92-ddd9-498c-9f1b-d79935513fb1\"></a><span style=\" font-size:16pt;\">信</span><span style=\" font-size:16pt;\">息收集，浅尝辄止。</span></p>\n"
"<p style=\" margin-top:30px; margin-bottom:20px; margin-left:90px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><a name=\"3e761856-319c-45a2-98dc-7a898039c6bb\"></a><span style=\" font-size:20pt; font-weight:600; font-style:italic; text-decoration: underline;\">S</span><span style=\" font-size:20pt; font-weight:600; font-style:italic; text-decoration: underline;\">ites</span></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:150px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:16pt;\">目前支持微博、知乎、百度站点。</span></p>\n"
"<p style=\" margin-top:30px; margin-bottom:20px; margin-left:90px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><a name=\"3e761856-319c-45a2-98dc-7a898039c6bb\"></a><span style=\" font-size:20pt; font-weight:600; font-style:italic; text-decoration: underline;\">M</span><span style=\" font-size:20pt; font-weight:600; font-style:italic; text-decoration: underline;\">oreAbout</span></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:150px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><img src=\":/img/img/github.svg\" /><a href=\"https://github.com/ZainLLL/TopTrending\"><span style=\" font-size:16pt; text-decoration: underline; color:#e0e1e3;\">TopTrending</span></a><span style=\" font-size:16pt;\"> 欢迎Fllow和Star</span></p></body></html>"))
        self.label_3.setText(_translate("MainWindow", "Top Trending"))
        self.comboBox.setItemText(0, _translate("MainWindow", " 微博热搜 "))
        self.comboBox.setItemText(1, _translate("MainWindow", " 知乎热榜 "))
        self.comboBox.setItemText(2, _translate("MainWindow", " 百度热搜 "))
        self.RefreshButton.setText(_translate("MainWindow", "刷新"))
        self.label_6.setText(_translate("MainWindow", "更新时间"))
        self.time_label.setText(_translate("MainWindow", "TextLabel"))
        self.geneButton.setText(_translate("MainWindow", "生成图片"))
        self.saveButton.setText(_translate("MainWindow", "保存图片"))
        self.comboBox2.setItemText(0, _translate("MainWindow", " 微博热搜 "))
        self.comboBox2.setItemText(1, _translate("MainWindow", " 知乎热榜 "))
        self.comboBox2.setItemText(2, _translate("MainWindow", " 百度热搜 "))
        self.label_4.setText(_translate("MainWindow", "词云生成"))
        self.img_label.setText(_translate("MainWindow", "点 击 生 成 热 搜 词 云"))
import img_rc

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

# Form implementation generated from reading ui file '.\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(1232, 900)
        MainWindow.setMinimumSize(QtCore.QSize(0, 0))
        font = QtGui.QFont()
        font.setFamily("等距更纱黑体 SC")
        MainWindow.setFont(font)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/img/img/logo.ico"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        icon.addPixmap(QtGui.QPixmap(":/img/img/logo.ico"), QtGui.QIcon.Normal, QtGui.QIcon.On)
        icon.addPixmap(QtGui.QPixmap(":/img/img/logo.ico"), QtGui.QIcon.Disabled, QtGui.QIcon.Off)
        icon.addPixmap(QtGui.QPixmap(":/img/img/logo.ico"), QtGui.QIcon.Active, QtGui.QIcon.Off)
        icon.addPixmap(QtGui.QPixmap(":/img/img/logo.ico"), QtGui.QIcon.Active, QtGui.QIcon.On)
        MainWindow.setWindowIcon(icon)
        MainWindow.setStyleSheet("")
        MainWindow.setIconSize(QtCore.QSize(25, 25))
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.centralwidget.sizePolicy().hasHeightForWidth())
        self.centralwidget.setSizePolicy(sizePolicy)
        self.centralwidget.setMinimumSize(QtCore.QSize(0, 0))
        self.centralwidget.setObjectName("centralwidget")
        self.horizontalLayout = QtWidgets.QHBoxLayout(self.centralwidget)
        self.horizontalLayout.setContentsMargins(-1, 12, -1, 0)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.Lpage = QtWidgets.QFrame(self.centralwidget)
        self.Lpage.setEnabled(True)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.Lpage.sizePolicy().hasHeightForWidth())
        self.Lpage.setSizePolicy(sizePolicy)
        self.Lpage.setMinimumSize(QtCore.QSize(240, 0))
        self.Lpage.setMouseTracking(False)
        self.Lpage.setFocusPolicy(QtCore.Qt.NoFocus)
        self.Lpage.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.Lpage.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.Lpage.setFrameShadow(QtWidgets.QFrame.Plain)
        self.Lpage.setObjectName("Lpage")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.Lpage)
        self.verticalLayout.setContentsMargins(6, -1, 6, -1)
        self.verticalLayout.setSpacing(16)
        self.verticalLayout.setObjectName("verticalLayout")
        spacerItem = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        self.verticalLayout.addItem(spacerItem)
        self.label = QtWidgets.QLabel(self.Lpage)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
        self.label.setSizePolicy(sizePolicy)
        self.label.setMinimumSize(QtCore.QSize(0, 45))
        self.label.setMaximumSize(QtCore.QSize(165000, 30000))
        self.label.setText("")
        self.label.setTextFormat(QtCore.Qt.PlainText)
        self.label.setPixmap(QtGui.QPixmap(":/img/img/title_black.png"))
        self.label.setScaledContents(True)
        self.label.setObjectName("label")
        self.verticalLayout.addWidget(self.label)
        self.frame_2 = QtWidgets.QFrame(self.Lpage)
        self.frame_2.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame_2.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame_2.setObjectName("frame_2")
        self.horizontalLayout_8 = QtWidgets.QHBoxLayout(self.frame_2)
        self.horizontalLayout_8.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_8.setSpacing(0)
        self.horizontalLayout_8.setObjectName("horizontalLayout_8")
        spacerItem1 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_8.addItem(spacerItem1)
        self.frame_4 = QtWidgets.QFrame(self.frame_2)
        self.frame_4.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame_4.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame_4.setObjectName("frame_4")
        self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.frame_4)
        self.verticalLayout_4.setContentsMargins(15, 55, 20, -1)
        self.verticalLayout_4.setSpacing(50)
        self.verticalLayout_4.setObjectName("verticalLayout_4")
        self.btn1 = QtWidgets.QPushButton(self.frame_4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.btn1.sizePolicy().hasHeightForWidth())
        self.btn1.setSizePolicy(sizePolicy)
        self.btn1.setMinimumSize(QtCore.QSize(150, 50))
        self.btn1.setMaximumSize(QtCore.QSize(16777215, 16777215))
        font = QtGui.QFont()
        font.setFamily("等距更纱黑体 SC")
        font.setPointSize(12)
        self.btn1.setFont(font)
        self.btn1.setObjectName("btn1")
        self.verticalLayout_4.addWidget(self.btn1)
        self.btn2 = QtWidgets.QPushButton(self.frame_4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.btn2.sizePolicy().hasHeightForWidth())
        self.btn2.setSizePolicy(sizePolicy)
        self.btn2.setMinimumSize(QtCore.QSize(0, 50))
        font = QtGui.QFont()
        font.setFamily("等距更纱黑体 SC")
        font.setPointSize(12)
        self.btn2.setFont(font)
        self.btn2.setObjectName("btn2")
        self.verticalLayout_4.addWidget(self.btn2)
        self.btn3 = QtWidgets.QPushButton(self.frame_4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.btn3.sizePolicy().hasHeightForWidth())
        self.btn3.setSizePolicy(sizePolicy)
        self.btn3.setMinimumSize(QtCore.QSize(0, 50))
        font = QtGui.QFont()
        font.setFamily("等距更纱黑体 SC")
        font.setPointSize(12)
        self.btn3.setFont(font)
        self.btn3.setObjectName("btn3")
        self.verticalLayout_4.addWidget(self.btn3)
        self.horizontalLayout_8.addWidget(self.frame_4)
        spacerItem2 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_8.addItem(spacerItem2)
        self.verticalLayout.addWidget(self.frame_2)
        spacerItem3 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.MinimumExpanding)
        self.verticalLayout.addItem(spacerItem3)
        self.horizontalLayout.addWidget(self.Lpage)
        self.line = QtWidgets.QFrame(self.centralwidget)
        self.line.setFrameShadow(QtWidgets.QFrame.Plain)
        self.line.setLineWidth(2)
        self.line.setFrameShape(QtWidgets.QFrame.VLine)
        self.line.setObjectName("line")
        self.horizontalLayout.addWidget(self.line)
        self.Rpage = QtWidgets.QStackedWidget(self.centralwidget)
        self.Rpage.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.Rpage.setFrameShadow(QtWidgets.QFrame.Plain)
        self.Rpage.setObjectName("Rpage")
        self.IntroPage = QtWidgets.QWidget()
        self.IntroPage.setObjectName("IntroPage")
        self.gridLayout = QtWidgets.QGridLayout(self.IntroPage)
        self.gridLayout.setObjectName("gridLayout")
        self.line_2 = QtWidgets.QFrame(self.IntroPage)
        self.line_2.setFrameShadow(QtWidgets.QFrame.Plain)
        self.line_2.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_2.setObjectName("line_2")
        self.gridLayout.addWidget(self.line_2, 2, 1, 1, 1)
        self.frame = QtWidgets.QFrame(self.IntroPage)
        self.frame.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame.setLineWidth(0)
        self.frame.setObjectName("frame")
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout(self.frame)
        self.horizontalLayout_4.setContentsMargins(0, 10, 0, 0)
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.label_2 = QtWidgets.QLabel(self.frame)
        font = QtGui.QFont()
        font.setPointSize(14)
        self.label_2.setFont(font)
        self.label_2.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_2.setObjectName("label_2")
        self.horizontalLayout_4.addWidget(self.label_2)
        spacerItem4 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_4.addItem(spacerItem4)
        self.gridLayout.addWidget(self.frame, 3, 1, 1, 1)
        self.frame_5 = QtWidgets.QFrame(self.IntroPage)
        self.frame_5.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame_5.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame_5.setLineWidth(0)
        self.frame_5.setObjectName("frame_5")
        self.horizontalLayout_9 = QtWidgets.QHBoxLayout(self.frame_5)
        self.horizontalLayout_9.setObjectName("horizontalLayout_9")
        spacerItem5 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_9.addItem(spacerItem5)
        self.textBrowser = QtWidgets.QTextBrowser(self.frame_5)
        self.textBrowser.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.textBrowser.setOpenExternalLinks(True)
        self.textBrowser.setObjectName("textBrowser")
        self.horizontalLayout_9.addWidget(self.textBrowser)
        spacerItem6 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_9.addItem(spacerItem6)
        self.gridLayout.addWidget(self.frame_5, 5, 1, 1, 1)
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        spacerItem7 = QtWidgets.QSpacerItem(60, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem7)
        self.label_3 = QtWidgets.QLabel(self.IntroPage)
        self.label_3.setMinimumSize(QtCore.QSize(50, 40))
        font = QtGui.QFont()
        font.setPointSize(24)
        font.setBold(True)
        font.setWeight(75)
        self.label_3.setFont(font)
        self.label_3.setObjectName("label_3")
        self.horizontalLayout_3.addWidget(self.label_3)
        spacerItem8 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem8)
        self.gridLayout.addLayout(self.horizontalLayout_3, 1, 1, 1, 1)
        spacerItem9 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        self.gridLayout.addItem(spacerItem9, 0, 1, 1, 1)
        spacerItem10 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem10, 1, 0, 7, 1)
        self.Rpage.addWidget(self.IntroPage)
        self.TrendPage = QtWidgets.QWidget()
        self.TrendPage.setObjectName("TrendPage")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.TrendPage)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.frame_3 = QtWidgets.QFrame(self.TrendPage)
        self.frame_3.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame_3.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.frame_3.setLineWidth(0)
        self.frame_3.setObjectName("frame_3")
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.frame_3)
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        spacerItem11 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem11)
        self.comboBox = QtWidgets.QComboBox(self.frame_3)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.comboBox.sizePolicy().hasHeightForWidth())
        self.comboBox.setSizePolicy(sizePolicy)
        self.comboBox.setMinimumSize(QtCore.QSize(153, 45))
        self.comboBox.setMaximumSize(QtCore.QSize(16777215, 50))
        font = QtGui.QFont()
        font.setFamily("微软雅黑")
        font.setPointSize(10)
        self.comboBox.setFont(font)
        self.comboBox.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.comboBox.setStyleSheet("background-color: #455364;")
        self.comboBox.setSizeAdjustPolicy(QtWidgets.QComboBox.AdjustToContents)
        self.comboBox.setDuplicatesEnabled(False)
        self.comboBox.setObjectName("comboBox")
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(":/img/img/weibo.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.comboBox.addItem(icon1, "")
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(":/img/img/zhihu.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.comboBox.addItem(icon2, "")
        icon3 = QtGui.QIcon()
        icon3.addPixmap(QtGui.QPixmap(":/img/img/baidu.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.comboBox.addItem(icon3, "")
        self.horizontalLayout_2.addWidget(self.comboBox)
        spacerItem12 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem12)
        self.RefreshButton = QtWidgets.QPushButton(self.frame_3)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.RefreshButton.sizePolicy().hasHeightForWidth())
        self.RefreshButton.setSizePolicy(sizePolicy)
        self.RefreshButton.setMinimumSize(QtCore.QSize(60, 20))
        font = QtGui.QFont()
        font.setFamily("微软雅黑")
        self.RefreshButton.setFont(font)
        self.RefreshButton.setStyleSheet("")
        self.RefreshButton.setObjectName("RefreshButton")
        self.horizontalLayout_2.addWidget(self.RefreshButton)
        spacerItem13 = QtWidgets.QSpacerItem(120, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem13)
        self.label_6 = QtWidgets.QLabel(self.frame_3)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_6.sizePolicy().hasHeightForWidth())
        self.label_6.setSizePolicy(sizePolicy)
        self.label_6.setMinimumSize(QtCore.QSize(100, 45))
        font = QtGui.QFont()
        font.setFamily("微软雅黑")
        self.label_6.setFont(font)
        self.label_6.setStyleSheet("border: 1px solid #455364;border-radius: 4px;")
        self.label_6.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.label_6.setAlignment(QtCore.Qt.AlignCenter)
        self.label_6.setObjectName("label_6")
        self.horizontalLayout_2.addWidget(self.label_6)
        spacerItem14 = QtWidgets.QSpacerItem(10, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem14)
        self.time_label = QtWidgets.QLabel(self.frame_3)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.time_label.sizePolicy().hasHeightForWidth())
        self.time_label.setSizePolicy(sizePolicy)
        self.time_label.setMinimumSize(QtCore.QSize(180, 0))
        font = QtGui.QFont()
        font.setFamily("微软雅黑")
        self.time_label.setFont(font)
        self.time_label.setStyleSheet("border: 1px solid #455364;border-radius: 4px;")
        self.time_label.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.time_label.setAlignment(QtCore.Qt.AlignCenter)
        self.time_label.setObjectName("time_label")
        self.horizontalLayout_2.addWidget(self.time_label)
        spacerItem15 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem15)
        self.verticalLayout_2.addWidget(self.frame_3)
        self.stackedWidget = QtWidgets.QStackedWidget(self.TrendPage)
        self.stackedWidget.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.stackedWidget.setObjectName("stackedWidget")
        self.sina = QtWidgets.QWidget()
        self.sina.setObjectName("sina")
        self.horizontalLayout_5 = QtWidgets.QHBoxLayout(self.sina)
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        spacerItem16 = QtWidgets.QSpacerItem(10, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_5.addItem(spacerItem16)
        self.wblist = QtWidgets.QListWidget(self.sina)
        self.wblist.setEnabled(True)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.wblist.sizePolicy().hasHeightForWidth())
        self.wblist.setSizePolicy(sizePolicy)
        self.wblist.setMinimumSize(QtCore.QSize(300, 0))
        self.wblist.setStyleSheet("QListView::item:hover:!selected {font-weight: bold;}")
        self.wblist.setObjectName("wblist")
        self.horizontalLayout_5.addWidget(self.wblist)
        spacerItem17 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_5.addItem(spacerItem17)
        self.stackedWidget.addWidget(self.sina)
        self.zhihu = QtWidgets.QWidget()
        self.zhihu.setObjectName("zhihu")
        self.horizontalLayout_7 = QtWidgets.QHBoxLayout(self.zhihu)
        self.horizontalLayout_7.setObjectName("horizontalLayout_7")
        spacerItem18 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_7.addItem(spacerItem18)
        self.zhlist = QtWidgets.QListWidget(self.zhihu)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.zhlist.sizePolicy().hasHeightForWidth())
        self.zhlist.setSizePolicy(sizePolicy)
        self.zhlist.setMinimumSize(QtCore.QSize(240, 0))
        self.zhlist.setStyleSheet("QListWidget::item:{padding-top:-2px; padding-bottom:1px}")
        self.zhlist.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.zhlist.setLineWidth(1)
        self.zhlist.setProperty("isWrapping", False)
        self.zhlist.setResizeMode(QtWidgets.QListView.Adjust)
        self.zhlist.setWordWrap(True)
        self.zhlist.setObjectName("zhlist")
        self.horizontalLayout_7.addWidget(self.zhlist)
        spacerItem19 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_7.addItem(spacerItem19)
        self.stackedWidget.addWidget(self.zhihu)
        self.baidu = QtWidgets.QWidget()
        self.baidu.setObjectName("baidu")
        self.horizontalLayout_6 = QtWidgets.QHBoxLayout(self.baidu)
        self.horizontalLayout_6.setObjectName("horizontalLayout_6")
        spacerItem20 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_6.addItem(spacerItem20)
        self.bdlist = QtWidgets.QListWidget(self.baidu)
        self.bdlist.setEnabled(True)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.bdlist.sizePolicy().hasHeightForWidth())
        self.bdlist.setSizePolicy(sizePolicy)
        self.bdlist.setMinimumSize(QtCore.QSize(300, 0))
        self.bdlist.setObjectName("bdlist")
        self.horizontalLayout_6.addWidget(self.bdlist)
        spacerItem21 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_6.addItem(spacerItem21)
        self.stackedWidget.addWidget(self.baidu)
        self.verticalLayout_2.addWidget(self.stackedWidget)
        self.Rpage.addWidget(self.TrendPage)
        self.WCPage = QtWidgets.QWidget()
        self.WCPage.setObjectName("WCPage")
        self.gridLayout_2 = QtWidgets.QGridLayout(self.WCPage)
        self.gridLayout_2.setContentsMargins(30, -1, -1, -1)
        self.gridLayout_2.setHorizontalSpacing(30)
        self.gridLayout_2.setObjectName("gridLayout_2")
        spacerItem22 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        self.gridLayout_2.addItem(spacerItem22, 9, 0, 1, 1)
        self.geneButton = QtWidgets.QPushButton(self.WCPage)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.geneButton.sizePolicy().hasHeightForWidth())
        self.geneButton.setSizePolicy(sizePolicy)
        self.geneButton.setMinimumSize(QtCore.QSize(130, 45))
        self.geneButton.setObjectName("geneButton")
        self.gridLayout_2.addWidget(self.geneButton, 8, 0, 1, 1)
        self.saveButton = QtWidgets.QPushButton(self.WCPage)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.saveButton.sizePolicy().hasHeightForWidth())
        self.saveButton.setSizePolicy(sizePolicy)
        self.saveButton.setMinimumSize(QtCore.QSize(130, 45))
        self.saveButton.setObjectName("saveButton")
        self.gridLayout_2.addWidget(self.saveButton, 10, 0, 1, 1)
        spacerItem23 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.gridLayout_2.addItem(spacerItem23, 11, 0, 1, 1)
        self.frame_6 = QtWidgets.QFrame(self.WCPage)
        self.frame_6.setMinimumSize(QtCore.QSize(0, 45))
        self.frame_6.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame_6.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame_6.setObjectName("frame_6")
        self.horizontalLayout_10 = QtWidgets.QHBoxLayout(self.frame_6)
        self.horizontalLayout_10.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_10.setObjectName("horizontalLayout_10")
        self.comboBox2 = QtWidgets.QComboBox(self.frame_6)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.comboBox2.sizePolicy().hasHeightForWidth())
        self.comboBox2.setSizePolicy(sizePolicy)
        self.comboBox2.setMinimumSize(QtCore.QSize(130, 45))
        self.comboBox2.setMaximumSize(QtCore.QSize(16777215, 50))
        font = QtGui.QFont()
        font.setFamily("微软雅黑")
        font.setPointSize(10)
        self.comboBox2.setFont(font)
        self.comboBox2.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.comboBox2.setStyleSheet("background-color: #455364;")
        self.comboBox2.setSizeAdjustPolicy(QtWidgets.QComboBox.AdjustToContents)
        self.comboBox2.setDuplicatesEnabled(False)
        self.comboBox2.setObjectName("comboBox2")
        self.comboBox2.addItem(icon1, "")
        self.comboBox2.addItem(icon2, "")
        self.comboBox2.addItem(icon3, "")
        self.horizontalLayout_10.addWidget(self.comboBox2)
        self.gridLayout_2.addWidget(self.frame_6, 5, 0, 1, 1)
        spacerItem24 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        self.gridLayout_2.addItem(spacerItem24, 7, 0, 1, 1)
        self.label_4 = QtWidgets.QLabel(self.WCPage)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_4.sizePolicy().hasHeightForWidth())
        self.label_4.setSizePolicy(sizePolicy)
        self.label_4.setMinimumSize(QtCore.QSize(0, 60))
        self.label_4.setMaximumSize(QtCore.QSize(16777215, 16000000))
        font = QtGui.QFont()
        font.setFamily("微软雅黑")
        font.setPointSize(18)
        font.setBold(True)
        font.setWeight(75)
        self.label_4.setFont(font)
        self.label_4.setAlignment(QtCore.Qt.AlignCenter)
        self.label_4.setObjectName("label_4")
        self.gridLayout_2.addWidget(self.label_4, 1, 1, 1, 2)
        spacerItem25 = QtWidgets.QSpacerItem(20, 70, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        self.gridLayout_2.addItem(spacerItem25, 4, 0, 1, 1)
        spacerItem26 = QtWidgets.QSpacerItem(130, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
        self.gridLayout_2.addItem(spacerItem26, 1, 0, 1, 1)
        self.img_label = QtWidgets.QLabel(self.WCPage)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.img_label.sizePolicy().hasHeightForWidth())
        self.img_label.setSizePolicy(sizePolicy)
        self.img_label.setMinimumSize(QtCore.QSize(750, 750))
        self.img_label.setBaseSize(QtCore.QSize(1, 1))
        font = QtGui.QFont()
        font.setFamily("微软雅黑")
        font.setPointSize(10)
        self.img_label.setFont(font)
        self.img_label.setStyleSheet("border: 1px solid #455364;border-radius: 9px;")
        self.img_label.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.img_label.setTextFormat(QtCore.Qt.PlainText)
        self.img_label.setScaledContents(True)
        self.img_label.setAlignment(QtCore.Qt.AlignCenter)
        self.img_label.setObjectName("img_label")
        self.gridLayout_2.addWidget(self.img_label, 4, 1, 8, 2)
        self.Rpage.addWidget(self.WCPage)
        self.horizontalLayout.addWidget(self.Rpage)
        MainWindow.setCentralWidget(self.centralwidget)

        self.retranslateUi(MainWindow)
        self.Rpage.setCurrentIndex(0)
        self.stackedWidget.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        _translate = QtCore.QCoreApplication.translate
        MainWindow.setWindowTitle(_translate("MainWindow", "TopTrending"))
        self.btn1.setText(_translate("MainWindow", "HomePage"))
        self.btn2.setText(_translate("MainWindow", "Trending"))
        self.btn3.setText(_translate("MainWindow", "WordCloud"))
        self.label_2.setText(_translate("MainWindow", "——What\'s happening in the world?"))
        self.textBrowser.setHtml(_translate("MainWindow", "<!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\" /><title>TopTrending</title><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'等距更纱黑体 SC\'; font-size:9pt; font-weight:400; font-style:normal;\">\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:20px; margin-bottom:12px; margin-left:90px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><a name=\"3e761856-319c-45a2-98dc-7a898039c6bb\"></a><span style=\" font-size:20pt; font-weight:600; font-style:italic; text-decoration: underline;\">I</span><span style=\" font-size:20pt; font-weight:600; font-style:italic; text-decoration: underline;\">ntroduction</span></p>\n"
"<p style=\" margin-top:12px; margin-bottom:12px; margin-left:150px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><a name=\"32caa4c3-b299-4531-af4c-3245d61ae3e1\"></a><span style=\" font-size:16pt;\">T</span><span style=\" font-size:16pt;\">opTrending是一个热搜汇聚工具。</span></p>\n"
"<ul style=\"margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 1;\"><li style=\" font-size:16pt;\" style=\" margin-top:12px; margin-bottom:12px; margin-left:170px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">获取热门网站实时热搜</li></ul>\n"
"<ul style=\"margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 1;\"><li style=\" font-size:16pt;\" style=\" margin-top:12px; margin-bottom:12px; margin-left:170px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">一键生成热搜关键词词云</li></ul>\n"
"<p style=\" margin-top:12px; margin-bottom:12px; margin-left:150px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><a name=\"565d1f92-ddd9-498c-9f1b-d79935513fb1\"></a><span style=\" font-size:16pt;\">信</span><span style=\" font-size:16pt;\">息收集，浅尝辄止。</span></p>\n"
"<p style=\" margin-top:30px; margin-bottom:20px; margin-left:90px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><a name=\"3e761856-319c-45a2-98dc-7a898039c6bb\"></a><span style=\" font-size:20pt; font-weight:600; font-style:italic; text-decoration: underline;\">S</span><span style=\" font-size:20pt; font-weight:600; font-style:italic; text-decoration: underline;\">ites</span></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:150px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:16pt;\">目前支持微博、知乎、百度站点。</span></p>\n"
"<p style=\" margin-top:30px; margin-bottom:20px; margin-left:90px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><a name=\"3e761856-319c-45a2-98dc-7a898039c6bb\"></a><span style=\" font-size:20pt; font-weight:600; font-style:italic; text-decoration: underline;\">M</span><span style=\" font-size:20pt; font-weight:600; font-style:italic; text-decoration: underline;\">oreAbout</span></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:150px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><img src=\":/img/img/github.svg\" /><a href=\"https://github.com/ZainLLL/TopTrending\"><span style=\" font-size:16pt; text-decoration: underline; color:#e0e1e3;\">TopTrending</span></a><span style=\" font-size:16pt;\"> 欢迎Fllow和Star</span></p></body></html>"))
        self.label_3.setText(_translate("MainWindow", "Top Trending"))
        self.comboBox.setItemText(0, _translate("MainWindow", " 微博热搜 "))
        self.comboBox.setItemText(1, _translate("MainWindow", " 知乎热榜 "))
        self.comboBox.setItemText(2, _translate("MainWindow", " 百度热搜 "))
        self.RefreshButton.setText(_translate("MainWindow", "刷新"))
        self.label_6.setText(_translate("MainWindow", "更新时间"))
        self.time_label.setText(_translate("MainWindow", "TextLabel"))
        self.geneButton.setText(_translate("MainWindow", "生成图片"))
        self.saveButton.setText(_translate("MainWindow", "保存图片"))
        self.comboBox2.setItemText(0, _translate("MainWindow", " 微博热搜 "))
        self.comboBox2.setItemText(1, _translate("MainWindow", " 知乎热榜 "))
        self.comboBox2.setItemText(2, _translate("MainWindow", " 百度热搜 "))
        self.label_4.setText(_translate("MainWindow", "词云生成"))
        self.img_label.setText(_translate("MainWindow", "点 击 生 成 热 搜 词 云"))
import img_rc

# -*- coding: utf-8 -*- # Form implementation generated from reading ui file '.\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. #455364;") #455364;border-radius: 4px;") #455364;border-radius: 4px;") #455364;") #455364;border-radius: 9px;") #e0e1e3;\">TopTrending</span></a><span style=\" font-size:16pt;\"> 欢迎Fllow和Star</span></p></body></html>"))