PDA

View Full Version : Genie animation on closeEvent



volcano
6th January 2010, 08:07
Hi,

I'm working on getting the genie transition on close event, so i have written the code in the closeEvent but before the animation starts the mainwindow closes. Any pointers to allow the animation to complete before the main window exits would be of great help.

Thanks

wysota
6th January 2010, 08:30
You have to ignore() the closeEvent() and once the animation ends, issue a close that will be accepted.