Hi all,
i need to move my code from 4.0 to 4.2. But unfortunately found big problem in performance when scrolling in QTableView with many custom widgets loaded in the table and in "Edit Mode". One can easily reproduce this phenomena with use of QT4 example - SpinBoxDelegate under Item View examples. Just modify main.cpp from:

Qt Code:
  1. QStandardItemModel model(4, 2);
  2.  
  3. for (int row = 0; row < 4; ++row)
  4. {
  5. for (int column = 0; column < 2; ++column)
  6. {
  7. QModelIndex index = model.index(row, column, QModelIndex());
  8. model.setData(index, QVariant((row+1) * (column+1)));
  9. }
  10. }
To copy to clipboard, switch view to plain text mode 

to

Qt Code:
  1. QStandardItemModel model(400, 200);
  2.  
  3. for (int row = 0; row < 400; ++row)
  4. {
  5. for (int column = 0; column < 200; ++column)
  6. {
  7. QModelIndex index = model.index(row, column, QModelIndex());
  8. model.setData(index, QVariant((row+1) * (column+1)));
  9. tableView.openPersistenEditor(index);
  10. }
  11. }
To copy to clipboard, switch view to plain text mode 

I know it takes so looong time to load all the widgets to the table, but this is not big issue for me, because it starts only once.
Anyway there had to be a significant change in QT from 4.0. Because with 4.0 the same code had no problem with sroll at all.

Any ideas? Did i miss something?

Thanks a lot!
B.