gravity game with python and Qt4