QT: Implement themed icons (#3554)
* implement themed icons * fix theme search paths
This commit is contained in:
parent
7abfdb164b
commit
05cf7fe70a
13 changed files with 58 additions and 16 deletions
BIN
dist/icons/citra.png
vendored
BIN
dist/icons/citra.png
vendored
Binary file not shown.
Before Width: | Height: | Size: 21 KiB |
7
dist/icons/icons.qrc
vendored
7
dist/icons/icons.qrc
vendored
|
@ -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
11
dist/qt_themes/default/default.qrc
vendored
Normal 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>
|
Before Width: | Height: | Size: 451 B After Width: | Height: | Size: 451 B |
Before Width: | Height: | Size: 428 B After Width: | Height: | Size: 428 B |
BIN
dist/qt_themes/default/icons/256x256/citra.png
vendored
Normal file
BIN
dist/qt_themes/default/icons/256x256/citra.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 26 KiB |
10
dist/qt_themes/default/icons/index.theme
vendored
Normal file
10
dist/qt_themes/default/icons/index.theme
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
[Icon Theme]
|
||||
Name=default
|
||||
Comment=default theme
|
||||
Directories=16x16,256x256
|
||||
|
||||
[16x16]
|
||||
Size=16
|
||||
|
||||
[256x256]
|
||||
Size=256
|
11
dist/qt_themes/qdarkstyle/icons/index.theme
vendored
Normal file
11
dist/qt_themes/qdarkstyle/icons/index.theme
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
[Icon Theme]
|
||||
Name=qdarkstyle
|
||||
Comment=dark theme
|
||||
Inherits=default
|
||||
Directories=16x16,256x256
|
||||
|
||||
[16x16]
|
||||
Size=16
|
||||
|
||||
[256x256]
|
||||
Size=256
|
3
dist/qt_themes/qdarkstyle/style.qrc
vendored
3
dist/qt_themes/qdarkstyle/style.qrc
vendored
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue