I have to populate a QTreeWidget with items (or children of items) that may happen to be too long to fit in a single line, so I\'m looking for a way to word wrap them.
setWordWrap just causing wrapping around word-boundaries... it will NOT force anything on to a new line.
What you are looking for is not possible with the default QTreeWidget. I suggest displaying text that is too long in an alternative way, such as mouse-over text or a separate label. TreeViews should not contain more then one line of text per item.