def METHOD_NAME(self, index, value, role=QtCore.Qt.DisplayRole):
    """
    Set data by simple editor (whatever text)
    :param index:
    :param value:
    :param role:
    """
    wire = self.wires[index.row()]
    attr = self.index_prop[index.column()]
    setattr(wire, attr, value)