qt: connecting with animations