def editingFinishedEvent(self):
<EOL>if asUnicode(self.lineEdit().text()) == self.lastText:<EOL><INDENT>return<EOL><DEDENT>try:<EOL><INDENT>val = self.interpret()<EOL><DEDENT>except:<EOL><INDENT>return<EOL><DEDENT>if val is False:<EOL><INDENT>return<EOL><DEDENT>if val == self.val:<EOL><INDENT>return<EOL><DEDENT>self.setValue(val, delaySignal=False)<EOL>
Edit has finished; set value.