How to customize SubjectHierarchyTreeView?

Hi @cpinter!
Thanks to your answare, I´ve able to get this result:

image

This is my code:

self.ui.SubjectHierarchyTreeView.nodeTypes = [“vtkMRMLModelNode”]
self.ui.SubjectHierarchyTreeView.setColumnHidden(self.uit.SubjectHierarchyTreeView.model().idColumn, True)
self.ui.SubjectHierarchyTreeView.setColumnHidden(self.uit.SubjectHierarchyTreeView.model().colorColumn, True)
self.ui.SubjectHierarchyTreeView.setColumnHidden(self.uit.SubjectHierarchyTreeView.model().transformColumn, True)
self.ui.SubjectHierarchyTreeView.model().setHorizontalHeaderLabels([‘Models’, …])
self.ui.SubjectHierarchyTreeView.setMRMLScene( slicer.mrmlScene )

I havent been able to change columns order after many attempts with different methods from qMRMLSubjectHierarchyTreeView Class and qMRMLSubjectHierarchyModel documentation.

Thank you very much for your help!