forked from qt-creator/qt-creator
Add 2x icons for retina displays.
This change updates the mode selector/fancyactionbar in Qt Creator with new high-resolution icons. Set Qt::AA_UseHighDpiImages on Qt 5.1 and higher to make QIcon generate high-dpi pixmaps. Add "@2x" mode images. Update StyleHelper::drawIconWithShadow to handle high-dpi pixmaps. The shadow-drawing algorithm is kept in device pixels. Change-Id: I411b7a24e534a2d75a1bbdc4d10219dcbea26bed Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
<RCC>
|
||||
<qresource prefix="/">
|
||||
<file>images/analyzer_mode.png</file>
|
||||
<file>images/analyzer_mode@2x.png</file>
|
||||
<file>images/analyzer_category.png</file>
|
||||
<file>images/analyzer_start_small.png</file>
|
||||
</qresource>
|
||||
|
||||
BIN
src/plugins/analyzerbase/images/analyzer_mode@2x.png
Normal file
BIN
src/plugins/analyzerbase/images/analyzer_mode@2x.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.1 KiB |
Reference in New Issue
Block a user