[Digikam-devel] [Bug 114465] Simpler entry of tags using keyboard shortcuts

Gilles Caulier caulier.gilles at gmail.com
Tue Jan 25 21:07:47 GMT 2011


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


Gilles Caulier <caulier.gilles at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|0.8.0                       |2.0.0




--- Comment #120 from Gilles Caulier <caulier gilles gmail com>  2011-01-25 22:07:41 ---
Yes Marcel, i discovered myself the enum...

Tags shortcuts is now implemented to 70% on branch. You can assign a shortcuts
via tags edit dialog. If you press shortcut keys, a signal is fired but not yet
connected to GUI. Look debug message in the console.

In fact, the pending problem is : how to handle shortcut action with right GUI.
Tags Action Manager is a singleton, initiate at digiKam starup from
digikamapp.cpp. We must manage this signal if AlbumGUI, or ImageEditor, or
LightTable are active and are visual focus on screen.

My idea, when signal is fired, is to check which active windows have focus and
get lead windows instance accordingly, using dynamic_cast. After that, i call
the right method to get which image item have the focus, from icon-view, or
editor canvas, or light table preview, and assign tag as well.

What do you think about ?

Gilles Caulier

-- 
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