Solved Using a QCompletion successively on a QLineEdit
-
Hi There,
Suppose I have a single blank QLineEdit with a QCompletion. In the list I have "brown", "brick", "broccoli", "brim", and "bromide".
I want to hawe the completion repeatedly help me so that the QLineEdit can end up with a result like "brim brick bromide". This means that in this case the completion view would show 3 times.
Should I repatedly rebuild the list for the QCompletion after every edit event? Is there a far better way?
Thanks
-
I'm going to see if this will help me:
http://doc.qt.io/qt-5/qtwidgets-tools-treemodelcompleter-example.html