how to draw a line between items of a QCompleter as a separator?

Viewed 719

I have a QCompleter and a QStringListModel that is set to QCompleter. Now how can I draw a line as separator between items of StringList that is set to QStringListModel. Finally, QCompleter will be set to a QLineEdit.

enter image description here

2 Answers
Related