mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-05-17 11:22:28 +12:00
Adds application icon
This commit is contained in:
parent
0f219cd8b7
commit
c4e3fc7d04
BIN
icons/Manuskript/icon-128px.png
Normal file
BIN
icons/Manuskript/icon-128px.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.4 KiB |
BIN
icons/Manuskript/icon-16px.png
Normal file
BIN
icons/Manuskript/icon-16px.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 668 B |
BIN
icons/Manuskript/icon-256px.png
Normal file
BIN
icons/Manuskript/icon-256px.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
BIN
icons/Manuskript/icon-32px.png
Normal file
BIN
icons/Manuskript/icon-32px.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.2 KiB |
BIN
icons/Manuskript/icon-512px.png
Normal file
BIN
icons/Manuskript/icon-512px.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 32 KiB |
BIN
icons/Manuskript/icon-64px.png
Normal file
BIN
icons/Manuskript/icon-64px.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.5 KiB |
|
@ -19,6 +19,11 @@ def run():
|
|||
app.setApplicationName("manuskript")
|
||||
app.setApplicationVersion(_version)
|
||||
|
||||
icon = QIcon()
|
||||
for i in [16, 31, 64, 128, 256, 512]:
|
||||
icon.addFile(appPath("icons/Manuskript/icon-{}px.png".format(i)))
|
||||
qApp.setWindowIcon(icon)
|
||||
|
||||
app.setStyle("Fusion")
|
||||
|
||||
# Translation process
|
||||
|
|
Loading…
Reference in a new issue