Skip to content
Snippets Groups Projects
Commit 3779147f authored by Morten Johan Sørvig's avatar Morten Johan Sørvig
Browse files

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: default avatarJens Bache-Wiig <jens.bache-wiig@digia.com>
parent 87284f7d
No related branches found
No related tags found
Loading
Showing with 45 additions and 8 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment