update
This commit is contained in:
27
aiyunos.pyw
Normal file
27
aiyunos.pyw
Normal file
@@ -0,0 +1,27 @@
|
||||
from PyQt5.QtCore import QUrl
|
||||
from PyQt5.QtWidgets import QApplication, QMainWindow, QToolBar, QAction
|
||||
from PyQt5.QtWebEngineWidgets import QWebEngineView
|
||||
|
||||
class BrowserWindow(QMainWindow):
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
self.setWindowTitle("Chat Browser")
|
||||
self.setGeometry(100, 100, 800, 600)
|
||||
|
||||
# Create the QWebEngineView widget
|
||||
self.web_view = QWebEngineView(self)
|
||||
self.web_view.load(QUrl("https://chat2.aiyunos.top"))
|
||||
self.setCentralWidget(self.web_view)
|
||||
|
||||
# Create the QToolBar widget and add a QAction for the refresh button
|
||||
toolbar = QToolBar(self)
|
||||
self.addToolBar(toolbar)
|
||||
refresh_action = QAction("Refresh", self)
|
||||
refresh_action.triggered.connect(self.web_view.reload)
|
||||
toolbar.addAction(refresh_action)
|
||||
|
||||
if __name__ == "__main__":
|
||||
app = QApplication([])
|
||||
window = BrowserWindow()
|
||||
window.show()
|
||||
app.exec_()
|
||||
@@ -5,12 +5,12 @@ from PyQt5.QtWebEngineWidgets import QWebEngineView
|
||||
class BrowserWindow(QMainWindow):
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
self.setWindowTitle("Chat Browser")
|
||||
self.setWindowTitle("AI Browser")
|
||||
self.setGeometry(100, 100, 800, 600)
|
||||
|
||||
# Create the QWebEngineView widget and set the URL to "https://chat.extkj.cn"
|
||||
# Create the QWebEngineView widget and set the URL to "https://nav.chatkey.top/"
|
||||
self.web_view = QWebEngineView(self)
|
||||
self.web_view.load(QUrl("https://chat.extkj.cn"))
|
||||
self.web_view.load(QUrl("https://nav.chatkey.top/"))
|
||||
self.setCentralWidget(self.web_view)
|
||||
|
||||
# Create the QToolBar widget and add a QAction for the refresh button
|
||||
@@ -10,7 +10,7 @@ class BrowserWindow(QMainWindow):
|
||||
|
||||
# Create the QWebEngineView widget
|
||||
self.web_view = QWebEngineView(self)
|
||||
self.web_view.load(QUrl("https://chatgpt.qdymys.cn/"))
|
||||
self.web_view.load(QUrl("https://chatc.free2gpt.xyz/"))
|
||||
self.setCentralWidget(self.web_view)
|
||||
|
||||
# Create the QToolBar widget and add a QAction for the refresh button
|
||||
@@ -45,6 +45,7 @@ text = '''
|
||||
1.2 增加lbbai网站;修复BUG;完全移除“关于”模块......
|
||||
1.3 删除lbbai网站;增加1chat网站,里面内涵AI画图功能!;加入WiFi功能
|
||||
检测;加入在线更新功能
|
||||
1.4 加入aiyunos网站;
|
||||
'''
|
||||
|
||||
text_box = ScrolledText(root)
|
||||
|
||||
@@ -36,11 +36,11 @@ def open_exe(exe_name):
|
||||
else:
|
||||
messagebox.showerror('system', file_error)
|
||||
def extkj():
|
||||
open_exe("extkj")
|
||||
open_exe("aiyunos")
|
||||
def wuguokai():
|
||||
open_exe("wuguokai")
|
||||
def qdymys():
|
||||
open_exe("qdymys")
|
||||
open_exe("free2gpt")
|
||||
def bnu120():
|
||||
open_exe('bnu120')
|
||||
def xjai():
|
||||
|
||||
Reference in New Issue
Block a user