Simple pong game in QT