def closeEvent ( self , event ) : logger . debug ( "closeEvent" ) self . argosApplication . saveSettingsIfNeeded ( ) self . finalize ( ) self . argosApplication . removeMainWindow ( self ) event . accept ( ) logger . debug ( "closeEvent accepted" )
python mainwindow close event
Called when closing this window .
def closeEvent(self, event):
        """ Called when closing this window.
        """
        logger.debug("closeEvent")
        self.argosApplication.saveSettingsIfNeeded()
        self.finalize()
        self.argosApplication.removeMainWindow(self)
        event.accept()
        logger.debug("closeEvent accepted")