qapplication processevents () python