Storing tree in QStandardItemModel and displaying tree in list using margins