Function createHierarchyTreeWidget