[PyQt] how to set up a timer to call a method after a delay?

Steve Castellotti sc at puzzlebox.info
Thu Jul 1 03:01:32 BST 2010


On Thu, 2010-07-01 at 03:17 +0200, Robin Wittler wrote: 

> take a look at
> http://www.riverbankcomputing.co.uk/static/Docs/PyQt4
> /html/qapplication.html#QApplication-2
> 
> 
> QApplication.__init__ (self, list-of-str argv, bool GUIenabled)
> 
> Constructs an application object with argc command line arguments in 
> argv. If GUIenabled is true, a GUI application is constructed, otherwise 
> a non-GUI (console) application is created.


    Thanks for that.

    The only change I made was to end up using
QtCore.QCoreApplication(sys.argv) instead as it implies a console
application and doesn't require importing QtGui.



Cheers

Steve


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20100630/eafb515d/attachment.html>


More information about the PyQt mailing list