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

List:       kfm-devel
Subject:    kpart container eats away keypresses
From:       Leo Savernik <l.savernik () aon ! at>
Date:       2003-08-19 11:24:44
[Download RAW message or body]

Hello,

For caret navigation, I detect in KHTMLView::keyPressEvent whether a keypress 
is directed towards an editable element and divert from there if it is. 
However, this does not catch keyboard accels that are managed by the 
container -- they are handled somewhere *before* the event handler.

This is especially nagging for Ctrl+Home which is a shortcut to file:///$HOME, 
but shouldn't take effect while navigating (like in html textareas).

So where should i install an event filter? On kapp? On the part object? On the 
parts main window? Or is there a better solution?

Thanks in advance.

mfg
	Leo

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

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