qt autocomplete line eid code example
Example: qt autocomplete
def autoComplete(line, list):
completer = QCompleter()
line.setCompleter(completer)
model = QStringListModel()
model.setStringList(list)
completer.setModel(model)
line.show()
autoComplete(linedit, list)