code: def editingFinishedEvent(self):
          
          #print "Edit finished."
          if asUnicode(self.lineEdit().text()) == self.lastText:
              #print "no text change."
              return
          try:
              val = self.interpret()
          except:
              return
          
          if val is False:
              #print "value invalid:", str(self.lineEdit().text())
              return
          if val == self.val:
              #print "no value change:", val, self.val
              return
          self.setValue(val, delaySignal=False)
docs: Edit has finished; set value.