Hi all,
In my project I have a QTableView which displays the information contained in my data model - 40 rows and 20 columns. That information is updated every 100 miliseconds.
Everything works fine however the application performance decreases a lot everytime column sorting is activated. I use a QSortFilterProxyModel to perform column sorting.
i.e:
If I have 2 windows, each one with an instance of the mentioned tableview, if I sort both tables the UI thread goes from less than 20% to 100% CPU usage ... even if I'm only sorting by the row number, which means, no change in row positions
Is this a common issue?
How can I improve the sorting performance?
Regards
Bookmarks