[Digikam-devel] [Bug 209189] Make albumview rotation buttons optional

Andi Clemens andi.clemens at gmx.net
Fri Oct 2 23:48:57 BST 2009


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





--- Comment #5 from Andi Clemens <andi clemens gmx net>  2009-10-03 00:48:55 ---
(In reply to comment #4)
> Gilles, what do you think? The overlay for the selection is added by the base
> class ImageCategorizedView. I don't know if it's somewhere else used, so the
> only non-intrusive way to remove that overlay in the view - that I see - is
> adding a method to remove the overlay to ImageCategorizedView. But that sounds
> like duplicate work... first adding it in the constructor and then removing it
> afterwards. Maybe we should add a boolean parameter to the constructor to
> auto-add this overlay defaulting to true for backwards-compatibility.
> AlbumIconView can set this to false and use addSelectionOverlay based on the
> settings.

Just create a QFlag and set the overlay widgets with a setter method.
For example
http://lxr.kde.org/source/extragear/graphics/digikam/utilities/advancedrename/advancedrenamewidget.h#48

or
http://lxr.kde.org/source/extragear/graphics/digikam/utilities/imageeditor/editor/editortoolsettings.h#51

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the Digikam-devel mailing list