I have a table with about 8000 rows and 10 columns. I noticed doing a resizeColumnsToContents is really slow. To speed this up I was going to implement my own that will take the max of the first 25 cells in each column and use that as the column width. Each Cell uses a custom delegate so I want to use the delegate's sizeHint for each cell. Calling sizeHintForIndex( QModelIndex ) does not seem to return the delegate's sizeHint. How can I get the delegate's sizeHint for each cell?