Hi all,
I'm having a very strange slowdown in performance of QTreeViews.
I use them extensively in EVERY grid I've to show in my application. I've created an object, called MGridView that contains 2 QTreeViews ( to achieve columns locking ), 4 QHeaderViews ( footer counters and header bands x 2 QTreeViews ) and an horizontal QScrollbar.
Everything goes OK & fast. The models associated to those objects are very optimized and I can manage 15000 rows, 30 columns without problems ( with selection boxes, decoration, alignment, fonts ... )
In a form I have, that shows a lot of grids ( 27 "MGridViews" exactly ), all of them are individual pages of a hierarchy of QTabViews, so there are at least 200 widgets inside the "form". I've not counted them exactly.
The performance slows down too much, i.e : pressing key down takes about 0.1 secs to change row position ( usually takes 1/10 of that time )
None of the "grids" has a lot of data ( the one I'm testing has only 106 rows ).
I've been profiling, catching RowChanged event and my code works great ( it's almost inexpensive ). So I suspect it's something in QT code that takes a lot of time.
Any clues ? There is any known limitation in the number of widgets that QT can manage in a form ?
Thanks...
Bookmarks