def rejectEdit(self):
        """
        Cancels the edit for this label.
        """
        if self._lineEdit:
            self._lineEdit.hide()
            self.editingCancelled.emit()
def rejectEdit ( self ) : if self . _lineEdit : self . _lineEdit . hide ( ) self . editingCancelled . emit ( )
Cancels the edit for this label.