QT: Implement themed icons (#3554)

* implement themed icons

* fix theme search paths
This commit is contained in:
BreadFish64 2018-03-27 06:11:04 -05:00 committed by Merry
parent 7abfdb164b
commit 05cf7fe70a
13 changed files with 58 additions and 16 deletions

BIN
dist/icons/citra.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

View file

@ -1,7 +0,0 @@
<RCC>
<qresource prefix="icons">
<file>checked.png</file>
<file>failed.png</file>
<file>citra.png</file>
</qresource>
</RCC>

11
dist/qt_themes/default/default.qrc vendored Normal file
View file

@ -0,0 +1,11 @@
<RCC>
<qresource prefix="icons/default">
<file alias="index.theme">icons/index.theme</file>
<file alias="16x16/checked.png">icons/16x16/checked.png</file>
<file alias="16x16/failed.png">icons/16x16/failed.png</file>
<file alias="256x256/citra.png">icons/256x256/citra.png</file>
</qresource>
</RCC>

View file

Before

Width:  |  Height:  |  Size: 451 B

After

Width:  |  Height:  |  Size: 451 B

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 428 B

After

Width:  |  Height:  |  Size: 428 B

Before After
Before After

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

View file

@ -0,0 +1,10 @@
[Icon Theme]
Name=default
Comment=default theme
Directories=16x16,256x256
[16x16]
Size=16
[256x256]
Size=256

View file

@ -0,0 +1,11 @@
[Icon Theme]
Name=qdarkstyle
Comment=dark theme
Inherits=default
Directories=16x16,256x256
[16x16]
Size=16
[256x256]
Size=256

View file

@ -1,4 +1,7 @@
<RCC>
<qresource prefix="icons/qdarkstyle">
<file alias="index.theme">icons/index.theme</file>
</qresource>
<qresource prefix="qss_icons">
<file>rc/up_arrow_disabled.png</file>
<file>rc/Hmovetoolbar.png</file>