[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: accel problems: might be qt-copt, might be kdelibs
From:       Alexander Neundorf <alexander.neundorf () gmx ! net>
Date:       2002-10-13 9:47:10
[Download RAW message or body]

On Sunday 13 October 2002 11:29, Marc Mutz wrote:
> On Sunday 13 October 2002 11:10, David Faure wrote:
> <snip>
>
> > > What should happen is that if a hotkey is consumed by a KAction, it
> > > shouldn't be propagated to the focus widget anymore. I see the
> > > problem that for edit fields you want it vice versa, though.
> >
> > When are the listview's hotkeys going to be applicable then?
> > Shouldn't it rather be that "if the focus widget consumes a hotkey,
> > it shouldn't be propagated to the mainwindow - i.e. the KActions" ?

I think so.

> Then you can't use actions with non-modifier hotkeys (i.e. 'v', 'd' etc)
> anymore, since the listview will consume all those to implement
> incremental search :-(

Then overwrite the keyPressEvent() of the listview to ignore these keys.

Bye
Alex

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic