Re: [PyQt] A quick question about Return in a text edit (Evan Driscoll)

2012-12-05 Thread Evan Driscoll
On 12/04/2012 09:38 AM, David Cortesi wrote: This type of question is better addressed to the Qt fora, see qt-project.org/forums. That said... You definitely can monitor all keystrokes using keyPressEvent. You will likely find other reasons for doing so besides shift-enter, for example you might

Re: [PyQt] A quick question about Return in a text edit

2012-12-05 Thread Detlev Offenbach
Hi, you are right. keyPressEvent() should do the job. Detlev On Monday 03 December 2012, 17:56:12 Evan Driscoll wrote: > I want to make a UI that carries out an action when the user presses > return (think like in Pidgin), and I have a couple questions about how > to do this. I've dabbled a very