Home > Mobile >  QTableView according to the condition to hide a large amount of data data program has no response
QTableView according to the condition to hide a large amount of data data program has no response

Time:05-01

RT, the use of the Model/View display data (130 w), when adding data, open up the child thread will read data from a file, save to the QList Model, then the View shows no caton case, use the mouse to drag and drop also is normal, no program without response,
Each data set identifier (bool), according to determine whether to get the data in the row, by using the approach of QTableView hideRow hid the bank, according to user's selection criteria to judge whether to display the data code I put in a child thread, but in the judgment based on user conditions to about 6 w rows of data, has no response to the main form, run to all the data after the judgment completely, main form no response all the time,
I don't know what a great god can solution to the problem? :)
  •  Tags:  
  • Qt
  • Related