Thanks for an answer, will check on the MVC
Currently I am trying to go the way of loading the results of "locate ." in to a database, then adding extension FTS4 which should provide very fast full text searches
http://www.sqlite.org/fts3.html
And then limiting the results of the database search to 1000 items and adding only those in to QListWidget.
This way it is relatively fast and responsive when working with 1 million items/files, as it eliminates stuttering of trying to ram thousands of results on the first three key strokes as a person starts to type.
but I did not move further yet.
If going this way, how to simulate that the list is huge and load next stuff on scroll or pagedown. I am thinking there I will gonna have some problems.