Best strategy to update QTable view with data in real-time from different threads



  • I have application that for now starting few threads ( like 5 – 10 ) to collect data from different source .
    They are separated from the main GUI thread so I don’t feel any slowness in the GUI and I can keep working while the background threads are working . all great .
    But now I like to be able to display the results in QTableView in my main GUI . the data is strings allots of them and it can have between 10,000 to 100,000 results that supposed to be upto 100,000 rows in the QTableView.
    My question is what is the best way to update the Table in the Main GUI from the threads so TH GUI won’t be slow or idle.





  • this is great but i need to display real time , not cache results , all data is new and unique to the app


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.