Add HiDPI support for thumbnails

Authored by volkov on Apr 7 2019, 2:01 PM.

Description

Add HiDPI support for thumbnails

Summary:
The idea is to localize changes in ThumbnailView as much as possible:
ThumbnailView::thumbnailSize() returns the size in device independent
pixels, i.e. it seems from the outside that ThumbnailView behaves as
well as before this change. But, of course, item delegates must take
into account that ThumbnailView::thumbnailForIndex() will return
a pixmap with the devicePixelRatio set.

CCBUG: 373178

Reviewers: Gwenview, ngraham

Reviewed By: Gwenview, ngraham

Subscribers: ngraham

Tags: Gwenview

Differential Revision: https://phabricator.kde.org/D20267

Details

Committed
ngrahamApr 7 2019, 2:02 PM
Reviewer
Gwenview
Differential Revision
D20267: Add HiDPI support for thumbnails
Parents
R260:97e7de52276b: HiDPI Support for Gwenview
Branches
Unknown
Tags
Unknown