path: root/tests/auto/widgets/itemviews/qitemdelegate/
diff options
authorVolker Hilsheimer <>2021-12-06 18:04:26 +0100
committerTor Arne Vestbø <>2021-12-08 23:06:42 +0000
commitb886a7ca65d566538f81b369f548943cd5e8ce08 (patch)
tree70d05707ea52a74ca103ac3e482c83149937bf2a /tests/auto/widgets/itemviews/qitemdelegate/
parent9ad00e4b3f4d71f31ba041af623741522a221ffc (diff)
Add unit test for moving of opaque widgetsHEADdev
Expose QWidgetRepaintManager's data structures so that we can write unit tests, and verify that they are correct after moving opaque widgets (which triggers the accelerated move code path). Improve the compareWidget logic to not rely on screen grabbing (which requires permissions), but instead use QPlatformBackingStore's toImage function, which is faster and more reliable, and also doesn't require us to show the UI we want to grab full screen in order to avoid issues with overlapping windows etc. Change-Id: Iff2ea419f03a390ab6baca26814fef6ff45f7470 Reviewed-by: Tor Arne Vestbø <>
Diffstat (limited to 'tests/auto/widgets/itemviews/qitemdelegate/')
0 files changed, 0 insertions, 0 deletions