code: def flags(self, index):
          
          if index.column() == 1:
              return QtCore.Qt.ItemIsEnabled | QtCore.Qt.ItemIsSelectable | QtCore.Qt.ItemIsEditable
          else:
              return QtCore.Qt.ItemIsEnabled | QtCore.Qt.ItemIsSelectable
docs: Reimplemented from QtCore.QAbstractItemModel
  
          Only the value is editable