Approximation to a very simple 2D physics engine with a Qt GUI