def METHOD_NAME(contents):
    '''Make a new table widget item, and do some additional bookkeeping'''
    new_item = qtg.QTableWidgetItem(str(contents))
    new_item.setFlags(Qt.ItemIsSelectable | Qt.ItemIsEnabled)
    return new_item