chatGPT
This commit is contained in:
@@ -8,9 +8,9 @@ class BrowserWindow(QMainWindow):
|
|||||||
self.setWindowTitle("AI Browser")
|
self.setWindowTitle("AI Browser")
|
||||||
self.setGeometry(100, 100, 800, 600)
|
self.setGeometry(100, 100, 800, 600)
|
||||||
|
|
||||||
# Create the QWebEngineView widget and set the URL to "https://chat.aiyunos.top"
|
# Create the QWebEngineView widget
|
||||||
self.web_view = QWebEngineView(self)
|
self.web_view = QWebEngineView(self)
|
||||||
self.web_view.load(QUrl("https://chat.aiyunos.top"))
|
self.web_view.load(QUrl("https://chat2.aitianhu.top"))
|
||||||
self.setCentralWidget(self.web_view)
|
self.setCentralWidget(self.web_view)
|
||||||
|
|
||||||
# Create the QToolBar widget and add a QAction for the refresh button
|
# Create the QToolBar widget and add a QAction for the refresh button
|
||||||
@@ -22,10 +22,7 @@ def wuguokai():
|
|||||||
open_exe("wuguokai")
|
open_exe("wuguokai")
|
||||||
|
|
||||||
def f1():
|
def f1():
|
||||||
open_exe("f1")
|
open_exe("aiyunos")
|
||||||
|
|
||||||
def lbb():
|
|
||||||
open_exe("lbb")
|
|
||||||
|
|
||||||
def update():
|
def update():
|
||||||
if os.path.exists(os.path.join(CURRENT_DIR, "update.exe")):
|
if os.path.exists(os.path.join(CURRENT_DIR, "update.exe")):
|
||||||
@@ -52,7 +49,7 @@ tk.Label(root, text='chatGPT').pack()
|
|||||||
|
|
||||||
bt_w = tk.Button(root, text='wuguokai网站', command=wuguokai)
|
bt_w = tk.Button(root, text='wuguokai网站', command=wuguokai)
|
||||||
bt_e = tk.Button(root, text='extkj网站', command=extkj)
|
bt_e = tk.Button(root, text='extkj网站', command=extkj)
|
||||||
bt_f1 = tk.Button(root, text='f1网站', command=f1)
|
bt_f1 = tk.Button(root, text='aitianhu网站', command=f1)
|
||||||
bt_xy = tk.Button(root, text='使用协议(使用前必看)', command=user_xy)
|
bt_xy = tk.Button(root, text='使用协议(使用前必看)', command=user_xy)
|
||||||
bt_update = tk.Button(root, text='更新日志', command=update)
|
bt_update = tk.Button(root, text='更新日志', command=update)
|
||||||
quit_bt = tk.Button(root, text='退出', command=quit_exe)
|
quit_bt = tk.Button(root, text='退出', command=quit_exe)
|
||||||
@@ -60,7 +57,7 @@ quit_bt = tk.Button(root, text='退出', command=quit_exe)
|
|||||||
bt_w.pack()
|
bt_w.pack()
|
||||||
bt_e.pack()
|
bt_e.pack()
|
||||||
bt_f1.pack()
|
bt_f1.pack()
|
||||||
bt_xy.pack()
|
# bt_xy.pack()
|
||||||
bt_update.pack()
|
bt_update.pack()
|
||||||
quit_bt.pack()
|
quit_bt.pack()
|
||||||
|
|
||||||
|
|||||||
16
lbb.pyw
16
lbb.pyw
@@ -1,16 +0,0 @@
|
|||||||
import tkinter as tk
|
|
||||||
from tkinter import messagebox
|
|
||||||
|
|
||||||
def quit_exe():
|
|
||||||
root.destroy()
|
|
||||||
|
|
||||||
root = tk.Tk()
|
|
||||||
root.title('Error 422')
|
|
||||||
root.geometry('100x100')
|
|
||||||
|
|
||||||
messagebox.showerror('System', '别看了,已经废弃了')
|
|
||||||
|
|
||||||
btn_quit = tk.Button(root, text='退出', command=quit_exe)
|
|
||||||
btn_quit.pack()
|
|
||||||
|
|
||||||
root.mainloop()
|
|
||||||
@@ -15,9 +15,9 @@ Label(root, text='''0.1.0 DEMO制作完成
|
|||||||
0.1.1 demo版本增加lbbAI网站
|
0.1.1 demo版本增加lbbAI网站
|
||||||
0.1.2 demo版本删除lbbAI网站,因为无法使用
|
0.1.2 demo版本删除lbbAI网站,因为无法使用
|
||||||
0.1.3 修复BUG
|
0.1.3 修复BUG
|
||||||
1.0 正式版,加入关于模块,更新网站''').pack()
|
1.0 正式版,加入关于模块,更新网站aitianhu.top''').pack()
|
||||||
|
|
||||||
Label(root, text='当前版本:0.1.3 beta_demo').pack()
|
Label(root, text='当前版本:1.0 official version').pack()
|
||||||
|
|
||||||
# Button
|
# Button
|
||||||
quit_bt = Button(root, text='返回', command=quit_exe).pack()
|
quit_bt = Button(root, text='返回', command=quit_exe).pack()
|
||||||
|
|||||||
Reference in New Issue
Block a user