Commit Graph

2 Commits

Author SHA1 Message Date
Hatem ElKharashy 25ea0e26e8 tests: tweak svg manual test
Make the QSvgRenderer, and svgtoqml scalable. Without scaling, it is
hard to compare SVG files that have small size. Previously, only the
VectorImage widget was scalable. Moreover, add the current scale slider
value to the settings so that it can be retrieved the next time the
application is used.

Change-Id: I79dacd37e02b268ad8d2aadb71cc7d9d86e9b35a
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
2024-03-28 19:26:17 +00:00
Eskil Abrahamsen Blomfeldt 44fde66f5c tests: Add manual test for SVG rendering comparisons
A tool which opens a directory and lets you browse the .svg files
in it, showing how it gets rendered with QSvgRenderer, VectorImage
and svgtoqml.

In addition, if there is a png with the same name in the directory,
this will be displayed as a reference image.

Change-Id: Ie7f184b2e9c77589bf4eb5a2aec34059c42075eb
Reviewed-by: Hatem ElKharashy <hatem.elkharashy@qt.io>
2024-03-21 07:15:09 +01:00