Storing previously entered words in cache
Unsolved
General and Desktop
-
In my Qt Desktop app there is a login form! The user has to enter the Username and password to login to the app! The login is working but I want to store the previously entered usernames so that when next time I open the app and enter first letter of a user name the list of user names starting with that letter(which had previously been entered) should appear! How can I achieve this?
-
@Lasith Just write the entered words in a file. When the app later starts it reads the file. Then, depending on what you use to enter username you can use http://doc.qt.io/qt-5/qlineedit.html#setCompleter