How are you populating the treewidget ? can we see the code ?