Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 3

Qt-interest Archive, December 2007
XML Viewer


Message 1 in thread

Hallo,

is there any possibility to display textparts in a QTreeWidgetItem in different colors? I want to create a xml viewer which opens xml files in a QTreeWidget. In the first column displayed the elementnames in bold. In the second column i want to show the attributs in bold an green and the value of the attributes in black. I tried to solve the problem by setting a QLabel in the second column but opening a xml file with hundrets of elements takes to much time. Could anybody help me?

Thanks,
Sascha

PS: Sorry my english is not so good.
-- 
 [ signature omitted ]