accel problems: might be qt-copt, might be kdelibs

Alexander Neundorf alexander.neundorf at gmx.net
Sun Oct 13 10:47:10 BST 2002


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





More information about the kde-core-devel mailing list