[PyKDE] Signal Interactions

Jonathan Gardner jgardner at jonathangardner.net
Mon Jun 23 15:32:00 BST 2003


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

On Sunday 22 June 2003 15:53, Bob Parnes wrote:
> Hello,
>
> Be warned that I am new at coding pyqt, and no doubt the problem has a
> simple solution. The attached demo illustrates it: Pressing the <Enter> key
> after typing text into the edit box also triggers the 'clicked' signal of
> the pushbutton. Comments in the code describe a workaround, but this
> disrupts the tab sequence.
>
> What I am missing escapes me, so any help is appreciated. Thanks.


Default buttons in a Dialog. Read through this part of the doc:

	http://doc.trolltech.com/3.1/qdialog.html#default


- -- 
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+9wERWgwF3QvpWNwRArwKAKC68Xa2JDlwpKwVMx/TItPM4m+BpgCdERHX
6IjNQCgIxL1treNzwfHyGoA=
=m8sX
-----END PGP SIGNATURE-----




More information about the PyQt mailing list