[PyQt] [newb] someone take pity on a poor newb?

Phil Thompson phil at riverbankcomputing.com
Sat Dec 20 22:37:27 GMT 2008

On Sat, 20 Dec 2008 17:22:29 -0500, Neal Becker <ndbecker2 at gmail.com>
> I hate to ask for help debugging this code, but this is my first little
> pyqt project, and I'm stumped.
> This little form has a text input widget, and a button marked 'dowload'. 
> connected the text input "returnPressed" to one method, and connected the
> download button "clicked" to another method.
> When I hit return in the text input, both methods trigger!  Can anyone
> me a hint?

Have a look at the description of default buttons in QDialog and


More information about the PyQt mailing list