KDialogBase patch - make the first widget initially focused
Waldo Bastian
bastian at kde.org
Wed Jan 29 12:59:24 GMT 2003
On Wednesday 29 January 2003 12:58, Lubos Lunak wrote:
> But forcing it by default on the buttons is wrong IMHO. If I write a
> dialog based on QDialog, the first widget will have focus, if this dialog
> is changed to use KDialogBase, suddenly it will be the first button having
> the focus.
>
> Another try: The KDialogBase patch is almost the same, and there's
> additional patch for KActiveLabel, as that one IMHO shouldn't actually get
> focus, as it's a label after all, even though based on QTextBrowser.
>
> Is it ok to commit it?
I don't think so. Now the ActiveLabel can't get focus at all anymore, no? The
purpose of KActiveLabel is to be able to select text from it. For that you
need focus.
I agree that it shouldn't get focus by default though.
Cheers,
Waldo
--
bastian at kde.org -=|[ SuSE, The Linux Desktop Experts ]|=- bastian at suse.com
More information about the kde-core-devel
mailing list