On 13/09/2007, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hello > > i have made a pushButton that when pressed it make some instruction and then > close the application with the command self.close(). > But if i need to make the same instruction when i press the x on the right > upper corner on my form, how i can intercept the event close?
Reimplement closeEvent in your window subclass. > > Thanks Luca > > > > > ------------------------------------------------------ > Leggi GRATIS le tue mail con il telefonino i-mode⢠di Wind > http://i-mode.wind.it/ > > > _______________________________________________ > PyQt mailing list [email protected] > http://www.riverbankcomputing.com/mailman/listinfo/pyqt > _______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
