Tilly1986
28th July 2017, 08:46
a model with 400k nodes, and i expand all and collapse all for top node, and then expand it again, QTreeView will stuck, from the call stack , it will insert treeview item. Is there any way to improve it? Thanks.
call stack :
#2 0x00007ffff7426043 in QTreeViewPrivate::insertViewItems(int, int, QTreeViewItem const&) () from /remote/vginterfaces2/verdi_thirdparty/QT/QT485_PACKnew/lib/LINUXAMD64/libQtGui.so.4
#3 0x00007ffff742cbc5 in QTreeViewPrivate::layout(int, bool, bool) () from /remote/vginterfaces2/verdi_thirdparty/QT/QT485_PACKnew/lib/LINUXAMD64/libQtGui.so.4
#4 0x00007ffff742c865 in QTreeViewPrivate::layout(int, bool, bool) () from /remote/vginterfaces2/verdi_thirdparty/QT/QT485_PACKnew/lib/LINUXAMD64/libQtGui.so.4
#5 0x00007ffff742c865 in QTreeViewPrivate::layout(int, bool, bool) () from /remote/vginterfaces2/verdi_thirdparty/QT/QT485_PACKnew/lib/LINUXAMD64/libQtGui.so.4
#6 0x00007ffff742c865 in QTreeViewPrivate::layout(int, bool, bool) () from /remote/vginterfaces2/verdi_thirdparty/QT/QT485_PACKnew/lib/LINUXAMD64/libQtGui.so.4
#7 0x00007ffff742d400 in QTreeViewPrivate::expand(int, bool) () from /remote/vginterfaces2/verdi_thirdparty/QT/QT485_PACKnew/lib/LINUXAMD64/libQtGui.so.4
call stack :
#2 0x00007ffff7426043 in QTreeViewPrivate::insertViewItems(int, int, QTreeViewItem const&) () from /remote/vginterfaces2/verdi_thirdparty/QT/QT485_PACKnew/lib/LINUXAMD64/libQtGui.so.4
#3 0x00007ffff742cbc5 in QTreeViewPrivate::layout(int, bool, bool) () from /remote/vginterfaces2/verdi_thirdparty/QT/QT485_PACKnew/lib/LINUXAMD64/libQtGui.so.4
#4 0x00007ffff742c865 in QTreeViewPrivate::layout(int, bool, bool) () from /remote/vginterfaces2/verdi_thirdparty/QT/QT485_PACKnew/lib/LINUXAMD64/libQtGui.so.4
#5 0x00007ffff742c865 in QTreeViewPrivate::layout(int, bool, bool) () from /remote/vginterfaces2/verdi_thirdparty/QT/QT485_PACKnew/lib/LINUXAMD64/libQtGui.so.4
#6 0x00007ffff742c865 in QTreeViewPrivate::layout(int, bool, bool) () from /remote/vginterfaces2/verdi_thirdparty/QT/QT485_PACKnew/lib/LINUXAMD64/libQtGui.so.4
#7 0x00007ffff742d400 in QTreeViewPrivate::expand(int, bool) () from /remote/vginterfaces2/verdi_thirdparty/QT/QT485_PACKnew/lib/LINUXAMD64/libQtGui.so.4