I am trying to display a large amount of columnar records in a scrollable view using Qt (5.1).
The number of rows I would like to be able to browse can vary from 100
Qt views are known to be slow on large data amounts. QTableWidget
or QStandardItemModel
cannot be used here because they create new object for each table item. That causes large overhead. You should start from implementing your own fast QAbstractItemModel
subclass and showing it in a standard QTableView
. It's possible that it will work acceptably fast. You can also try to set fixed row height for the view to speed things up.
If it won't work, you can try to implement your own table view. Also you can use Graphics View Framework as described in this answer.