[PyQt] close event realization

David Cortesi davecortesi at gmail.com
Thu Dec 15 23:46:20 GMT 2016


In my prior note, I may have the answer to the last question, why the about
to quit is never delivered. I know that the closeEvent() method was called,
so is aboutToQuit signal goes out AFTER all closeEvent events are
delivered, the QWidget will have been destroyed before signal delivery.

But that's the case, then aboutToQuit is kind of useless, at least to
QWidgets with deleteOnClose...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20161215/98e051ec/attachment.html>


More information about the PyQt mailing list