dataCreatingGUI/bin/DataCreating_Click.py

25 lines
573 B
Python
Raw Normal View History

2024-02-11 11:38:52 +00:00
# -*- coding:utf-8 -*-
import _load
import sys
from GUIWindows import Window
from PySide6.QtWidgets import QApplication
from PySide6 import QtWidgets
2024-02-14 09:12:33 +00:00
from PySide6.QtGui import QIcon
from pathlib import Path
path = Path(__file__)
ui_file_patch = path.parent.parent / "images" / "bjx.png"
2024-02-11 11:38:52 +00:00
if __name__ == '__main__':
app = QApplication([])
2024-02-14 09:12:33 +00:00
app.setStyle("Fusion")
app.setWindowIcon(QIcon(str(ui_file_patch)))
# 样式
# print(QtWidgets.QStyleFactory.keys())
# print(app.style().name())
2024-02-11 11:38:52 +00:00
win = Window()
win.ui.show()
2024-02-11 11:38:52 +00:00
sys.exit(app.exec())