Qt.execute_in_main_thread example