'Must be called when the question was answered completely.'

@pyqtSlot()
def done(self):

    self.answered.emit(self.answer)
    if (self.mode == PromptMode.yesno):
        if self.answer:
            self.answered_yes.emit()
        else:
            self.answered_no.emit()
    self.completed.emit()
