'Delegate for text data. If auto_complete_function needs to return a list
of text items to auto-complete with. If the function is None no
auto-complete will be used.'

def __init__(self, parent):

    QStyledItemDelegate.__init__(self, parent)
    self.table_widget = parent
    self.auto_complete_function = None
