[prev in list] [next in list] [prev in thread] [next in thread]
List: kfm-devel
Subject: Re: two wishes
From: David Faure <faure () kde ! org>
Date: 1999-11-14 12:48:53
[Download RAW message or body]
On Sun, Nov 14, 1999 at 01:37:21AM +0100, Reginald Stadlbauer wrote:
> On Sun, 14 Nov 1999, David Faure wrote:
> >> . make uparrow/dnarrow/pgdn/pgup work within the views, right now the
> >> "location:" field seem to always be selected and receive the key
> >> input.
> >
> >Have you tried pressing "Tab" ? It moves the focus out of the Location field,
> >into the view.
> >I checked the icon view and the HTML view, both work fine.
> >
> >(Pressing tab again moves to another widget ... probably the status bar ???
> > And pressing tab a third time brings back to the Location field.
> > This is buggy, but how can I know which is the "hidden" widget that takes the Focus ?)
>
> Install an event filter and output on a focus in event the name of the widget
> which gets the focus. Of course this only works if you set names for the
> widgets when creating them (yes, sometimes the name argument is useful :-))
Found it. It's KonqMainView.
Now if anybody wonders why I hate intermediary QWidgets... :-)
Ah, setFocusPolicy fixes it.
Thanks !
--
David FAURE
david@mandrakesoft.com, faure@kde.org
http://home.clara.net/faure/
KDE, Making The Future of Computing Available Today
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic