'Called when this item\'s text has changed for any reason.'

def textChanged(self):

    self._text = self.text()
    if self._blockValueChange:
        return
    try:
        self.value = type(self.value)(self.text())
    except ValueError:
        self.value = str(self.text())
