Am Donnerstag, 1. Mai 2008 schrieb İsmail Dönmez:
> Following code can't be interrupted with CTRL-C :
> >>> import sys
> >>> from PyQt4.QtCore import QCoreApplication
> >>> QCoreApplication.exec_(sys.argv)

+1 on the question.

I tried a lot like using module signal to trap a Ctrl+C but nothing seems to 
work. I guess the C++ port takes away keyboard events from Python. Any help 
appreciated.

Christoph

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to