PDA

View Full Version : QTableView problem:no respond when the app received too many data



wucheng
5th November 2010, 10:43
hi
my app has a tableview to display the info, 1 info per row
here is the problem:
when my app received about 2600 info per min,the tableview didt work fine,the app would have no respond in 10 min,and in debugger,i found the app breaked at QWidget.show():
#ifndef Q_WS_WINCE
inline void show() { setVisible(true); }
is there a way to resolve this problem?

thanks
wucheng

wladek
5th November 2010, 13:21
Hi wucheng,

I assume you are also using a model with your view, right?
This model should be responsible for fetching the data that the threeview needs to display.
Meaning, that even if your have 2600 info, it shouldn't be a problem displaying it.

Regards,
Wladek

wucheng
6th November 2010, 05:06
thank you wladek