kpart container eats away keypresses
Leo Savernik
l.savernik at aon.at
Tue Aug 19 12:24:44 BST 2003
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
More information about the kfm-devel
mailing list