PDA

View Full Version : QTreeWidgetItem setting color for the text



arjunasd
29th August 2007, 17:18
Hi all

I have a QTreeWidgetItem in which I display some text. Is it possible to color these text? Right now I am using setText() to set the text content of the item.

Thanks
Arjun

marcel
29th August 2007, 17:22
See QTreeWidgetItem::setForeground().