From dc555b8e56162bb908ad398341c5d7828d443bf3 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Fri, 6 Apr 2012 23:06:05 +0200 Subject: Allow to specify whether an upscaling of images should be done The option is currently hidden as up to now only Nuno requested it, but it seems to be urgent: "my icon making productivity has drop subtantialy" ((c) 2012 Nuno) As I don't want to get blamed for an outdated Oxygen-icon-set I have no other choice ;-) CCMAIL: nuno.pinheiro@kdab.com --- src/kitemviews/kfileitemlistview.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/kitemviews/kfileitemlistview.h') diff --git a/src/kitemviews/kfileitemlistview.h b/src/kitemviews/kfileitemlistview.h index 40808c4de..8f7ca9063 100644 --- a/src/kitemviews/kfileitemlistview.h +++ b/src/kitemviews/kfileitemlistview.h @@ -54,6 +54,14 @@ public: void setPreviewsShown(bool show); bool previewsShown() const; + /** + * If enabled a small preview gets upscaled to the icon size in case where + * the icon size is larger than the preview. Per default enlarging is + * enabled. + */ + void setEnlargeSmallPreviews(bool enlarge); + bool enlargeSmallPreviews() const; + void setItemLayout(Layout layout); Layout itemLayout() const; -- cgit v1.3.1