def METHOD_NAME(self, index: QModelIndex, value, role=Qt.EditRole):
    if value == "":
        return True
    i = index.row()
    j = index.column()
    if i >= len(self.message_type):
        return False
    lbl = self.__get_label_at(i)
    if j == 0:
        lbl.name = value
        type_before = type(lbl)
        self.message_type.change_field_type_of_label(lbl, self.field_types_by_caption.get(value, None))
        lbl = self.__get_label_at(i)
        if type_before != ProtocolLabel or type(lbl) != ProtocolLabel:
            self.special_status_label_changed.emit(lbl)
    elif j == 1:
        lbl.start = self.message.convert_index(int(value - 1), from_view=self.proto_view, to_view=0, decoded=True)[
            0]
    elif j == 2:
        lbl.end = self.message.convert_index(int(value), from_view=self.proto_view, to_view=0, decoded=True)[0]
    elif j == 3:
        lbl.color_index = value
    elif j == 4:
        if bool(value) != lbl.apply_decoding:
            lbl.apply_decoding = bool(value)
            self.apply_decoding_changed.emit(lbl)
    return True