PDA

View Full Version : Html tags in QTreeView



1111
11th March 2009, 16:52
Hi all,

I have QTreeView widget in my application with QStandardItemModel inside. I need to change font settings for text items in the tree and I was wondering if I can use HTML tags for it. Similar that QLabel can accept.

For instance, line in the tree can be like this:
This is long line

Is there any way to do that?

wysota
13th March 2009, 02:41
Please search the forums ("rich text" might be a good term). The issue is being brought up from time to time.