def METHOD_NAME(self):
    flags = self.windowFlags()
    msgbox = QMessageBox()
    msgbox.setText(_('Do you want to clear the paper tape?'))
    msgbox.setStandardButtons(QMessageBox.Yes | QMessageBox.No)
    # Make sure the message box ends up above the paper tape!
    msgbox.setWindowFlags(msgbox.windowFlags() | (flags & Qt.WindowStaysOnTopHint))
    if QMessageBox.Yes != msgbox.exec_():
        return
    self._strokes = []
    self.action_Clear.setEnabled(False)
    self.action_Save.setEnabled(False)
    self._model.reset()