QTreeView::VisualRect return invalid
Solved
General and Desktop
-
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