# Form implementation generated from reading ui file '.\linkage\home_page_ui.ui'
#
# Created by: PyQt6 UI code generator 6.6.1
#
# WARNING: Any manual changes made to this file will be lost when pyuic6 is
# run again.  Do not edit this file unless you know what you are doing.


from PyQt6 import QtCore, QtGui, QtWidgets


class Ui_HomePageWindow(object):
    def setupUi(self, HomePageWindow):
        HomePageWindow.setObjectName("HomePageWindow")
        HomePageWindow.resize(800, 600)
        self.centralwidget = QtWidgets.QWidget(parent=HomePageWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.frame_page_home = QtWidgets.QFrame(parent=self.centralwidget)
        self.frame_page_home.setGeometry(QtCore.QRect(0, 0, 801, 571))
        self.frame_page_home.setFrameShape(QtWidgets.QFrame.Shape.StyledPanel)
        self.frame_page_home.setFrameShadow(QtWidgets.QFrame.Shadow.Raised)
        self.frame_page_home.setObjectName("frame_page_home")
        HomePageWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtWidgets.QMenuBar(parent=HomePageWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 800, 25))
        self.menubar.setObjectName("menubar")
        self.document = QtWidgets.QMenu(parent=self.menubar)
        self.document.setObjectName("document")
        self.web_html = QtWidgets.QMenu(parent=self.menubar)
        self.web_html.setObjectName("web_html")
        HomePageWindow.setMenuBar(self.menubar)
        self.statusBar = QtWidgets.QStatusBar(parent=HomePageWindow)
        self.statusBar.setObjectName("statusBar")
        HomePageWindow.setStatusBar(self.statusBar)
        self.doc_manager = QtGui.QAction(parent=HomePageWindow)
        self.doc_manager.setObjectName("doc_manager")
        self.doc_qa = QtGui.QAction(parent=HomePageWindow)
        self.doc_qa.setObjectName("doc_qa")
        self.web_manager = QtGui.QAction(parent=HomePageWindow)
        self.web_manager.setObjectName("web_manager")
        self.web_qa = QtGui.QAction(parent=HomePageWindow)
        self.web_qa.setObjectName("web_qa")
        self.document.addSeparator()
        self.document.addAction(self.doc_manager)
        self.document.addSeparator()
        self.document.addAction(self.doc_qa)
        self.web_html.addSeparator()
        self.web_html.addAction(self.web_manager)
        self.web_html.addSeparator()
        self.web_html.addAction(self.web_qa)
        self.menubar.addAction(self.document.menuAction())
        self.menubar.addAction(self.web_html.menuAction())

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

    def retranslateUi(self, HomePageWindow):
        _translate = QtCore.QCoreApplication.translate
        HomePageWindow.setWindowTitle(_translate("HomePageWindow", "MainWindow"))
        self.document.setTitle(_translate("HomePageWindow", "文档"))
        self.web_html.setTitle(_translate("HomePageWindow", "网页"))
        self.doc_manager.setText(_translate("HomePageWindow", "文档管理"))
        self.doc_qa.setText(_translate("HomePageWindow", "文档问答"))
        self.web_manager.setText(_translate("HomePageWindow", "网页管理"))
        self.web_qa.setText(_translate("HomePageWindow", "网页问答"))

这是一个主界面UI， 其中点击菜单栏（如点击文档管理）self.frame_page_home 怎么嵌入文档管理界面，这样做是否合理