[Development] QTreeView performance

Girish Ramakrishnan girish at forwardbias.in
Fri Jun 8 17:00:07 CEST 2012


Hi,

On Fri, Jun 8, 2012 at 3:47 AM, Иван Комиссаров <abbapoh at gmail.com> wrote:
> QTreeView is very slow when inserting big amount of data. In some cases, it is possible to achieve big speedup in case of wixed-height treeviews.
>
> I.e., in QTreeView calculating of item height is very slow. If we have fixed height (fixed font, no editors), we can not calculate this height, but return constant.
>

QTreeView::setUniformRowHeights does exactly that.

Girish



More information about the Development mailing list