qt6-bb10/tests/auto/gui
Jarkko Koivikko e28a664ae1 pagelayout: Fix inaccuracy in marginsPixels and paintRectPixels
Do not use rounded value for conversion, which gives inaccurate result.

Example case: typical margin for A4 paper size is 8.4 pt. At 600 dpi,
the old code was using rounded point value of 8, which produces an
incorrect result:

8 / (72.0 / 600) = 67 pixels

The correct margin is of course:

8.4 / (72.0 / 600) = 70 pixels

Pick-to: 6.6
Change-Id: I44b2eeabb82fd3bf8e2dcfcba66ae96cde763875
Reviewed-by: David Faure <david.faure@kdab.com>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2023-12-09 04:46:24 +02:00
..
image QIcon: add theme icon constants 2023-12-07 12:39:06 +01:00
itemmodels QStandardItem: store Qt::UserRole-1 in a static constexpr var 2023-11-14 21:23:50 +02:00
kernel Tests: remove blacklisted CIs no longer available 2023-12-06 22:07:44 +01:00
math3d Mark all of Qt as free of Q_FOREACH, except where it isn't 2023-08-19 05:19:42 +00:00
painting pagelayout: Fix inaccuracy in marginsPixels and paintRectPixels 2023-12-09 04:46:24 +02:00
platform CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qopengl CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qopenglconfig CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qvulkan Skip QVulkan autotests on Android 2023-10-30 12:43:14 +02:00
rhi rhi: Make sample count selection logic be closer to Qt 5 2023-12-06 19:01:19 +01:00
text QFont::Tag: use new comparison helper macros 2023-12-08 03:18:32 +01:00
util Fix digit grouping: m_grouping_top doesn't mean what I thought it did 2023-08-08 19:44:56 +02:00
CMakeLists.txt tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00