[PyQt] qtreewidget only printing first character of my strings

Wolfgang Rohdewald wolfgang at rohdewald.de
Thu Apr 21 17:28:39 BST 2011

On Donnerstag 21 April 2011, Jason Rahm wrote:
> If I uncomment my print statements, each string is printed as
> expected, but in the QTreeWidget, I only get the first
> character:

I think QTreeWidgetItem expects a string list, not a string.
Maybe [x] instead of x works better?


More information about the PyQt mailing list