def METHOD_NAME(self, event):
    """
    Change the label into an edit for the name or
    the description, depending on where has been
    clicked
    Arguments:
    event -- the mouseClickEvent
    """
    target = self.childAt(event.pos())
    if target == self.label_name:
        self.apply_desc()
        self.label_name.hide()
        self.label_type.hide()
        self.edit_name.show()
        self.edit_name.selectAll()
        self.edit_name.setFocus()
    elif target == self.label_desc:
        self.apply_name()
        self.label_desc.hide()
        self.edit_desc.show()
        self.edit_desc.selectAll()
        self.edit_desc.setFocus()