'Update QLabel text when needed.'

def update_text(self):

    if self._temptext:
        self.setText(self._temptext)
    elif self._normaltext:
        self.setText(self._normaltext)
    else:
        self.setText('')
