QTreeView::VisualRect return invalid
Solved
General and Desktop
-
wrote on 7 Oct 2022, 16:18 last edited by Dariusz 10 Jul 2022, 16:20
Hey
I'm bit stuck. We have custom treeItem class and I have a feeling its 100% our fault. But I cant get visualRect for our items.
They have valid index/row/column. But still come out with invalid QRect.
What function do we have to reimplement to fulfill visualRect of QTreeView requirement?The action runs during model.beginResetModel() Maybe treeView stops displaying items during that time and thats why we get invalid rects :/
Regards
Dariusz -
wrote on 7 Oct 2022, 17:01 last edited by
Yep that was it. During that function the view no longer displays data sigh.
1/3