forked from wwzhifeng/VisoMaster-ZH
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.py
More file actions
42 lines (36 loc) · 1.03 KB
/
main.py
File metadata and controls
42 lines (36 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
print()
print()
import pyfiglet
# 生成大字 "VisoMaster-ZH"
big_text = pyfiglet.figlet_format("VisoMaster-ZH", font="slant")
print("========================================================================")
# 打印大字
print(big_text)
print("========================================================================")
print()
print()
# 打印其他信息
print("---中文版🍒---")
print()
print()
print("油管---王知风---")
print()
print("B站---AI王知风---")
print()
print("---AI工具QQ1群:957732664---")
print()
from app.ui import main_ui
from PySide6 import QtWidgets
import sys
import qdarktheme
from app.ui.core.proxy_style import ProxyStyle
if __name__=="__main__":
app = QtWidgets.QApplication(sys.argv)
app.setStyle(ProxyStyle())
with open("app/ui/styles/dark_styles.qss", "r") as f:
_style = f.read()
_style = qdarktheme.load_stylesheet(custom_colors={"primary": "#4facc9"})+'\n'+_style
app.setStyleSheet(_style)
window = main_ui.MainWindow()
window.show()
app.exec()