[PyQt] QTreeWidget invisible root item

Taylor Carrasco crackerbunny at gmail.com
Sat Oct 24 06:36:06 BST 2009


How do you add an invisible root item?

I've tried just not setting the text, but that doesn't do the trick ;)


item = QTreeWidgetItem(self.treeMain)
self.treeMain.addTopLevelItem(item)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20091024/02a3fdbf/attachment.html


More information about the PyQt mailing list