[PyKDE] Using Return Key to move between QLineEdit widgets
Jonathan Gardner
jgardner at jonathangardner.net
Thu Jun 12 01:23:01 BST 2003
-----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 at jonathangardner.net
(was jgardn at 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-----
More information about the PyQt
mailing list