Skip to content

Commit 60701a6

Browse files
dmcppcheckclaude
andcommitted
Fix #15162 (GUI: update icons)
Add @2x and @3x icons rendered from the SVG sources of Tango 0.8.90 (the latest Tango release) so the icons are sharp on high-DPI screens. The 22x22 icons are unchanged. Qt picks the @nx files automatically. Icons that were renamed copies of Tango icons now use the Tango files: - showerrors.png -> dialog-error.png - showwarnings.png -> dialog-warning.png - showperformance.png -> utilities-system-monitor.png - openproject.png -> folder.png (22x22 instead of a scaled 32x32) - showstylewarnings.png was unused and is removed Hand-made icons are replaced: - "Reanalyze modified files": Refresh file.svg from the Tango project on Wikimedia Commons (public domain) - "Show Scratchpad": Tango accessories-text-editor Update the Tango link in AUTHORS, tango.freedesktop.org is gone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent e52d652 commit 60701a6

53 files changed

Lines changed: 51 additions & 14 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎AUTHORS‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,4 +466,5 @@ Zhu Lei
466466
Дмитрий Старцев
467467

468468
GUI graphics courtesy of Tango Desktop Project:
469-
http://tango.freedesktop.org
469+
https://gitlab.freedesktop.org/tango/tango-icon-theme
470+
https://commons.wikimedia.org/wiki/File:Refresh_file.svg

‎gui/gui.qrc‎

Lines changed: 43 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,67 @@
22
<qresource prefix="/">
33
<file>cppcheck-gui.png</file>
44
<file>images/dialog-error.png</file>
5+
<file>images/dialog-error@2x.png</file>
6+
<file>images/dialog-error@3x.png</file>
57
<file>images/dialog-information.png</file>
8+
<file>images/dialog-information@2x.png</file>
9+
<file>images/dialog-information@3x.png</file>
610
<file>images/dialog-warning.png</file>
11+
<file>images/dialog-warning@2x.png</file>
12+
<file>images/dialog-warning@3x.png</file>
713
<file>images/edit-clear.png</file>
14+
<file>images/edit-clear@2x.png</file>
15+
<file>images/edit-clear@3x.png</file>
816
<file>images/go-down.png</file>
17+
<file>images/go-down@2x.png</file>
18+
<file>images/go-down@3x.png</file>
919
<file>images/help-browser.png</file>
20+
<file>images/help-browser@2x.png</file>
21+
<file>images/help-browser@3x.png</file>
1022
<file>images/media-floppy.png</file>
23+
<file>images/media-floppy@2x.png</file>
24+
<file>images/media-floppy@3x.png</file>
1125
<file>images/preferences-system.png</file>
26+
<file>images/preferences-system@2x.png</file>
27+
<file>images/preferences-system@3x.png</file>
1228
<file>images/process-stop.png</file>
29+
<file>images/process-stop@2x.png</file>
30+
<file>images/process-stop@3x.png</file>
1331
<file>images/text-x-generic.png</file>
32+
<file>images/text-x-generic@2x.png</file>
33+
<file>images/text-x-generic@3x.png</file>
1434
<file>images/view-recheck.png</file>
15-
<file>images/view-refresh.png</file>
16-
<file>images/showerrors.png</file>
17-
<file>images/showstylewarnings.png</file>
18-
<file>images/openproject.png</file>
19-
<file>images/scratchpad.png</file>
20-
<file>images/showwarnings.png</file>
21-
<file>images/showperformance.png</file>
35+
<file>images/view-recheck@2x.png</file>
36+
<file>images/view-recheck@3x.png</file>
37+
<file>images/refresh-file.png</file>
38+
<file>images/refresh-file@2x.png</file>
39+
<file>images/refresh-file@3x.png</file>
40+
<file>images/folder.png</file>
41+
<file>images/folder@2x.png</file>
42+
<file>images/folder@3x.png</file>
43+
<file>images/accessories-text-editor.png</file>
44+
<file>images/accessories-text-editor@2x.png</file>
45+
<file>images/accessories-text-editor@3x.png</file>
2246
<file>images/utilities-system-monitor.png</file>
47+
<file>images/utilities-system-monitor@2x.png</file>
48+
<file>images/utilities-system-monitor@3x.png</file>
2349
<file alias="COPYING">../COPYING</file>
2450
<file alias="AUTHORS">../AUTHORS</file>
2551
<file>images/go-home.png</file>
52+
<file>images/go-home@2x.png</file>
53+
<file>images/go-home@3x.png</file>
2654
<file>images/go-next.png</file>
55+
<file>images/go-next@2x.png</file>
56+
<file>images/go-next@3x.png</file>
2757
<file>images/go-previous.png</file>
58+
<file>images/go-previous@2x.png</file>
59+
<file>images/go-previous@3x.png</file>
2860
<file>images/applications-development.png</file>
61+
<file>images/applications-development@2x.png</file>
62+
<file>images/applications-development@3x.png</file>
2963
<file>images/applications-system.png</file>
64+
<file>images/applications-system@2x.png</file>
65+
<file>images/applications-system@3x.png</file>
3066
<file>images/llvm-dragon.png</file>
3167
<file>images/verify.svg</file>
3268
</qresource>
995 Bytes
2.76 KB
4.3 KB
3.46 KB
6.04 KB
3.89 KB
6.66 KB

‎gui/images/dialog-error@2x.png‎

2.49 KB

0 commit comments

Comments
 (0)