title: Python parent in QTreeWidget
body: <p>I am working on python plugins.I used QTreeWidget  to list items.
  [listing in qtreewidget][1]  this link helped me a lot.</p>
  
  <p>My code is:</p>
  
  <pre><code>valestimate=QTreeWidgetItem(str(parent_name))
  for row in c.fetchall():
           strval=QTreeWidgetItem(unicode(row[0])) 
           valestimate.addChild(strval)
           self.treeWidget.addTopLevelItem((valestimate))
  </code></pre>
  
  <p><strong>parent_name</strong> is name of my parent in <strong>QTreeWidget</strong>.
  EX: <strong>'ACO_233'</strong>
  But output is :</p>
  
  <p>![enter image description here][2]</p>
  
  <p>If i set columncount as more then one then it is shown as:</p>
  
  <p>![enter image description here][3]</p>
  
  <p>How do i list full string as parent in Qtreewidget??
  following this link [single character in qtreewidget][4] ..inserttoplevelitem takes list as parameter..But if i want to make any item as parent ,we cannot add list to qtreewidget type item. How do i do it??</p>