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

List:       pykde
Subject:    Re: [PyKDE] Using Return Key to move between QLineEdit widgets
From:       Jonathan Gardner <jgardner () jonathangardner ! net>
Date:       2003-06-11 23:21:38
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 11 June 2003 14:00, David Sathiaraj wrote:
> I have a set of QLineEdit Widgets in a form and I wish to transfer focus
> to each of them by using 'return' and 'backspace' keys.
> I am able to move around the widgets using the 'Tab' key.  How could I
> tailor my code to make use of 'return' to go forward and 'backspace' to
> go backward
> instead of the default 'Tab' option?
>

By reading the documentation and looking for appropriate signals to watch.

Remember that QLineEdit inherits from QWidget, so if you can't find 
something useful in QLineEdit, look in QWidget.

If you found the signals and still don't know what to do, let me know.

- -- 
Jonathan Gardner
jgardner@jonathangardner.net
(was jgardn@alumni.washington.edu)
Live Free, Use Linux!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+57mCWgwF3QvpWNwRAmRzAKCHkHX63WiB0+KAZVblskB1OJumKgCg2eu9
1zI3S/CPjlfi5ppgHhZGzrw=
=0dK7
-----END PGP SIGNATURE-----

_______________________________________________
PyKDE mailing list    PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread] 

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