Hello Marcel
Thanks for your reply. I have tried it, but I could not manage to solve the problem.
Here is the code:
completer
->setCaseSensitivity
(QCompleter::CaseSensitive);
completer
->setCompletionMode
(QCompleter::PopupCompletion);
LineEdit->setInputMask ("NNNNN-NNNNN-NNNNN-NNNNN;_");
LineEdit->setCompleter (completer);
completer = new QCompleter (keys, this);
completer->setCaseSensitivity (QCompleter::CaseSensitive);
completer->setCompletionMode (QCompleter::PopupCompletion);
LineEdit->setInputMask ("NNNNN-NNNNN-NNNNN-NNNNN;_");
LineEdit->setCompleter (completer);
To copy to clipboard, switch view to plain text mode
The keys variable contains a list of serial keys that are of the form specified as the mask. Unfortunately, the completer does not work. Any suggestions?
Best Regards
Bookmarks