Is it possible to style just the chosen level items of QTreeWidget, like apply different styles to top level items, level 1 items, etc.
I guess there's no need for me to create a second topic so I'll ask here: how o I use QTreeView? I know I have to use models and I read the documentation and analised the examples but I still don't get it. For example if I wanted to make a contact list for a IM and I want it to look like this (mock up):
I tried custom painting it trough QTreeWidget but that takes a lot of code and CPU when redrawing. I'm sure there's some easy way to do it, I mean - it's Qt.
Bookmarks