abstractvirew: Split `itemForIndex` to get TreeTraversalItem or widgets.

Authored by lepagevalleeemmanuel on Aug 22 2018, 6:39 PM.

Description

abstractvirew: Split itemForIndex to get TreeTraversalItem or widgets.

In the next few commits, the widgets (VisualTreeItem) will be fully
decoupled from the model insertion/moving/removing logic. Previously,
there always was a widgets for all QModelIndex. Because of that, it
wasn't necessary to use the intermidiate model mapping and everything
could directly map QModelIndex to widgets. Once optimizations and
collapsed widgets become supported, this 1:1 mapping no longer exist
the the model<->TreeTraversalItem<->widgets mapping becomes mandatory
everywhere.

Details

Committed
lepagevalleeemmanuelAug 22 2018, 6:39 PM
Parents
R479:ceba5a327b59: quickview: Rename TreeView2 to AbstractQuickView
Branches
Unknown
Tags
Unknown