How to make treeview like Property Window in QtDesigner ? That is like one treeview with 4 root ? Every root (QObject, QWidget, QDialog, Layout) have a color different.