qt5base-lts/examples
Gabriel de Dietrich 8ebe8ae35e HiDPI Drag and Drop: Properly render the default image on Mac
This is only when the attached MIME data contains text, and we
fall back to rendering that text into a pixmap. It requires
getting the device pixel ratio from the source which, for now,
may be a QWidget or a QWindow. Other cases may exist, but that
would bring more dependencies than desired.

Similarly, it fixes the draggabletext example. Other examples
would require either to get updated pixmaps or change substantially
in order to support HiDPI (e.g., the fridgemagnets example).

Change-Id: I66198214233e3e06c87505744e2aaa9691fe1bb6
Reviewed-by: Filipe Azevedo <filipe.azevedo@kdab.com>
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@theqtcompany.com>
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
2016-08-09 18:22:03 +00:00
..
aggregate install a sane top-level examples.pro file 2012-12-11 13:37:57 +01:00
corelib fix example installs 2016-05-03 10:25:33 +00:00
dbus Polish the complexpingpong example 2015-10-19 10:29:50 +00:00
embedded Examples/Doc snippets: Fix single-character string literals. 2015-10-13 16:37:07 +00:00
gui Fix rasterwindow example 2016-08-04 19:55:14 +00:00
network Examples: Fix stringification of the Qt version 2016-07-02 16:38:39 +00:00
opengl OpenGL legacy example: Fix compilation in namespaced builds. 2016-05-27 20:28:30 +00:00
qmake Updated BSD licensed file headers 2015-02-15 07:41:17 +00:00
qpa Updated BSD licensed file headers 2015-02-15 07:41:17 +00:00
qtconcurrent Examples/Doc snippets: Fix single-character string literals. 2015-10-13 16:37:07 +00:00
qtestlib delete unreferenced file 2016-05-03 10:25:30 +00:00
sql examples: remove use of obsolete QStyleOption*V<N> typedefs 2015-11-02 18:43:26 +00:00
touch fingerpaint example: Use the maximum diameter for the touch spot by default 2015-05-23 11:28:00 +00:00
widgets HiDPI Drag and Drop: Properly render the default image on Mac 2016-08-09 18:22:03 +00:00
xml QtXml/htmlnfo example: Remove Nokia-related HTML demo file. 2016-04-06 18:25:29 +00:00
examples.pro Move Qt Core examples under a common subdirectory 2014-10-17 14:57:13 +02:00
README Remove more references to demos. 2011-07-08 15:36:26 +02:00

Qt is supplied with a number of example applications that have been
written to provide developers with examples of the Qt API in use,
highlight good programming practice, and showcase features found in each of
Qt's core technologies.


Documentation for examples can be found in the Examples section
of the Qt documentation.