dataCreatingGUI/bin/DataCreating_Click.py

25 lines
573 B
Python

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