tags:

views:

27

answers:

2

I'm working on a instant messaging client and i am looking for a way to display the contacts like Pigdin or Yahoo Messenger does. I was looking at a Tree Widget, but is there a way to customize the items? I would like them to look something like this:

alt text

+1  A: 

I have a project that might be of some interest to you. It's qt4 based and includes a Jabber messenger client - and a contact list with icons.

http://saje.googlecode.com

sje397
+3  A: 

It might be better to use QTreeView instead of QTreeWidget. Then you can use the Qt's model/view system and create a new item delegate class to handle the painting.

And read also this question: http://stackoverflow.com/questions/948444/qlistview-qlistwidget-with-custom-items

Roku