def flags(self, index):
        """Reimplemented from QtCore.QAbstractItemModel

        Only the value is editable
        """
        if index.column() == 1:
            return QtCore.Qt.ItemIsEnabled | QtCore.Qt.ItemIsSelectable | QtCore.Qt.ItemIsEditable
        else:
            return QtCore.Qt.ItemIsEnabled | QtCore.Qt.ItemIsSelectable
Reimplemented from QtCore.QAbstractItemModel

        Only the value is editable