If the data in the source model is huge, and the new data is coming continuiously, the sort and filter consume lots of the cpu time and the foregroundcolor of tableview is blinking. In order to make the program more fluently, I am wondering to put qsortfilterproxymodel in another thread. Is that a good idea?
Besides, after I call tableview::sortByColumn(), I want to display data in the orginal order in the source model, how could I do that? I have tried tableview::setSortingEnabled(false),Qsortfilterpro xymodel::setDynamicSortFilter(false), but didn't work.Please give me a hint.
Bookmarks