event loop, QApplication and the Event Loop