Added icon. Fix #2

This commit is contained in:
Amazed 2021-12-23 17:33:44 +01:00
parent 6fe13463fa
commit 4e258543c2
4 changed files with 8 additions and 1 deletions

BIN
icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

View File

@ -37,4 +37,4 @@ exe = EXE(pyz,
disable_windowed_traceback=False, disable_windowed_traceback=False,
target_arch=None, target_arch=None,
codesign_identity=None, codesign_identity=None,
entitlements_file=None ) entitlements_file=None , icon='icon.png')

View File

@ -24,6 +24,9 @@ class Ui_MainWindow(object):
if not MainWindow.objectName(): if not MainWindow.objectName():
MainWindow.setObjectName(u"MainWindow") MainWindow.setObjectName(u"MainWindow")
MainWindow.resize(449, 230) MainWindow.resize(449, 230)
icon = QIcon()
icon.addFile(u"icon.png", QSize(), QIcon.Normal, QIcon.Off)
MainWindow.setWindowIcon(icon)
self.centralwidget = QWidget(MainWindow) self.centralwidget = QWidget(MainWindow)
self.centralwidget.setObjectName(u"centralwidget") self.centralwidget.setObjectName(u"centralwidget")
self.centralwidget.setEnabled(True) self.centralwidget.setEnabled(True)

View File

@ -13,6 +13,10 @@
<property name="windowTitle"> <property name="windowTitle">
<string>GMD - Giants Maps Downloader</string> <string>GMD - Giants Maps Downloader</string>
</property> </property>
<property name="windowIcon">
<iconset>
<normaloff>icon.png</normaloff>icon.png</iconset>
</property>
<widget class="QWidget" name="centralwidget"> <widget class="QWidget" name="centralwidget">
<property name="enabled"> <property name="enabled">
<bool>true</bool> <bool>true</bool>