qt5base-lts/tests/auto/widgets/kernel
Allan Sandfeld Jensen 5f198584e2 Define inverted QRects consistently
Changes the definition of invalid QRects to be more consistent.
This simplifies the logic, and makes it possible for us to fix
normalized() so dimensions don't change.

The actual API is not changed except for inverted rects.

Only one use-case for the old normalized() function existed,
and has been reimplemented as QRect::span().

Fixes: QTBUG-22934
Change-Id: I29dad2952dc6c8e84a6d931898dc7e43d66780f3
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2020-09-21 15:04:51 +02:00
..
qaction CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
qactiongroup CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
qapplication Rename QLibraryInfo::location() to path() 2020-09-12 23:35:56 +02:00
qboxlayout Remove most compiler warnings about missing overrides 2020-09-11 00:20:47 +02:00
qformlayout Remove most compiler warnings about missing overrides 2020-09-11 00:20:47 +02:00
qgesturerecognizer Refactor testlib touch functions into qtestsupport_gui and _widgets 2020-09-08 08:02:15 +02:00
qgridlayout Remove most compiler warnings about missing overrides 2020-09-11 00:20:47 +02:00
qlayout Remove most compiler warnings about missing overrides 2020-09-11 00:20:47 +02:00
qshortcut tst_qshortcut (x2): use op | instead of op + to combine keys 2020-09-07 15:50:02 +02:00
qsizepolicy Replace Qt CONSTEXPR defines with constexpr 2020-08-14 15:52:58 +02:00
qstackedlayout Remove most compiler warnings about missing overrides 2020-09-11 00:20:47 +02:00
qtooltip CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
qwidget Define inverted QRects consistently 2020-09-21 15:04:51 +02:00
qwidget_window Remove most compiler warnings about missing overrides 2020-09-11 00:20:47 +02:00
qwidgetaction Remove most compiler warnings about missing overrides 2020-09-11 00:20:47 +02:00
qwidgetmetatype Deprecate the static int based API in QMetaType 2020-08-24 00:19:05 +02:00
qwidgetsvariant Deprecate the static int based API in QMetaType 2020-08-24 00:19:05 +02:00
qwindowcontainer Remove most compiler warnings about missing overrides 2020-09-11 00:20:47 +02:00
CMakeLists.txt CMake: Regenerate subdir test projects 2020-07-09 09:38:39 +02:00
kernel.pro Reduce QDesktopWidget API to bare minimum 2020-05-15 18:46:39 +02:00