[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    [PyQt] close event realization
From:       David Cortesi <davecortesi () gmail ! com>
Date:       2016-12-15 23:46:20
Message-ID: CALyzANuad3L=aOoAaactD9hkCW5FjeOjS7O7M6ChmmupQ28uXQ () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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...

[Attachment #5 (text/html)]

<div dir="ltr"><div>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.<br><br></div>But that&#39;s \
the case, then aboutToQuit is kind of useless, at least to QWidgets with \
deleteOnClose...<br></div>


[Attachment #6 (text/plain)]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic