def query_choice(self, msg, labels):
    self.done.clear()
    self.query_signal.emit(msg, labels)
    self.done.wait()
    return self.choice
def query_choice(self, msg, labels):
    self.done.clear()
    self.query_signal.emit(msg, labels)
    self.done.wait()
    return self.choice