qt5base-lts/tests/manual/cocoa/qsystemtrayicon
Christoph Schleifenbaum f3699510d4 Cocoa: Fix icon size calculation for system tray.
The Overall goal is to make it possible to use correctly-
sized pixmaps in a predictable way, while still doing
something reasonable with small and large pixmaps.
(The recommended pixmap height is up to 18 points.)

Enable use of rectangular icons by selecting pixmaps
based on pixmap height.

Draw a low-resolution pixmap on retina displays if
there is no high-resolution pixmap available. Scale
large pixmaps to fit the available menu bar area.

Add a manual-test with various pixmap sizes

Task-number: QTBUG-33441
Change-Id: I1926181fe27cae526bae58022df3240bae9f8ac8
Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>
2014-10-22 23:32:17 +02:00
..
icons.qrc Cocoa: Fix icon size calculation for system tray. 2014-10-22 23:32:17 +02:00
macsystray16x16.png Cocoa: Fix icon size calculation for system tray. 2014-10-22 23:32:17 +02:00
macsystray18x18.png Cocoa: Fix icon size calculation for system tray. 2014-10-22 23:32:17 +02:00
macsystray25x15.png Cocoa: Fix icon size calculation for system tray. 2014-10-22 23:32:17 +02:00
macsystray32x32.png Cocoa: Fix icon size calculation for system tray. 2014-10-22 23:32:17 +02:00
macsystray36x36.png Cocoa: Fix icon size calculation for system tray. 2014-10-22 23:32:17 +02:00
macsystray50x30.png Cocoa: Fix icon size calculation for system tray. 2014-10-22 23:32:17 +02:00
macsystray64x64.png Cocoa: Fix icon size calculation for system tray. 2014-10-22 23:32:17 +02:00
main.cpp Cocoa: Fix icon size calculation for system tray. 2014-10-22 23:32:17 +02:00
qsystemtrayicon.pro Cocoa: Fix icon size calculation for system tray. 2014-10-22 23:32:17 +02:00