Balls game written in Qt4