List View Groups With Qt?

We have ListView.Groups in .NET. Is there an equivalent in Qt (without using the Windows API)?

I cannot find anything that indicates support for this in the documentation for Qt.

Example in Windows Vista / 7: http://i50.tinypic.com/zumgyg.jpg

Thanks in advance!

+5
source share
1 answer

It seems like it's very easy to do with the Qt model-view .

This is a bit confusing at first, but basically all lists, ctrls trees and grids are handled the same way - which makes it very easy to create interesting combinations.

: Casey , . :

. "" , , , ItemDelegate setItemDelegate 1. , , - . , , .

http://doc.trolltech.com/4.6/qabstractitemview.html#setItemDelegate

+3

All Articles