Hi,
This is probably very simple, just would like to know what the signal is when a form is going to close, I want attach this to my main form.
Regards,
Steve
Hi,
This is probably very simple, just would like to know what the signal is when a form is going to close, I want attach this to my main form.
Regards,
Steve
It is not a signal but an event handler, namely QWidget::closeEvent().
Reimplement this in your form, and it will get called when you close the form.
Regards
Hi,
Thanks for that, but I want it to tell the main form which created this form that it is closing, guess I could emit a signal from the closeEvent method?
Regards,
Steve
Yes, you can.
steg90 (18th May 2007)
Bookmarks