A basic example of collisions in Qt.