PDA

View Full Version : Does Qt have 'search as you type' functionality?



bifftanner
4th December 2011, 10:31
In Google Chrome if I open the find box (command-F) and start typing, all matches to the entered string will light up as I type. This is obviously extremely useful for finding things quickly in a body of text.

In my Qt application I have a QTableView that I'd like to add this functionality to. Is that possible?

Lykurg
4th December 2011, 10:39
Sure it is possible, you just have to code it. Alter the model as you type and provide a specialized delegate to visualize the search process.

marcvanriet
5th December 2011, 01:08
See http://doc.qt.nokia.com/latest/network-googlesuggest.html

Regards,
Marc