[Qt-interest] QTable load problem
Ulf-Alexander v. Ceumern-Lindenstjerna
ceumern at vrmagic.com
Mon Dec 7 10:06:32 CET 2009
Do you
a) increase the number of rows in each iteration
or do you
b) set it initially to the end size?
AFAIR b) was a lot faster!
QTable was Qt3, right? You might consider Qt4 and use the Model/View
framework.
Cheers
> -----Original Message-----
> From: qt-interest-bounces at trolltech.com [mailto:qt-interest-
> bounces at trolltech.com] On Behalf Of S.P
> Sent: Monday, December 07, 2009 10:03 AM
> To: qt-interest at trolltech.com
> Subject: [Qt-interest] QTable load problem
>
> Dear All,
>
> I have an object of QTable which has 1,000,000 rows and 3 columns.I
> want to load the information of a file in it. I used QTable::setText()
> to put the file information in table cells.But it is a time consuming
> action and take lots of seconds to load the data.Does anybody know how
> I can reduce the loading time?
>
> Thanks a lot in advance.
>
> ________________________________
>
> New Email names for you!
>
<http://sg.rd.yahoo.com/aa/mail/domainchoice/mail/signature/*http://mai
> l.promotions.yahoo.com/newdomains/aa/>
> Get the Email name you've always wanted on the new @ymail and
> @rocketmail.
> Hurry before someone else does!
More information about the Qt-interest-old
mailing list