[Qt-interest] future of a desktop UI

Kai Koehne kai.koehne at nokia.com
Thu Aug 27 08:27:49 CEST 2009


ext Sylvain Pointeau wrote:
 > Yes I saw the blogs on declarativeUI but I didn't look at the sample
 > sources.
 > It is definitely something I want to look.
 >
 > As I largely need a list of a large number of items, I was comparing
 > yesterday a html table and a list / table QListView and QTableView for
 > 35'000 items.
 >
 > I wrote an email to the mailing list, because I don't understand why the
 > list is slow as impossible to use, and the table is fast but slow to
 > scroll depending if we are at the beginning or at the bottom of the
 > list. Do you have an idea why?

Showing a list with 35.000 items at once sounds like a GUI inferno to me 
;) But anyway, QListView & QTableView are actually pretty optimized for 
larger sets ...

AFAIK setting uniform row height should help speed up rendering:

http://doc.trolltech.com/4.5/qtreeview.html#uniformRowHeights-prop

But the bottleneck could also be somewhere in your model ...

 > other thing is that a browser opens an html table (35'000 rows)
 > immediately, but Qt webkit opens it in 6 secondes (Arora is the same).
 > Please do you have some insights why it could be slow with Qt webkit?

I haven't done much yet with with the webkit integration, so I cannot 
comment on this.

Regards

Kai


-- 
Kai Koehne
Software Engineer
Nokia, Qt Development Frameworks

Nokia gate5 GmbH
Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany
Registergericht: Amtsgericht Charlottenburg, Berlin: HRB 106443 B
Umsatzsteueridentifikationsnummer: DE 812 845 193
Geschäftsführer: Dr. Michael Halbherr, Karim Tähtivuori



More information about the Qt-interest-old mailing list