Source Code (Gui Example 17)
The QLineEdit control appears in a user interface when a word or single line of text should be entered by the user. It is common for the entry to be a word which starts with the same letter. This example will show how to implement a completer which offers a list of predefined words for auto completion.