[Digikam-devel] [digikam] [Bug 261568] ICONVIEW : scale overlay action icons accordingly with thumb size [patch]

Gilles Caulier caulier.gilles at gmail.com
Sun Sep 6 10:28:41 BST 2015


https://bugs.kde.org/show_bug.cgi?id=261568

--- Comment #14 from Gilles Caulier <caulier.gilles at gmail.com> ---
Maik,

It miss something to patch : image coordinates overlay to draw world map icon
over thumbnail with image has GPS info. Icon is show on top/right corner when
right option is enabled on Setup/AlbumView panel.

The code relevant is a little bit different. There is an overlay implementation
(imagecoordinateoverlay.cpp) but this one do not draw icon. It's done in image
delegate implementation :

updateRects() from delegates calculate the rectangle d->coordinatesRect to host
world map icon.

paint() from delegates call drawGeolocationIndicator() if image has GPS info.

ItemViewImageDelegate::drawGeolocationIndicator(),
ItemViewImportDelegate::drawGeolocationIndicator(), 
ItemViewShowfotoDelegate::drawGeolocationIndicator()
are re-implemented to do the job.

This is implemented for album icon view, import icon view and showfoto
thumb-bar.

Gilles

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Digikam-devel mailing list