修改关于窗口背景
This commit is contained in:
parent
4c940403bd
commit
53b16c9d35
Binary file not shown.
After Width: | Height: | Size: 9.9 KiB |
|
@ -1834,6 +1834,9 @@ def showhelp():
|
||||||
helpWindow.setFixedSize(int(helpWindow.frameSize().width() * 0.9), int(helpWindow.frameSize().height() * 1.5))
|
helpWindow.setFixedSize(int(helpWindow.frameSize().width() * 0.9), int(helpWindow.frameSize().height() * 1.5))
|
||||||
helpWindow.setWindowTitle("帮助")
|
helpWindow.setWindowTitle("帮助")
|
||||||
helpWindow.setWindowIcon(QtGui.QIcon(iconPath))
|
helpWindow.setWindowIcon(QtGui.QIcon(iconPath))
|
||||||
|
# 设置背景
|
||||||
|
helpWindow.setObjectName("helpWindow")
|
||||||
|
helpWindow.setStyleSheet(f"QWidget#helpWindow {{background: url({programPath}/Icon/Program/about-background.png) no-repeat;background-position: left bottom;}}")
|
||||||
helpWindow.show()
|
helpWindow.show()
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue