提交图标
This commit is contained in:
parent
13fe7b0a49
commit
04867c9467
|
@ -5,10 +5,16 @@ 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.setStyle("Fusion")
|
||||
app.setWindowIcon(QIcon(str(ui_file_patch)))
|
||||
# 样式
|
||||
# print(QtWidgets.QStyleFactory.keys())
|
||||
# print(app.style().name())
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 85 KiB |
Loading…
Reference in New Issue