Hi,

I am using QTreeView model derived from QAbstractItemModel. I am following "SimpleTreeModelExample" provided by Qt. I have two columns with parent/child hierarchy. I want to add Icon (one for each Parent, one for each child).. But i don't know how to add Icon as part of TreeItem and how to modify the Model ::data function with respect to decoration role. Please help me with some example code