feat(MainWindow): 修改应用Icon

This commit is contained in:
duanshengchao 2025-07-02 11:53:52 +08:00
parent 121119ab6b
commit 25df5b0e54
3 changed files with 6 additions and 1 deletions

View File

@ -1,5 +1,6 @@
<RCC> <RCC>
<qresource prefix="/"> <qresource prefix="/">
<file>images/appIcon.png</file>
<file>images/icon_error.png</file> <file>images/icon_error.png</file>
<file>images/icon_arrow_down.png</file> <file>images/icon_arrow_down.png</file>
<file>images/icon_arrow_right.png</file> <file>images/icon_arrow_right.png</file>

BIN
resource/images/appIcon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@ -11,7 +11,11 @@
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
<string>MainWindow</string> <string>PowerMaster</string>
</property>
<property name="windowIcon">
<iconset resource="../resource/PowerMaster.qrc">
<normaloff>:/images/appIcon.png</normaloff>:/images/appIcon.png</iconset>
</property> </property>
<widget class="QWidget" name="centralwidget"> <widget class="QWidget" name="centralwidget">
<layout class="QHBoxLayout" name="centralLayout"> <layout class="QHBoxLayout" name="centralLayout">