[PyQt] Q(Core)Application.exec_() is not interruptable
    Christoph Burgmer 
    chrislb at gmx.de
       
    Thu May  1 19:24:47 BST 2008
    
    
  
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
    
    
More information about the PyQt
mailing list