qt6-bb10/tests/auto/gui
Volker Hilsheimer b14b1c99f8 Rename QRangeCollection to QPageRanges, make it a proper value type
The type is specific about printing, so give it a name in line with
QPageLayout and QPageSize.

As per API review comment, it's not clear why this type should not be a
regular, copyable and movable value type. It stores a list of intervals.
Give it value-type semantics, as an implicitly shared class.

Convert the parse method into a static factory function.

Add a Range type and use it instead of the semantic-free QPair.
Move QPrinter getter into QPagedPainteDevice, make it return a copy
rather than a pointer, and add a setter.

Extend test case to cover all members and more merge cases. Fix bugs
found that way.

Fixes: QTBUG-88113
Change-Id: If17ea4d410d49f16b097e88b7979db5d72add820
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2020-11-08 11:49:54 +01:00
..
image Android: blacklist a list of failing tests for android 2020-11-04 12:27:49 +02:00
itemmodels Android: blacklist a list of failing tests for android 2020-11-04 12:27:49 +02:00
kernel tests: Blacklist tst_qwindow failing test on Windows 2020-11-07 19:33:37 +01:00
math3d Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
painting Rename QRangeCollection to QPageRanges, make it a proper value type 2020-11-08 11:49:54 +01:00
qopengl Android: blacklist a list of failing tests for android 2020-11-04 12:27:49 +02:00
qopenglconfig Deprecate QVariant::Type 2020-10-23 09:58:57 +02:00
qvulkan CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
rhi Android: blacklist a list of failing tests for android 2020-11-04 12:27:49 +02:00
text Support the markdown underline extension 2020-11-07 09:35:11 +01:00
util Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
.prev_CMakeLists.txt Remove winrt 2020-06-06 20:25:49 +02:00
CMakeLists.txt Remove winrt 2020-06-06 20:25:49 +02:00
gui.pro Remove winrt 2020-06-06 20:25:49 +02:00