qt5base-lts/src
Jan Arve Saether 68293395ed Add support for snapping to pixel grid
This enables us to do more intelligent distribution than simply doing the
rounding on each individual items geometry (which often leads to larger
spacings than specified).

Instead of doing the rounding on the output geometries, we now do the
snapping inside the layout engine. This allows us to do more intelligent
distribution of items, and spacings should always be respected.

There are some cases where items with fractional size hints might overlap
with less than a pixel.  This was also the case before this patch. Those
cases are impossible to fix properly, since fractional size hints
conflicts with the snapping in some cases.

(Fractional size hints is normal for Text items.)

Task-number: QTBUG-41216
Change-Id: I01a8bc3529f0b8b028d6eb0a530c751b67ac6f4e
Reviewed-by: Paul Olav Tvete <paul.tvete@theqtcompany.com>
2015-02-09 12:06:34 +00:00
..
3rdparty Do not compile in dlldata.c or ia2_api_all_c.c 2015-02-04 14:59:03 +00:00
android Added new private API for Android and onNewIntent 2015-01-21 12:13:25 +01:00
angle make the installed meta files play nicely with sysroots 2015-02-05 14:26:44 +00:00
concurrent Add Q_DECL_OVERRIDE in the src subdirectory 2014-12-03 09:57:11 +01:00
corelib QtCore: Use QDebugStateSaver in (almost) all QDebug operator<< 2015-02-09 11:30:02 +00:00
dbus Merge remote-tracking branch 'origin/5.4' into dev 2015-01-21 11:10:14 +01:00
gui Add support for snapping to pixel grid 2015-02-09 12:06:34 +00:00
network Remove unnecessary direct access to SSL_CIPHER struct. 2015-02-08 20:47:52 +00:00
opengl Merge remote-tracking branch 'origin/5.4' into dev 2014-12-29 16:37:38 +01:00
openglextensions purge vestiges of opengl es 1 support 2014-04-04 19:32:21 +02:00
platformheaders Add a platform function to enable setting the touch flags on Windows 2015-01-05 07:49:15 +01:00
platformsupport D-Bus tray icons: save temp file with size 22px 2015-02-08 21:14:28 +00:00
plugins Handle gracefully the removal and re-attachment of all QScreens 2015-02-07 16:19:59 +00:00
printsupport Remove unnecessary math.h and limits.h includes 2015-02-04 15:31:41 +00:00
sql Use prefix instead of postfix for iterators 2015-02-08 12:25:12 +00:00
testlib Merge remote-tracking branch 'origin/5.4' into dev 2015-01-21 11:10:14 +01:00
tools Remove traces of the Maemo platform 2015-02-04 17:14:35 +00:00
widgets QtWidgets: use Q_ENUM instead of Q_ENUMS 2015-02-08 12:19:07 +00:00
winmain Merge remote-tracking branch 'origin/5.3' into 5.4 2014-08-12 13:05:02 +02:00
xml Add Q_DECL_OVERRIDE in the src subdirectory 2014-12-03 09:57:11 +01:00
src.pro Remove unnecessary dependency 2015-01-02 13:19:08 +01:00