[Digikam-devel] [Bug 152424] Workflow organizing : use Color Label Tags over icon view items

Marcel Wiesweg marcel.wiesweg at gmx.de
Thu Jan 20 13:09:16 GMT 2011


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





--- Comment #31 from Marcel Wiesweg <marcel wiesweg gmx de>  2011-01-20 14:09:15 ---
I suggest to use the normal tags table, but handle these tags in a special way
in a few situations. A new table would result in huge code duplication.

Have a look at the TagProperties class in libs/database. You can assign any
property to a tag, such as marking it as a Person tag, or a Color tag.
(this also applies to the keyboard shortcuts #114465 and comments #149372).
There can be one value or multiple values per keyword. Have a look at
libs/database/databaseconstants.h for defined TagProperties.

In the specific case here, we'd need to patch the delegate that it does not
draw the textual label for a color tag, but the relevant color, and add the UI
to add a label. 

We need to decide if we want to present these "special" tags alongside the
normal tags in the tag sidebar. In this case, it would be easy for the user to
see all images with a given color, but it also exposes an implementation
detail. If we dont want to show, you can also choose to create these tags as
internal tags (see TagsCache), in this case they will everywhere be invisible
to the user, and only accessible through specific UI.

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



More information about the Digikam-devel mailing list