[PyQt] Re: How do I intercept widget destruction?

Jeremy Sanders jeremy at jeremysanders.net
Wed Oct 22 17:49:58 BST 2008


Matt Newell wrote:

> If you subclass you can override QWidget.closeEvent, QWidget.hideEvent, or
> the destructor.

Thanks - I tried to override closeEvent but it never seems to get called. Is
there some trick? This is for a QLineEdit.

Jeremy

-- 
http://www.jeremysanders.net/



More information about the PyQt mailing list