def __init__(self):
    super(Random_name, self).__init__()
    self.setWindowTitle('随机提问')
    self.setWindowIcon(QIcon('./evol/logo.ico'))
    self.setWindowFlags((Qt.Qt.WindowStaysOnTopHint | Qt.Qt.WindowCloseButtonHint))
    self.resize(500, 471)
    self.browser = QWebEngineView()
    self.browser.load(QUrl(QFileInfo('./evol/evol.html').absoluteFilePath()))
    self.setCentralWidget(self.browser)
def __init__(self):
    super(Random_name, self).__init__()
    self.setWindowTitle('随机提问')
    self.setWindowIcon(QIcon('./evol/logo.ico'))
    self.setWindowFlags((Qt.Qt.WindowStaysOnTopHint | Qt.Qt.WindowCloseButtonHint))
    self.resize(500, 471)
    self.browser = QWebEngineView()
    self.browser.load(QUrl(QFileInfo('./evol/evol.html').absoluteFilePath()))
    self.setCentralWidget(self.browser)