KKeyChooser/KKeyDialog question

Hadacek Nicolas nhadacek at cea.fr
Fri Jul 19 07:11:28 BST 2002


Le Vendredi 28 Juin 2002 19:00, Anders Lund a écrit :

> KKeyChooser uses a tree listview to indicate that the actions to configure
> origins from different sources.
>
> However, in applications all the parent items has the text "Shortcuts"
> whicyh is not very informative...
>
> In Kate, there are many sources: the main app, the editor component,
> various plugins.
>
> The question: Is there an easy way get the names of all those sources
> displayed in the key chooser, for exmple "Kate", "Editor Component",
> "Insert File Plugin" etc?

> Maybe defining a KKeyChooser::insert( KActionCollection *, const QString &)
> would be nice?
>
> Or adding a property "title" to KActionCollection and then use that one?

Ok here is a patch to implement the first option (very simple indeed). Since 
Ellis is not there, I need some other people advice...

the second option can also be done easily and can be used elsewhere (?).
opinions ?

cu,
Nicolas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kkeydialog.diff
Type: text/x-diff
Size: 3788 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20020719/7c0c2c2c/attachment.diff>


More information about the kde-core-devel mailing list