carpdjih at mailbox.tu-berlin.de
Wed Jan 28 12:03:16 GMT 2004
-----BEGIN PGP SIGNED MESSAGE-----
On Sunday 25 January 2004 15:44, Frerich Raabe wrote:
> - It is not possible to dictate KConfigDialog not to use any default button
> at all. This is annoying when you have e.g. a KLineEdit in the dialog:
> entering a text there and then pressing return immediately triggers the
> default button (which is often "Ok", which in turn closes the dialog). A
KLineEdit has a method setTrapReturnKey( bool trap ), that is designed to fix
exactly that issue. That way, you can still close the dialog by pressing
return, if the lineedit doesn't have the focus. And if it does have the
focus, you can close the dialog with Ctrl-Return.
The same applies to editable comboboxes btw.
-----BEGIN PGP SIGNATURE-----
-----END PGP SIGNATURE-----
More information about the kde-core-devel