PDA

View Full Version : Memory usage in QTable



mahiapkum
25th May 2007, 14:09
Hello,
I have an application in which i have a table and i set the cells of the table to some text and the contains about 200000 rows.Is there memory utilization after the table is set to text i.e once table is set to some text say 200000 rows to display it on the table is memory utilized.

jacek
25th May 2007, 21:22
Yes, every cell in QTable is represented by QTableItem, so if you have 200k rows and 1 column, you will have 200k QTableItems that will sit in the memory.

http://doc.trolltech.com/3.3/qtable.html#notes-on-large-tables