PDA

View Full Version : QTreeView: expand() have performance issue



jasonhxs
27th August 2014, 05:34
Hi,

I suffer performance issue when I call expand() in tree view.
The tree view has setUniformRowHeights to true, but need to set header()->setResizeMode(QHeaderView::ResizeToContents).
I found the performance is from the API: QTreeView::sizeHintForColumn(). Do you have any idea how to improve it, thanks.