[PyQt] About keyPressEvent
henrik.pauli at gmail.com
Wed Aug 22 00:28:59 BST 2007
Off the top of my head, and as such it could be completely wrong:
On 8/22/07, "Gustavo A. Díaz" <gustavo.diaz at gmail.com> wrote:
> I am trying to catch the keyPressEvent of alt + esc combination with:
> def keyPressEvent(self, event):
> if event.key() == QtCore.Qt.Key_Escape:
> And this has no effect, the app closes anyway. What i want is to hide the
> app and not close it.
> What i am doing wrong?
> *Gustavo A. Díaz*
> *GDNet Projects*
> [image: Gustavo A. Díaz]
> PyQt mailing list PyQt at riverbankcomputing.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the PyQt