[PyQt] Processing events

Chris O'Halloran cmoman at gmail.com
Tue Dec 15 20:40:14 GMT 2015


Hello all,

This should be a real simple question but who knows.

Are the following code lines the same?

QtGui.qApp.processEvents()

QtGui.QApplication.processEvents()

I'm guessing from the statements.
The QApplication <http://doc.qt.io/qt-4.8/porting4.html#qapplication>
object is accessible through the instance
<http://doc.qt.io/qt-4.8/qcoreapplication.html#instance>() function that
returns a pointer equivalent to the global qApp
<http://doc.qt.io/qt-4.8/qapplication.html#qApp> pointer.

Found here

http://doc.qt.io/qt-4.8/qapplication.html

that they are.

Regards,

Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20151216/35c204c4/attachment.html>


More information about the PyQt mailing list