i want to exit from a continuous loop using keyboard hit in Qt ... give some examples